summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol/BlockIo.h
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-21 07:16:27 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-21 07:16:27 +0000
commita6508c051b680c94e8823070c655a857487e862e (patch)
tree08c2d9108cc6fb22c59c0015da8fd3dcd2e0a557 /MdePkg/Include/Protocol/BlockIo.h
parent53f2d96e2e17ec78b040729127456ad9c65ac5c6 (diff)
downloadedk2-a6508c051b680c94e8823070c655a857487e862e.tar.gz
edk2-a6508c051b680c94e8823070c655a857487e862e.tar.bz2
edk2-a6508c051b680c94e8823070c655a857487e862e.zip
Update Protocol for backward-compatible with EFI1.1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2696 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/BlockIo.h')
-rw-r--r--MdePkg/Include/Protocol/BlockIo.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/MdePkg/Include/Protocol/BlockIo.h b/MdePkg/Include/Protocol/BlockIo.h
index 4c7e8b4270..a3077b5eca 100644
--- a/MdePkg/Include/Protocol/BlockIo.h
+++ b/MdePkg/Include/Protocol/BlockIo.h
@@ -25,10 +25,17 @@
0x964e5b21, 0x6459, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
}
+typedef struct _EFI_BLOCK_IO_PROTOCOL EFI_BLOCK_IO_PROTOCOL;
+
//
-// Forward reference for pure ANSI compatability
+// Protocol GUID name defined in EFI1.1.
+//
+#define BLOCK_IO_PROTOCOL EFI_BLOCK_IO_PROTOCOL_GUID
+
//
-typedef struct _EFI_BLOCK_IO_PROTOCOL EFI_BLOCK_IO_PROTOCOL;
+// Protocol defined in EFI1.1.
+//
+typedef EFI_BLOCK_IO_PROTOCOL EFI_BLOCK_IO;
/**
Reset the Block Device.
@@ -155,6 +162,10 @@ typedef struct {
} EFI_BLOCK_IO_MEDIA;
#define EFI_BLOCK_IO_PROTOCOL_REVISION 0x00010000
+//
+// Revision defined in EFI1.1.
+//
+#define EFI_BLOCK_IO_INTERFACE_REVISION EFI_BLOCK_IO_PROTOCOL_REVISION
struct _EFI_BLOCK_IO_PROTOCOL {
UINT64 Revision;