public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Praveen Sankar N via groups.io" <praveensankarn=ami.com@groups.io>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "gaoliming@byosoft.com.cn" <gaoliming@byosoft.com.cn>,
	Srinivasan Mani <srinivasanm@ami.com>,
	Sundaresan S <sundaresans@ami.com>,
	"michael.d.kinney@intel.com" <michael.d.kinney@intel.com>,
	"zhiguang.liu@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: Thu, 2 May 2024 11:15:45 +0000	[thread overview]
Message-ID: <20240502111543.489-1-praveensankarn@ami.com> (raw)

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 (#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]
-=-=-=-=-=-=-=-=-=-=-=-



             reply	other threads:[~2024-05-08 16:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02 11:15 Praveen Sankar N via groups.io [this message]
2024-05-06  2:23 ` [edk2-devel] 回复: [PATCH v4 1/1] MdePkg: Added new SPCR table Revision 4 structure gaoliming via groups.io
2024-05-09  6:33   ` 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=20240502111543.489-1-praveensankarn@ami.com \
    --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