]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/BlockIo.h
Clean up: update "EFI" to "UEFI" if applicable.
[mirror_edk2.git] / MdePkg / Include / Protocol / BlockIo.h
index 4c7e8b42704accbef43b8518703a013d18701500..2654976aa6acdc5fd0e59387dcd5b6520d0da071 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Block IO protocol as defined in the EFI 1.0 specification.\r
+  Block IO protocol as defined in the UEFI 2.0 specification.\r
 \r
   The Block IO protocol is used to abstract block devices like hard drives,\r
   DVD-ROMs and floppy drives.\r
@@ -13,8 +13,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:  BlockIo.h\r
-\r
 **/\r
 \r
 #ifndef __BLOCK_IO_H__\r
     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 +160,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