]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DiskIo.h
add a error macro to prevent this file from included for now #error "UEFI 2.1 HII...
[mirror_edk2.git] / MdePkg / Include / Protocol / DiskIo.h
index e36792c7cd8b5b117c2d9a1d42f1b3400961808f..0bf53cbb3d439d7db6bebd480a1e03bdab09cb7c 100644 (file)
@@ -14,8 +14,6 @@
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
-  Module Name:  DiskIo.h\r
-\r
 **/\r
 \r
 #ifndef __DISK_IO_H__\r
     0xce345171, 0xba0b, 0x11d2, {0x8e, 0x4f, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \\r
   }\r
 \r
+//\r
+// Protocol GUID name defined in EFI1.1.\r
+// \r
+#define DISK_IO_PROTOCOL  EFI_DISK_IO_PROTOCOL_GUID\r
+\r
 typedef struct _EFI_DISK_IO_PROTOCOL EFI_DISK_IO_PROTOCOL;\r
 \r
+//\r
+// Protocol defined in EFI1.1.\r
+// \r
+typedef EFI_DISK_IO_PROTOCOL  EFI_DISK_IO;\r
+\r
 /**\r
   Read BufferSize bytes from Offset into Buffer.\r
 \r
@@ -87,6 +95,11 @@ EFI_STATUS
 \r
 #define EFI_DISK_IO_PROTOCOL_REVISION 0x00010000\r
 \r
+//\r
+// Revision defined in EFI1.1\r
+// \r
+#define EFI_DISK_IO_INTERFACE_REVISION  EFI_DISK_IO_PROTOCOL_REVISION\r
+\r
 struct _EFI_DISK_IO_PROTOCOL {\r
   UINT64          Revision;\r
   EFI_DISK_READ   ReadDisk;\r