diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-21 07:16:27 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-21 07:16:27 +0000 |
commit | a6508c051b680c94e8823070c655a857487e862e (patch) | |
tree | 08c2d9108cc6fb22c59c0015da8fd3dcd2e0a557 /MdePkg/Include/Protocol/SerialIo.h | |
parent | 53f2d96e2e17ec78b040729127456ad9c65ac5c6 (diff) | |
download | edk2-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/SerialIo.h')
-rw-r--r-- | MdePkg/Include/Protocol/SerialIo.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/MdePkg/Include/Protocol/SerialIo.h b/MdePkg/Include/Protocol/SerialIo.h index 89a73409d9..d7458e0eaa 100644 --- a/MdePkg/Include/Protocol/SerialIo.h +++ b/MdePkg/Include/Protocol/SerialIo.h @@ -25,8 +25,19 @@ 0xBB25CF6F, 0xF1D4, 0x11D2, {0x9A, 0x0C, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0xFD } \
}
+//
+// Protocol GUID defined in EFI1.1.
+//
+#define SERIAL_IO_PROTOCOL EFI_SERIAL_IO_PROTOCOL_GUID
+
typedef struct _EFI_SERIAL_IO_PROTOCOL EFI_SERIAL_IO_PROTOCOL;
+
+//
+// Backward-compatible with EFI1.1.
+//
+typedef EFI_SERIAL_IO_PROTOCOL SERIAL_IO_INTERFACE;
+
//
// Serial IO Data structures
//
@@ -246,8 +257,8 @@ typedef struct { UINT32 StopBits;
} EFI_SERIAL_IO_MODE;
-#define SERIAL_IO_INTERFACE_REVISION 0x00010000
-#define EFI_SERIAL_IO_PROTOCOL_REVISION SERIAL_IO_INTERFACE_REVISION
+#define EFI_SERIAL_IO_PROTOCOL_REVISION 0x00010000
+#define SERIAL_IO_INTERFACE_REVISION EFI_SERIAL_IO_PROTOCOL_REVISION
struct _EFI_SERIAL_IO_PROTOCOL {
UINT32 Revision;
|