From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web10.5964.1656464272934755466 for ; Tue, 28 Jun 2022 17:57:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=TxDng9zp; spf=pass (domain: byosoft.com.cn, ip: 101.227.64.242, mailfrom: gaoliming@byosoft.com.cn) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 4B20FCD1F783 for ; Wed, 29 Jun 2022 08:57:50 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1656464270; bh=pXs1HtCDoLjSa8AcDMfXwGQN+8wyL7zMcVDx3h0tHgg=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=TxDng9zpP3KJwXskGAxyi8UTlREQzN7czFspOsDmEvM/2XoySANH9TBkr16mXgfOD DTA/wgf42NtUv/USlyisB1QRZ44hfpPdt7LCxZF8BVibAmTAN+tUMV/3b4hcDZSFZn ECBK/roA1jACrT+RuYLRAicesUf5oBvhHA5FfCD4= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 46F2FCD1F760 for ; Wed, 29 Jun 2022 08:57:50 +0800 (CST) X-Virus-Scanned: by SpamTitan at intel-email.com Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 071E2CD1F757 for ; Wed, 29 Jun 2022 08:57:50 +0800 (CST) Authentication-Results: walk.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id 8A097CD1F6E7 for ; Wed, 29 Jun 2022 08:57:46 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 29 Jun 2022 08:57:43 +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: "'Michael D Kinney'" , "'Zhiguang Liu'" , "'Ray Ni'" References: <20220623034017.7365-1-miki.shindo@intel.com> In-Reply-To: <20220623034017.7365-1-miki.shindo@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW2VkazI6UEFUQ0ggdjNdIE1kZVBrZy9BY3BpNjI6IEFkZCB0eXBlIDcgTkZJVCBQbGF0Zm9ybSBDYXBhYmlsaXRpZXMgU3RydWN0dXJlIHN1cHBvcnQ=?= Date: Wed, 29 Jun 2022 08:57:44 +0800 Message-ID: <025001d88b53$3dc162e0$b94428a0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQFtIRUoSGDrPPtLB7opMLTieP5QOq48ZD8w Sender: "gaoliming" 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 Miki Shindo > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA6=D4=C223=C8=D5 11:40 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Michael D Kinney ; Liming = Gao > ; Zhiguang Liu ; Ray = Ni > > =D6=F7=CC=E2: [edk2-devel] [edk2:PATCH v3] MdePkg/Acpi62: Add type 7 = NFIT > Platform Capabilities Structure support >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3915 >=20 > This commit adds a definition type 7 Platform Capabilities Structure > and the struct definition for NFIT Table Structure Types. > The type has been added since ACPI Specification Version 6.2A. >=20 > Signed-off-by: Miki Shindo > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Ray Ni >=20 > --- > MdePkg/Include/IndustryStandard/Acpi62.h | 13 +++++++++++++ > MdePkg/Include/IndustryStandard/Acpi63.h | 13 +++++++++++++ > MdePkg/Include/IndustryStandard/Acpi64.h | 13 +++++++++++++ > 3 files changed, 39 insertions(+) >=20 > diff --git a/MdePkg/Include/IndustryStandard/Acpi62.h > b/MdePkg/Include/IndustryStandard/Acpi62.h > index 313db63044..836e986ee5 100644 > --- a/MdePkg/Include/IndustryStandard/Acpi62.h > +++ b/MdePkg/Include/IndustryStandard/Acpi62.h > @@ -1486,6 +1486,7 @@ typedef struct { > #define > EFI_ACPI_6_2_NFIT_NVDIMM_CONTROL_REGION_STRUCTURE_TYPE > 4 >=20 > #define > EFI_ACPI_6_2_NFIT_NVDIMM_BLOCK_DATA_WINDOW_REGION_STRUCTU > RE_TYPE 5 >=20 > #define EFI_ACPI_6_2_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE_TYPE > 6 >=20 > +#define EFI_ACPI_6_2_NFIT_PLATFORM_CAPABILITIES_STRUCTURE_TYPE > 7 >=20 >=20 >=20 > // >=20 > // Definition for NFIT Structure Header >=20 > @@ -1638,6 +1639,18 @@ typedef struct { > // UINT64 > FlushHintAddress[NumberOfFlushHintAddresses]; >=20 > } EFI_ACPI_6_2_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE; >=20 >=20 >=20 > +// >=20 > +// Definition for Platform Capabilities Structure >=20 > +// >=20 > +typedef struct { >=20 > + UINT16 Type; >=20 > + UINT16 Length; >=20 > + UINT8 HighestValidCapability; >=20 > + UINT8 Reserved_5[3]; >=20 > + UINT32 Capabilities; >=20 > + UINT8 Reserved_12[4]; >=20 > +} EFI_ACPI_6_2_NFIT_PLATFORM_CAPABILITIES_STRUCTURE; >=20 > + >=20 > /// >=20 > /// Secure DEVices Table (SDEV) >=20 > /// >=20 > diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h > b/MdePkg/Include/IndustryStandard/Acpi63.h > index b1e9d5db5b..15a30d8808 100644 > --- a/MdePkg/Include/IndustryStandard/Acpi63.h > +++ b/MdePkg/Include/IndustryStandard/Acpi63.h > @@ -1450,6 +1450,7 @@ typedef struct { > #define > EFI_ACPI_6_3_NFIT_NVDIMM_CONTROL_REGION_STRUCTURE_TYPE > 4 >=20 > #define > EFI_ACPI_6_3_NFIT_NVDIMM_BLOCK_DATA_WINDOW_REGION_STRUCTU > RE_TYPE 5 >=20 > #define EFI_ACPI_6_3_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE_TYPE > 6 >=20 > +#define EFI_ACPI_6_3_NFIT_PLATFORM_CAPABILITIES_STRUCTURE_TYPE > 7 >=20 >=20 >=20 > // >=20 > // Definition for NFIT Structure Header >=20 > @@ -1602,6 +1603,18 @@ typedef struct { > // UINT64 > FlushHintAddress[NumberOfFlushHintAddresses]; >=20 > } EFI_ACPI_6_3_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE; >=20 >=20 >=20 > +// >=20 > +// Definition for Platform Capabilities Structure >=20 > +// >=20 > +typedef struct { >=20 > + UINT16 Type; >=20 > + UINT16 Length; >=20 > + UINT8 HighestValidCapability; >=20 > + UINT8 Reserved_5[3]; >=20 > + UINT32 Capabilities; >=20 > + UINT8 Reserved_12[4]; >=20 > +} EFI_ACPI_6_3_NFIT_PLATFORM_CAPABILITIES_STRUCTURE; >=20 > + >=20 > /// >=20 > /// Secure DEVices Table (SDEV) >=20 > /// >=20 > diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h > b/MdePkg/Include/IndustryStandard/Acpi64.h > index 232697f228..c1d8b14c44 100644 > --- a/MdePkg/Include/IndustryStandard/Acpi64.h > +++ b/MdePkg/Include/IndustryStandard/Acpi64.h > @@ -1493,6 +1493,7 @@ typedef struct { > #define > EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_STRUCTURE_TYPE > 4 >=20 > #define > EFI_ACPI_6_4_NFIT_NVDIMM_BLOCK_DATA_WINDOW_REGION_STRUCTU > RE_TYPE 5 >=20 > #define EFI_ACPI_6_4_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE_TYPE > 6 >=20 > +#define EFI_ACPI_6_4_NFIT_PLATFORM_CAPABILITIES_STRUCTURE_TYPE > 7 >=20 >=20 >=20 > // >=20 > // Definition for NFIT Structure Header >=20 > @@ -1651,6 +1652,18 @@ typedef struct { > // UINT64 > FlushHintAddress[NumberOfFlushHintAddresses]; >=20 > } EFI_ACPI_6_4_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE; >=20 >=20 >=20 > +// >=20 > +// Definition for Platform Capabilities Structure >=20 > +// >=20 > +typedef struct { >=20 > + UINT16 Type; >=20 > + UINT16 Length; >=20 > + UINT8 HighestValidCapability; >=20 > + UINT8 Reserved_5[3]; >=20 > + UINT32 Capabilities; >=20 > + UINT8 Reserved_12[4]; >=20 > +} EFI_ACPI_6_4_NFIT_PLATFORM_CAPABILITIES_STRUCTURE; >=20 > + >=20 > /// >=20 > /// Secure DEVices Table (SDEV) >=20 > /// >=20 > -- > 2.27.0.windows.1 >=20 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#90709): = https://edk2.groups.io/g/devel/message/90709 > Mute This Topic: https://groups.io/mt/91936713/4905953 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [gaoliming@byosoft.com.cn] > -=3D-=3D-=3D-=3D-=3D-=3D >=20