5 disk_io protocol, Disk_io protocol, Disk_io – Intel Extensible Firmware Interface User Manual
Page 397: Disk i/oprotocol, On a

Protocols
— Bootable Image Support
Version 1.10
12/01/02
11-37
11.5 DISK_IO Protocol
This section 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.
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 the
function
description.
WriteDisk
Writes data to the disk. See the
function
description.