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.web10.940.1589316520183778511 for ; Tue, 12 May 2020 13:48:40 -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-05fff70000001b62-48-5ebb0ba61771 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 55.62.07010.6AB0BBE5; Tue, 12 May 2020 16:48:38 -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; Tue, 12 May 2020 16:47:58 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH v6 1/7] MdePkg: Extend SERIAL_IO with DeviceTypeGuid Date: Tue, 12 May 2020 16:47:50 -0400 Message-ID: <20200512204756.25980-2-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200512204756.25980-1-oleksiyy@ami.com> References: <20200512204756.25980-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsWyRiBhgu4y7t1xBtNnGFn8OjqPzaJ9wmw2 ixX3NrBbdHT8Y3Jg8dj+/QKjx+I9L5kCmKIaGG0S8/LySxJLUhVSUouTbZUCijLLEpMrlRQy U2yVDJUUCnISk1NzU/NKbJUSCwpS81KU7LgUMIANUFlmnkJqXnJ+SmZeuq2SZ7C/roWFqaWu oZJdSEaqQmZeWn5RbmJJZn6eQnJ+XglQdWoKUFQhoZszY/3JPywF87grZsy8ydbAOJOzi5GT Q0LAROLZ161MXYxcHEICu5gkvj7rYoNwtjBKrG39zQJSxSagKXHg2BRGEFtEQEpiyoGZTCA2 s0CFxNOVT8BqhAVcJM4d28wMYrMIqEo8+fkfrIZXwFTi8Pwf7BDbNCSmrbkLFucUMJP4vGMH K4gtBFTz4cN7Noh6QYmTMyFmMgtISBx88YIZokZWou34c/YJjPyzkJTNQlK2gJFpFaNQYklO bmJmTnq5kV5ibqZecn7uJkZInOXvYPz40fwQIxMH4yFGCQ5mJRHelsydcUK8KYmVValF+fFF pTmpxYcYnYAemMgsxQ0KQWCUxBsbGEiJwjiGJmYm5kbmhpYm5sbGSuK8k9auiRMSSAdGbXZq akFqEcwQJg5OqQbGhs9C+7wfTcwwz1Cw2f72WvfHuJcp4belxOefkQ6/o62u9YiXcfayxRLP 3KQrq67xREnNMbSbtfJC+Zkeb7vZiY9/LL+m8EVSveq+Vn/BtWk7Zk4KY+RWYb8VH9rhLZmi qXJIVezK+1V8pdYOUr8UL9k52TmuXrX578OdTTLXt69832LGLy2gxFKckWioxVxUnAgAnp2W fcgCAAA= 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 --- 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.