]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SerialIo.h
MdePkg: Extend SERIAL_IO with DeviceTypeGuid
[mirror_edk2.git] / MdePkg / Include / Protocol / SerialIo.h
index 51eaa53809590262385a5ae227d16be968d0fd5a..e2e0c61eeb0a9b4b7efc4dfbe4877d98f826756b 100644 (file)
@@ -263,6 +263,7 @@ typedef struct {
 } EFI_SERIAL_IO_MODE;\r
 \r
 #define EFI_SERIAL_IO_PROTOCOL_REVISION    0x00010000\r
+#define EFI_SERIAL_IO_PROTOCOL_REVISION1p1 0x00010001\r
 #define SERIAL_IO_INTERFACE_REVISION  EFI_SERIAL_IO_PROTOCOL_REVISION\r
 \r
 ///\r
@@ -287,6 +288,14 @@ struct _EFI_SERIAL_IO_PROTOCOL {
   /// Pointer to SERIAL_IO_MODE data.\r
   ///\r
   EFI_SERIAL_IO_MODE          *Mode;\r
+  ///\r
+  /// Pointer to a GUID identifying the device connected to the serial port.\r
+  /// This field is NULL when the protocol is installed by the serial port\r
+  /// driver and may be populated by a platform driver for a serial port\r
+  /// with a known device attached. The field will remain NULL if there is\r
+  /// no platform serial device identification information available.\r
+  ///\r
+  CONST EFI_GUID              *DeviceTypeGuid; // Revision 1.1\r
 };\r
 \r
 extern EFI_GUID gEfiSerialIoProtocolGuid;\r