21#define EFI_BLOCK_IO_PROTOCOL_GUID \
23 0x964e5b21, 0x6459, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
31#define BLOCK_IO_PROTOCOL EFI_BLOCK_IO_PROTOCOL_GUID
208#define EFI_BLOCK_IO_PROTOCOL_REVISION 0x00010000
209#define EFI_BLOCK_IO_PROTOCOL_REVISION2 0x00020001
210#define EFI_BLOCK_IO_PROTOCOL_REVISION3 0x00020031
215#define EFI_BLOCK_IO_INTERFACE_REVISION EFI_BLOCK_IO_PROTOCOL_REVISION
EFI_STATUS(EFIAPI * EFI_BLOCK_RESET)(IN EFI_BLOCK_IO_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
EFI_BLOCK_IO_PROTOCOL EFI_BLOCK_IO
EFI_STATUS(EFIAPI * EFI_BLOCK_READ)(IN EFI_BLOCK_IO_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA Lba, IN UINTN BufferSize, OUT VOID *Buffer)
EFI_GUID gEfiBlockIoProtocolGuid
EFI_STATUS(EFIAPI * EFI_BLOCK_WRITE)(IN EFI_BLOCK_IO_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA Lba, IN UINTN BufferSize, IN VOID *Buffer)
EFI_STATUS(EFIAPI * EFI_BLOCK_FLUSH)(IN EFI_BLOCK_IO_PROTOCOL *This)
unsigned long long UINT64
EFI_BLOCK_IO_MEDIA * Media
EFI_BLOCK_READ ReadBlocks
EFI_BLOCK_WRITE WriteBlocks
EFI_BLOCK_FLUSH FlushBlocks