summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorOleksiy Yakovlev <oleksiyy@ami.com>2020-07-02 03:35:39 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-03 01:43:50 +0000
commitf43a14e3cff3fa45c30ff152c4172204a4458341 (patch)
tree6c59b12a4ef16ceaf76f6272ceca50f692c3b544 /MdePkg
parentf56d52c7f581da4bb732ab6b456718ae59d39efa (diff)
downloadedk2-f43a14e3cff3fa45c30ff152c4172204a4458341.tar.gz
edk2-f43a14e3cff3fa45c30ff152c4172204a4458341.tar.bz2
edk2-f43a14e3cff3fa45c30ff152c4172204a4458341.zip
MdePkg: Add Serial Terminal Device Type Guid
Add definition of EFI_SERIAL_TERMINAL_DEVICE_TYPE_GUID. It was miseed in "Extend SERIAL_IO with DeviceTypeGuid" patch. (UEFI 2.8, mantis 1832) Signed-off-by: Oleksiy Yakovlev <oleksiyy@ami.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Protocol/SerialIo.h6
-rw-r--r--MdePkg/MdePkg.dec3
2 files changed, 9 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/SerialIo.h b/MdePkg/Include/Protocol/SerialIo.h
index e2e0c61eeb..16a865bfdc 100644
--- a/MdePkg/Include/Protocol/SerialIo.h
+++ b/MdePkg/Include/Protocol/SerialIo.h
@@ -17,6 +17,11 @@
0xBB25CF6F, 0xF1D4, 0x11D2, {0x9A, 0x0C, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0xFD } \
}
+#define EFI_SERIAL_TERMINAL_DEVICE_TYPE_GUID \
+ { \
+ 0X6AD9A60F, 0X5815, 0X4C7C, { 0X8A, 0X10, 0X50, 0X53, 0XD2, 0XBF, 0X7A, 0X1B } \
+ }
+
///
/// Protocol GUID defined in EFI1.1.
///
@@ -299,5 +304,6 @@ struct _EFI_SERIAL_IO_PROTOCOL {
};
extern EFI_GUID gEfiSerialIoProtocolGuid;
+extern EFI_GUID gEfiSerialTerminalDeviceTypeGuid;
#endif
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index d03fc5b49d..682e61cb88 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -670,6 +670,9 @@
## Include/Guid/RtPropertiesTable.h
gEfiRtPropertiesTableGuid = { 0xeb66918a, 0x7eef, 0x402a, { 0x84, 0x2e, 0x93, 0x1d, 0x21, 0xc3, 0x8a, 0xe9 }}
+ ## Include/Protocol/SerilaIo.h
+ gEfiSerialTerminalDeviceTypeGuid = { 0x6AD9A60F, 0x5815, 0x4C7C, { 0x8A, 0x10, 0x50, 0x53, 0xD2, 0xBF, 0x7A, 0x1B }}
+
#
# GUID defined in PI1.0
#