From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atlmailgw2.ami.com (atlmailgw2.ami.com [63.147.10.42]) by mx.groups.io with SMTP id smtpd.web12.3069.1589399614869206417 for ; Wed, 13 May 2020 12:53:35 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: ami.com, ip: 63.147.10.42, mailfrom: oleksiyy@ami.com) X-AuditID: ac10606f-049ff70000001b62-5f-5ebc503c8628 Received: from atlms1.us.megatrends.com (atlms1.us.megatrends.com [172.16.96.144]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by atlmailgw2.ami.com (Symantec Messaging Gateway) with SMTP id F4.14.07010.D305CBE5; Wed, 13 May 2020 15:53:33 -0400 (EDT) Received: from Oleksiy77.us.megatrends.com (172.16.97.158) by atlms1.us.megatrends.com (172.16.96.144) with Microsoft SMTP Server id 14.3.468.0; Wed, 13 May 2020 15:52:50 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH v7 1/7] MdePkg: Extend SERIAL_IO with DeviceTypeGuid Date: Wed, 13 May 2020 15:52:42 -0400 Message-ID: <20200513195248.50296-2-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200513195248.50296-1-oleksiyy@ami.com> References: <20200513195248.50296-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsWyRiBhgq5twJ44g1nT5Cx+HZ3HZtE+YTab xYp7G9gtOjr+MTmweGz/foHRY/Gel0wBTFENjDaJeXn5JYklqQopqcXJtkoBRZllicmVSgqZ KbZKhkoKBTmJyam5qXkltkqJBQWpeSlKdlwKGMAGqCwzTyE1Lzk/JTMv3VbJM9hf18LC1FLX UMkuJCNVITMvLb8oN7EkMz9PITk/rwSoOjUFKKqQ0M2Z8fvsW5aCC9wVNyY1sDQwHuHsYuTk kBAwkZjWv4ali5GLQ0hgF5PE2vkHoJwtjBK/W3tZQarYBDQlDhybwghiiwhISUw5MJMJxGYW qJB4uvIJC4gtLOAisf3EDrB6FgFViekzpjCD2LwCphJnv7xghNimITFtzV2wXk4BM4mv916B 1QgB1Ty/MJcFol5Q4uRMiJnMAhISB1+8gKqRlWg7/px9AiP/LCRls5CULWBkWsUolFiSk5uY mZNebqSXmJupl5yfu4kREmf5Oxg/fjQ/xMjEwXiIUYKDWUmE12/97jgh3pTEyqrUovz4otKc 1OJDjE5AD0xkluIGhSAwSuKNDQykRGEcQxMzE3Mjc0NLE3NjYyVx3klr18QJCaQDozY7NbUg tQhmCBMHp1QDY+4G/qqHq2tVK51FP3mbz1k+0Y9fb3fR1BXmLumdTRdv5Z7Yn39Akd16qn3m C7ZSK+mXfw78UV300s5E50MVo+ykFf8PrNtRWf3s3H7jFq9SnfkbFu5nSX2fl86qMbFGmU1L 2fx3p9i+Gt+JKy6oLo5pZpBNP+9TUqxke//mGVVOzqb26ZyFSizFGYmGWsxFxYkAW8DbVsgC AAA= Content-Type: text/plain EFI_SERIAL_IO_PROTOCOL_REVISION incremented to 0x00010001. CONST EFI_GUID *DeviceTypeGuid field added to the protocol structure. UEFI 2.8 mantis 1832. Signed-off-by: Oleksiy Yakovlev Reviewed-by: Liming Gao --- MdePkg/Include/Protocol/SerialIo.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MdePkg/Include/Protocol/SerialIo.h b/MdePkg/Include/Protocol/SerialIo.h index 51eaa53..e2e0c61 100644 --- a/MdePkg/Include/Protocol/SerialIo.h +++ b/MdePkg/Include/Protocol/SerialIo.h @@ -263,6 +263,7 @@ typedef struct { } EFI_SERIAL_IO_MODE; #define EFI_SERIAL_IO_PROTOCOL_REVISION 0x00010000 +#define EFI_SERIAL_IO_PROTOCOL_REVISION1p1 0x00010001 #define SERIAL_IO_INTERFACE_REVISION EFI_SERIAL_IO_PROTOCOL_REVISION /// @@ -287,6 +288,14 @@ struct _EFI_SERIAL_IO_PROTOCOL { /// Pointer to SERIAL_IO_MODE data. /// EFI_SERIAL_IO_MODE *Mode; + /// + /// Pointer to a GUID identifying the device connected to the serial port. + /// This field is NULL when the protocol is installed by the serial port + /// driver and may be populated by a platform driver for a serial port + /// with a known device attached. The field will remain NULL if there is + /// no platform serial device identification information available. + /// + CONST EFI_GUID *DeviceTypeGuid; // Revision 1.1 }; extern EFI_GUID gEfiSerialIoProtocolGuid; -- 2.9.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.