]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/Acpi62: Add bit definitions to NFIT Platform Capabilities Structure
authorMiki Shindo <miki.shindo@intel.com>
Wed, 29 Jun 2022 22:41:30 +0000 (06:41 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 1 Jul 2022 15:00:06 +0000 (15:00 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3915

This commit adds each capability bit definition
for NFIT Platform Capabilities Structure.
The type has been added since ACPI Specification Version 6.2A.

Signed-off-by: Miki Shindo <miki.shindo@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdePkg/Include/IndustryStandard/Acpi62.h
MdePkg/Include/IndustryStandard/Acpi63.h
MdePkg/Include/IndustryStandard/Acpi64.h

index 836e986ee5112501a8b1181eb06fbf95f5c04e96..e27775a85ade1397cb4a14ad0ccb12e2e57af99b 100644 (file)
@@ -1651,6 +1651,10 @@ typedef struct {
   UINT8     Reserved_12[4];\r
 } EFI_ACPI_6_2_NFIT_PLATFORM_CAPABILITIES_STRUCTURE;\r
 \r
+#define EFI_ACPI_6_2_NFIT_PLATFORM_CAPABILITY_CPU_CACHE_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS          BIT0\r
+#define EFI_ACPI_6_2_NFIT_PLATFORM_CAPABILITY_MEMORY_CONTROLLER_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS  BIT1\r
+#define EFI_ACPI_6_2_NFIT_PLATFORM_CAPABILITY_BYTE_ADDRESSABLE_PERSISTENT_MEMORY_HARDWARE_MIRRORING       BIT2\r
+\r
 ///\r
 /// Secure DEVices Table (SDEV)\r
 ///\r
index 15a30d8808600416afd44193c35c53e555d027e9..10bdf5fe5a5752079ce54a776c08afbe87e743b3 100644 (file)
@@ -1615,6 +1615,10 @@ typedef struct {
   UINT8     Reserved_12[4];\r
 } EFI_ACPI_6_3_NFIT_PLATFORM_CAPABILITIES_STRUCTURE;\r
 \r
+#define EFI_ACPI_6_3_NFIT_PLATFORM_CAPABILITY_CPU_CACHE_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS          BIT0\r
+#define EFI_ACPI_6_3_NFIT_PLATFORM_CAPABILITY_MEMORY_CONTROLLER_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS  BIT1\r
+#define EFI_ACPI_6_3_NFIT_PLATFORM_CAPABILITY_BYTE_ADDRESSABLE_PERSISTENT_MEMORY_HARDWARE_MIRRORING       BIT2\r
+\r
 ///\r
 /// Secure DEVices Table (SDEV)\r
 ///\r
index c1d8b14c44dadd7fb19f7848678307dc9c4000e6..fe5ebfac2b37fbd56cc2911bec4644c13d8572ef 100644 (file)
@@ -1664,6 +1664,10 @@ typedef struct {
   UINT8     Reserved_12[4];\r
 } EFI_ACPI_6_4_NFIT_PLATFORM_CAPABILITIES_STRUCTURE;\r
 \r
+#define EFI_ACPI_6_4_NFIT_PLATFORM_CAPABILITY_CPU_CACHE_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS          BIT0\r
+#define EFI_ACPI_6_4_NFIT_PLATFORM_CAPABILITY_MEMORY_CONTROLLER_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS  BIT1\r
+#define EFI_ACPI_6_4_NFIT_PLATFORM_CAPABILITY_BYTE_ADDRESSABLE_PERSISTENT_MEMORY_HARDWARE_MIRRORING       BIT2\r
+\r
 ///\r
 /// Secure DEVices Table (SDEV)\r
 ///\r