From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web11.52046.1622510828132322109 for ; Mon, 31 May 2021 18:27:08 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Tue, 01 Jun 2021 09:27:03 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , , Cc: , , , , "'Sunny Wang'" , , References: <20210523091512.2348586-1-mw@semihalf.com> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMV0gTWRlUGtnOiBBZGQgbmV3IDE2NTUwLWNvbXBhdGlibGUgU2VyaWFsIFBvcnQgU3VidHlwZXMgdG8gREJHMg==?= Date: Tue, 1 Jun 2021 09:27:02 +0800 Message-ID: <00d901d75685$39c96ce0$ad5c46a0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQG85lWZDpMN/LmYbKzc9f+bKZimpQEO3OxqqyrG3XA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA= =B1=ED Samer > El-Haj-Mahmoud > =B7=A2=CB=CD=CA=B1=BC=E4: 2021=C4=EA5=D4=C224=C8=D5 18:58 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; mw@semihalf.com > =B3=AD=CB=CD: liming.gao@intel.com; michael.d.kinney@intel.com; leif@nuv= iainc.com; > ardb+tianocore@kernel.org; Sunny Wang ; > gjb@semihalf.com; upstream@semihalf.com; Samer El-Haj-Mahmoud > > =D6=F7=CC=E2: Re: [edk2-devel] [PATCH 1/1] MdePkg: Add new 16550-compati= ble > Serial Port Subtypes to DBG2 >=20 > Reviewed-by: Samer El-Haj-Mahmoud >=20 >=20 > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of Marcin > > Wojtas via groups.io > > Sent: Sunday, May 23, 2021 5:15 AM > > To: devel@edk2.groups.io > > Cc: liming.gao@intel.com; michael.d.kinney@intel.com; leif@nuviainc.co= m; > > ardb+tianocore@kernel.org; Samer El-Haj-Mahmoud > Mahmoud@arm.com>; Sunny Wang ; > > gjb@semihalf.com; upstream@semihalf.com; Marcin Wojtas > > > > Subject: [edk2-devel] [PATCH 1/1] MdePkg: Add new 16550-compatible > > Serial Port Subtypes to DBG2 > > > > The Microsoft Debug Port Table 2 (DBG2) specification revision > > May 31, 2017 adds support for 16550-compatible Serial Port > > Subtype with parameters defined in Generic Address Structure (GAS) [1] > > > > Reflect that in the EDK2 headers. > > > > [1] https://docs.microsoft.com/en-us/windows- > > hardware/drivers/bringup/acpi-debug-port-table > > > > Signed-off-by: Marcin Wojtas > > --- > > MdePkg/Include/IndustryStandard/DebugPort2Table.h > | 1 + > > MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h | > 5 > > +++++ > > 2 files changed, 6 insertions(+) > > > > diff --git a/MdePkg/Include/IndustryStandard/DebugPort2Table.h > > b/MdePkg/Include/IndustryStandard/DebugPort2Table.h > > index 3faa30b76a..9ccfc1b1ee 100644 > > --- a/MdePkg/Include/IndustryStandard/DebugPort2Table.h > > +++ b/MdePkg/Include/IndustryStandard/DebugPort2Table.h > > @@ -47,6 +47,7 @@ typedef struct { > > #define > > EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART > > 0x000e > > > > #define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_DCC > > 0x000f > > > > #define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_BCM2835_UART > > 0x0010 > > > > +#define EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_16550_WITH_GAS > > 0x0012 > > > > #define EFI_ACPI_DBG2_PORT_TYPE_1394 > 0x8001 > > > > #define EFI_ACPI_DBG2_PORT_SUBTYPE_1394_STANDARD > > 0x0000 > > > > #define EFI_ACPI_DBG2_PORT_TYPE_USB > 0x8002 > > > > diff --git > > a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h > > b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h > > index 2066c7895e..7796796afe 100644 > > --- > > a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h > > +++ > > b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h > > @@ -100,6 +100,11 @@ typedef struct { > > /// > > > > #define > > > EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_ > > BCM2835_UART 0x10 > > > > > > > > +/// > > > > +/// 16550-compatible with parameters defined in Generic Address > Structure > > > > +/// > > > > +#define > > > EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_ > > 16550_WITH_GAS 0x12 > > > > + > > > > // > > > > // Interrupt Type > > > > // > > > > -- > > 2.29.0 > > > > > > > > -=3D-=3D-=3D-=3D-=3D-=3D > > Groups.io Links: You receive all messages sent to this group. > > View/Reply Online (#75464): > https://edk2.groups.io/g/devel/message/75464 > > Mute This Topic: https://groups.io/mt/83024903/1945644 > > Group Owner: devel+owner@edk2.groups.io > > Unsubscribe: https://edk2.groups.io/g/devel/unsub [samer.el-haj- > > mahmoud@arm.com] > > -=3D-=3D-=3D-=3D-=3D-=3D > > >=20 > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended recipient, > please notify the sender immediately and do not disclose the contents to any > other person, use it for any purpose, or store or copy the information i= n any > medium. Thank you. >=20 >=20 >=20 >=20 >=20