From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 73ACA7803D1 for ; Wed, 8 May 2024 16:32:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=aKUJZbUU0JB7XTcREFu3G0fXNG95gvGn4e5vhlTHpBA=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1715185956; v=1; b=4kVENfsWCEMW7FeB+0gSzayB6HiqRVMzr4kkE5b3uPuQ/HiitXSDVxOee/DTgcNeYTkT7t07 a1S5zq/Oys8oSXMwTi1fpGlewSNhO7oK+PPJQTQQB2xPH3emuOUq02g8Cof5zLGLDiPLOZNRz4D x/PchJpqXCZNAsJGrK9N/sfzSlLfz83iY3kx2JEhnmfH1/mkTQ8XtxfNJbHbW0zFjM4RRhhihh1 5WjFJMaFy3s9Xr2eUAfszvVENmoQOx1GUWU47GDBOSvTDR17zRDRMhOIiGG6LYYt83Ol8NqEqF/ ZvnAOgXtpNufH5GLDXoNGkI+zSLGlfDhknW0fytfmRNLQ== X-Received: by 127.0.0.2 with SMTP id 3XzHYY7687511x1PkI8MusY0; Wed, 08 May 2024 09:32:36 -0700 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.97]) by mx.groups.io with SMTP id smtpd.web10.2689.1714648550836086710 for ; Thu, 02 May 2024 04:15:51 -0700 X-Received: from PH8PR10MB6316.namprd10.prod.outlook.com (2603:10b6:510:1cf::8) by PH7PR10MB6132.namprd10.prod.outlook.com (2603:10b6:510:1f4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.35; Thu, 2 May 2024 11:15:45 +0000 X-Received: from PH8PR10MB6316.namprd10.prod.outlook.com ([fe80::18ac:d341:d111:a1ef]) by PH8PR10MB6316.namprd10.prod.outlook.com ([fe80::18ac:d341:d111:a1ef%6]) with mapi id 15.20.7544.029; Thu, 2 May 2024 11:15:45 +0000 From: "Praveen Sankar N via groups.io" To: "devel@edk2.groups.io" CC: "gaoliming@byosoft.com.cn" , Srinivasan Mani , Sundaresan S , "michael.d.kinney@intel.com" , "zhiguang.liu@intel.com" , Felix Polyudov , Rabisha R Subject: [edk2-devel] [PATCH v4 1/1] MdePkg: Added new SPCR table Revision 4 structure Thread-Topic: [PATCH v4 1/1] MdePkg: Added new SPCR table Revision 4 structure Thread-Index: AQHanIIUpsYsjt51b0+sFvEYMN5lGw== Date: Thu, 2 May 2024 11:15:45 +0000 Message-ID: <20240502111543.489-1-praveensankarn@ami.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH8PR10MB6316:EE_|PH7PR10MB6132:EE_ x-ms-office365-filtering-correlation-id: a3f87731-11cc-4d7a-e885-08dc6a99368d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?iso-8859-1?Q?SEuwJEn1tm0yF2ZbjdRQXqojmE9vv5faNXS5/lPwfvb5p+SPx5tGgLnpg0?= =?iso-8859-1?Q?kprNVXcLcsdO8+xwpJJYBYBnRsB56GVy3C6oWN3oXERH9DMQIxf3ZBu6+7?= =?iso-8859-1?Q?o18kvmAvvufUA2zyU9mFbE2UUednCBAcHVSyM68mlNxO8s09ukFnFSRaGg?= =?iso-8859-1?Q?3R7TfVJHvBatwZLaQHiCgb3Lf2bAmC3E4/z4oJEFSC91S+PTT49Kxogo3h?= =?iso-8859-1?Q?UxVQz/r8VlgJ09QTAeeYIJy77gEV7gbqT86YPcuKf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uupAl8Y6dARFmrRFFsKEJ2kCwrri0iDEDHS8EOwmiGW8X9?= =?iso-8859-1?Q?haaoedUvi4jJNVtSxgiFNTrF/ovpp0D764vxVD0fqSnyMfC/sv4WbMhnuy?= =?iso-8859-1?Q?1Oj/Hv1RZ/Q71xTT3zXw/DtPIkIVCRBz1zLmcOvBGg9LKgOpo/h2TL4XcR?= =?iso-8859-1?Q?DrzrTCww8oFZAJHyBI8KMWBZEnkmpfubbiwBoRw+BpZ58nRf5QSQIay67+?= =?iso-8859-1?Q?xOwBaaeqSB570qNW4CqyvfSkRtptqDHw=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?bQ700xYfgW7Jw3kSTJNRINkqOD7I+vyy3MEXdpUUlOWqDpwhEHhV37zHvO?= =?iso-8859-1?Q?Y/xmsA5i84o+PGX0r5VOcCDeHdsYSSBIh76ywVGIDM1LNSTw7aEIzvcKmP?= =?iso-8859-1?Q?3+hzeovjUhMrzWRlBCyeOl9hgSG2TfN/U38zwY75PNwLmWY9wz0nYICLk+?= =?iso-8859-1?Q?yHhKvFXOIF3c/s+N42KRIcZyMgje7QKPqJdMyN27tbuw55KHCJcGHY/Cbx?= =?iso-8859-1?Q?wQD9ZaPnn/U4w0+7PK2PWGk7AqTaUgP/4HhWmZGJCqI3ZzMcDA/QAT7eit?= =?iso-8859-1?Q?PEYEqsIaGhD4aNxDap/jDYxZzhxoMoNyfhRVxXYMn8Md1WRXdaW82psKJ6?= =?iso-8859-1?Q?6J0f8Id0ps60fmD41bJ5rCk2O8Q+9p/XG+jFLW5kbZhbebQNYUSjQ/7Bd8?= =?iso-8859-1?Q?5R0sAJpdgQhDgLDz1dSS9RnwR2zQ+JRPAVrR0r9oeELl3zn0oX42Qtvwrr?= =?iso-8859-1?Q?muGRdmF4kHMFz9HW+z2UDIEIS2it1WlVyqeoB+gUMt18dL1qm5bDKGfAGT?= =?iso-8859-1?Q?sG/Xjwy5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E5?= =?iso-8859-1?Q?UOXXa466DzD3oohmGGC3pBpNUZ60ErRjS5uuG+ltvu6WGXeay2p3ko1fQ9?= =?iso-8859-1?Q?LMp9qPaXwZmVQps8zQRM8P+x4n1f7lev9DzBizg1cInMFmDJLW6VUz07N6?= =?iso-8859-1?Q?MF/eOqKqUCkTjYHVDUE+Y8EWBoNaczb4BeEbPk4OCuLpNdRwFYnVOpoYDM?= =?iso-8859-1?Q?2+O+GUt6rEbQAb4QOYWpn7UxWtlvA9U1Lfnl8oZljXMpLtojKRr0UckQ?= =?iso-8859-1?Q?=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: ami.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH8PR10MB6316.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a3f87731-11cc-4d7a-e885-08dc6a99368d X-MS-Exchange-CrossTenant-originalarrivaltime: 02 May 2024 11:15:45.7496 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 27e97857-e15f-486c-b58e-86c2b3040f93 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mgiAti08kYS2bKS08I4NDkkcUL8y+f4YpZePtISJehZv2Ehik1CzZgmknC1QgNbikUpYRnC8/r3AIjhbj15ixw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6132 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 08 May 2024 09:32:31 -0700 Resent-From: praveensankarn@ami.com Reply-To: devel@edk2.groups.io,praveensankarn@ami.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: wiVCaPRn9VeANqAkc15vfxvLx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=4kVENfsW; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io In SPCR table, 4 structure members have been added newly as per SPCR table Revision 4, which has to be added in MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h. Signed-off-by: Praveen Sankar N praveensankarn@ami.com Cc: michael.d.kinney@intel.com Cc: gaoliming@byosoft.com.cn Cc: zhiguang.liu@intel.com Cc: Felixp@ami.com Cc: srinivasanm@ami.com Cc: sundaresans@ami.com Cc: rabishar@ami.com --- .../SerialPortConsoleRedirectionTable.h | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTa= ble.h b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h index eb5ae28390..bf967880ab 100644 --- a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h +++ b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h @@ -23,6 +23,7 @@ /// #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION 0x02 +#define EFI_ACPI_4_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION 0x04 /// /// Serial Port Console Redirection Table Format /// @@ -50,6 +51,37 @@ typedef struct { UINT32 Reserved3; } EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE; +/// +/// Serial Port Console Redirection Table Format Revision 4 +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT8 InterfaceType; + UINT8 Reserved1[3]; + EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE BaseAddress; + UINT8 InterruptType; + UINT8 Irq; + UINT32 GlobalSystemInterrupt; + UINT8 BaudRate; + UINT8 Parity; + UINT8 StopBits; + UINT8 FlowControl; + UINT8 TerminalType; + UINT8 Reserved2; + UINT16 PciDeviceId; + UINT16 PciVendorId; + UINT8 PciBusNumber; + UINT8 PciDeviceNumber; + UINT8 PciFunctionNumber; + UINT32 PciFlags; + UINT8 PciSegment; + UINT32 UartClockFrequency; + UINT32 PreciseBaudRate; + UINT16 NameSpaceStrLength; + UINT16 NameSpaceStrOffset; + CHAR8 NameSpaceString[0]; +} EFI_ACPI_4_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE; + #pragma pack() // -- 2.38.1.windows.1 -The information contained in this message may be confidential and propriet= ary 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 desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. 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= . -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118695): https://edk2.groups.io/g/devel/message/118695 Mute This Topic: https://groups.io/mt/105984701/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-