Version 1.02 12/12/00 183
9Disk I/O Protocol
This chapter defines the Disk I/O protocol. This protocol is used to abstract the block accesses of
the Block I/O protocol to a more general offset-length protocol. The firmware is responsible for
adding this protocol to any Block I/O interface that appears in the system that does not already have
a Disk I/O protocol. File systems and other disk access code utilize the Disk I/O protocol.

9.1 DISK_IO Protocol

Summary
This protocol is used to abstract Block I/O interfaces.
GUID
#define DISK_IO_PROTOCOL \
{ CE345171-BA0B-11d2-8e4F-00a0c969723b }
Revision Number
#define EFI_DISK_IO_INTERFACE_REVISION 0x00010000
Protocol Interface Structure
typedef struct _EFI_DISK_IO {
UINT64 Revision;
EFI_DISK_READ ReadDisk;
EFI_DISK_WRITE WriteDisk;
} EFI_DISK_IO;
Parameters
Revision The revision to which the disk I/O interface adheres. All future
revisions must be backwards compatible. If a future version is
not backwards compatible, it is not the same GUID.
ReadDisk Reads data from the disk. See Section 9.1.1.
WriteDisk Writes data to the disk. See Section 9.1.2.