This chapter defines the Block I/O protocol. This protocol is used to abstract mass storage devices
to allow code running in the EFI boot services environment to access them without specific
knowledge of the type of device or controller that manages the device. Functions are defined to
read and write data at a block level from mass storage devices as well as to manage such devices in
the EFI boot services environment.
8.1
BLOCK_IO Protocol
Summary
This protocol provides control over block devices.
GUID
#define BLOCK_IO_PROTOCOL
{ 964e5b21-6459-11d2-8e39-00a0c969723b }
Revision Number
#define EFI_BLOCK_IO_INTERFACE_REVISION
Protocol Interface Structure
typedef struct _EFI_BLOCK_IO {
UINT64
EFI_BLOCK_IO_MEDIA
EFI_BLOCK_RESET
EFI_BLOCK_READ
EFI_BLOCK_WRITE
EFI_BLOCK_FLUSH
} EFI_BLOCK_IO;
Version 1.02
Block I/O Protocol
\
0x00010000
Revision;
*Media;
Reset;
ReadBlocks;
WriteBlocks;
FlushBlocks;
12/12/00
8
173
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?