]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/BlockIo.h
Update Protocol for backward-compatible with EFI1.1.
[mirror_edk2.git] / MdePkg / Include / Protocol / BlockIo.h
index 4c7e8b42704accbef43b8518703a013d18701500..a3077b5ecab3c77c49343d2c6abd7db9cbfc548b 100644 (file)
     0x964e5b21, 0x6459, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \\r
   }\r
 \r
+typedef struct _EFI_BLOCK_IO_PROTOCOL  EFI_BLOCK_IO_PROTOCOL;\r
+\r
 //\r
-// Forward reference for pure ANSI compatability\r
+// Protocol GUID name defined in EFI1.1.\r
+// \r
+#define BLOCK_IO_PROTOCOL       EFI_BLOCK_IO_PROTOCOL_GUID\r
+\r
 //\r
-typedef struct _EFI_BLOCK_IO_PROTOCOL  EFI_BLOCK_IO_PROTOCOL;\r
+// Protocol defined in EFI1.1.\r
+// \r
+typedef EFI_BLOCK_IO_PROTOCOL   EFI_BLOCK_IO;\r
 \r
 /**\r
   Reset the Block Device.\r
@@ -155,6 +162,10 @@ typedef struct {
 } EFI_BLOCK_IO_MEDIA;\r
 \r
 #define EFI_BLOCK_IO_PROTOCOL_REVISION  0x00010000\r
+//\r
+// Revision defined in EFI1.1.\r
+// \r
+#define EFI_BLOCK_IO_INTERFACE_REVISION   EFI_BLOCK_IO_PROTOCOL_REVISION\r
 \r
 struct _EFI_BLOCK_IO_PROTOCOL {\r
   UINT64              Revision;\r