18 #define EFI_DISK_IO_PROTOCOL_GUID \ 20 0xce345171, 0xba0b, 0x11d2, {0x8e, 0x4f, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \ 26 #define DISK_IO_PROTOCOL EFI_DISK_IO_PROTOCOL_GUID 90 #define EFI_DISK_IO_PROTOCOL_REVISION 0x00010000 95 #define EFI_DISK_IO_INTERFACE_REVISION EFI_DISK_IO_PROTOCOL_REVISION 128 bit buffer containing a unique identifier value.
UINT16_t BufferSize
Buffer size.
EFI_STATUS(EFIAPI * EFI_DISK_READ)(IN EFI_DISK_IO_PROTOCOL *This, IN UINT32 MediaId, IN UINT64 Offset, IN UINTN BufferSize, OUT VOID *Buffer)
Read BufferSize bytes from Offset into Buffer.
EFI_STATUS(EFIAPI * EFI_DISK_WRITE)(IN EFI_DISK_IO_PROTOCOL *This, IN UINT32 MediaId, IN UINT64 Offset, IN UINTN BufferSize, IN VOID *Buffer)
Writes a specified number of bytes to a device.
FILE_LICENCE(BSD2_PATENT)
This protocol is used to abstract Block I/O interfaces.
EFI_DISK_IO_PROTOCOL EFI_DISK_IO
Protocol defined in EFI1.1.
EFI_GUID gEfiDiskIoProtocolGuid
SEGOFF16_t Buffer
Buffer address.
UINT64 UINTN
Unsigned value of native width.
#define VOID
Undeclared type.
unsigned long long UINT64
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
UINT64 Revision
The revision to which the disk I/O interface adheres.