diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2019-06-06 14:14:56 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2019-06-14 21:26:28 +0200 |
commit | cf78c9d18a81cb289fe1bfaebf07c164da6c520f (patch) | |
tree | 3e111bf42a5f8e9dc947ca5d5ddc09030eb15a33 /MdeModulePkg/Include/Guid | |
parent | b0663641c977f97bef785c86978603c3a31a3d1c (diff) | |
download | edk2-cf78c9d18a81cb289fe1bfaebf07c164da6c520f.tar.gz |
MdeModulePkg: Introduce EDKII_SERIAL_PORT_LIB_VENDOR_GUID
SERIAL_DXE_FILE_GUID is used in different places, create a single
define that other can use. Also fix SerialDxe to actually use
EDKII_SERIAL_PORT_LIB_VENDOR_GUID in the device path instead of the
FILE_GUID.
Suggested-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Message-Id: <20190606131459.1464-2-anthony.perard@citrix.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'MdeModulePkg/Include/Guid')
-rw-r--r-- | MdeModulePkg/Include/Guid/SerialPortLibVendor.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/MdeModulePkg/Include/Guid/SerialPortLibVendor.h b/MdeModulePkg/Include/Guid/SerialPortLibVendor.h new file mode 100644 index 0000000000..887f96c30a --- /dev/null +++ b/MdeModulePkg/Include/Guid/SerialPortLibVendor.h @@ -0,0 +1,19 @@ +/** @file
+ Define the SerialDxe GUID.
+
+ Copyright (c) 2019, Citrix Systems, Inc.
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+**/
+
+#ifndef __SERIAL_PORT_LIB_VENDOR_H__
+#define __SERIAL_PORT_LIB_VENDOR_H__
+
+#define EDKII_SERIAL_PORT_LIB_VENDOR_GUID { \
+ 0xD3987D4B, 0x971A, 0x435F, \
+ { 0x8C, 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72, 0x41 } \
+ }
+
+extern EFI_GUID gEdkiiSerialPortLibVendorGuid;
+
+#endif // __SERIAL_PORT_LIB_VENDOR_H__
|