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
Protocol Interface Structure
typedef struct _EFI_DISK_IO {
UINT64
EFI_DISK_READ
EFI_DISK_WRITE
} EFI_DISK_IO;
Parameters
Revision
ReadDisk
WriteDisk
Version 1.02
\
Revision;
ReadDisk;
WriteDisk;
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.
Reads data from the disk. See Section 9.1.1.
Writes data to the disk. See Section 9.1.2.
12/12/00
Disk I/O Protocol
0x00010000
9
183
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?