X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FDiskIo.h;h=20b899056a061de115ed2f0f1ae1ed9c9592900e;hp=e36792c7cd8b5b117c2d9a1d42f1b3400961808f;hb=a6508c051b680c94e8823070c655a857487e862e;hpb=53f2d96e2e17ec78b040729127456ad9c65ac5c6 diff --git a/MdePkg/Include/Protocol/DiskIo.h b/MdePkg/Include/Protocol/DiskIo.h index e36792c7cd..20b899056a 100644 --- a/MdePkg/Include/Protocol/DiskIo.h +++ b/MdePkg/Include/Protocol/DiskIo.h @@ -26,8 +26,18 @@ 0xce345171, 0xba0b, 0x11d2, {0x8e, 0x4f, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \ } +// +// Protocol GUID name defined in EFI1.1. +// +#define DISK_IO_PROTOCOL EFI_DISK_IO_PROTOCOL_GUID + typedef struct _EFI_DISK_IO_PROTOCOL EFI_DISK_IO_PROTOCOL; +// +// Protocol defined in EFI1.1. +// +typedef EFI_DISK_IO_PROTOCOL EFI_DISK_IO; + /** Read BufferSize bytes from Offset into Buffer. @@ -87,6 +97,11 @@ EFI_STATUS #define EFI_DISK_IO_PROTOCOL_REVISION 0x00010000 +// +// Revision defined in EFI1.1 +// +#define EFI_DISK_IO_INTERFACE_REVISION EFI_DISK_IO_PROTOCOL_REVISION + struct _EFI_DISK_IO_PROTOCOL { UINT64 Revision; EFI_DISK_READ ReadDisk;