From: "gaoliming via groups.io" <gaoliming=byosoft.com.cn@groups.io>
To: "'Praveen Sankar N'" <praveensankarn@ami.com>, <devel@edk2.groups.io>
Cc: "'Srinivasan Mani'" <srinivasanm@ami.com>,
"'Sundaresan S'" <sundaresans@ami.com>,
<michael.d.kinney@intel.com>, <zhiguang.liu@intel.com>,
"'Felix Polyudov'" <Felixp@ami.com>,
"'Rabisha R'" <rabishar@ami.com>
Subject: [edk2-devel] 回复: [PATCH v4 1/1] MdePkg: Added new SPCR table Revision 4 structure
Date: Mon, 6 May 2024 10:23:17 +0800 [thread overview]
Message-ID: <035301da9f5c$5bc9cb50$135d61f0$@byosoft.com.cn> (raw)
In-Reply-To: <20240502111543.489-1-praveensankarn@ami.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
> -----邮件原件-----
> 发件人: Praveen Sankar N <praveensankarn@ami.com>
> 发送时间: 2024年5月2日 19:16
> 收件人: devel@edk2.groups.io
> 抄送: gaoliming@byosoft.com.cn; Srinivasan Mani <srinivasanm@ami.com>;
> Sundaresan S <sundaresans@ami.com>; michael.d.kinney@intel.com;
> zhiguang.liu@intel.com; Felix Polyudov <Felixp@ami.com>; Rabisha R
> <rabishar@ami.com>
> 主题: [PATCH v4 1/1] MdePkg: Added new SPCR table Revision 4 structure
>
> 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/SerialPortConsoleRedirectionTable.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
> 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=
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#118578): https://edk2.groups.io/g/devel/message/118578
Mute This Topic: https://groups.io/mt/105933234/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2024-05-06 2:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-02 11:15 [edk2-devel] [PATCH v4 1/1] MdePkg: Added new SPCR table Revision 4 structure Praveen Sankar N via groups.io
2024-05-06 2:23 ` gaoliming via groups.io [this message]
2024-05-09 6:33 ` [edk2-devel] 回复: " Praveen Sankar N via groups.io
2024-05-09 6:34 ` Praveen Sankar N via groups.io
2024-05-10 0:46 ` 回复: " gaoliming via groups.io
2024-05-13 4:34 ` Praveen Sankar N via groups.io
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='035301da9f5c$5bc9cb50$135d61f0$@byosoft.com.cn' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox