summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Jones <christopher.jones@arm.com>2021-07-21 11:50:21 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-08-11 01:53:28 +0000
commit605c4a1ff2e0033002652c2315b3bf6f40bec0cf (patch)
treecaa838af16dc83f7e7a5748f4fdff7ee3e8f000c
parent1803757a9bef854d732764a4235bbf710b665880 (diff)
downloadedk2-605c4a1ff2e0033002652c2315b3bf6f40bec0cf.tar.gz
edk2-605c4a1ff2e0033002652c2315b3bf6f40bec0cf.tar.bz2
edk2-605c4a1ff2e0033002652c2315b3bf6f40bec0cf.zip
MdePkg: Add Cache ID to PPTT
Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Table 5.137, Table 5.140, Table 5.141 - Mantis ID 2138 (https://mantis.uefi.org/mantis/view.php?id=2138) Signed-off-by: Chris Jones <christopher.jones@arm.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
-rw-r--r--MdePkg/Include/IndustryStandard/Acpi64.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/IndustryStandard/Acpi64.h
index 4faed17a9e..c905db93fa 100644
--- a/MdePkg/Include/IndustryStandard/Acpi64.h
+++ b/MdePkg/Include/IndustryStandard/Acpi64.h
@@ -2603,7 +2603,7 @@ typedef struct {
///
/// PPTT Revision (as defined in ACPI 6.4 spec.)
///
-#define EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_REVISION 0x02
+#define EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_REVISION 0x03
///
/// PPTT types
@@ -2689,7 +2689,8 @@ typedef struct {
UINT32 CacheTypeValid:1;
UINT32 WritePolicyValid:1;
UINT32 LineSizeValid:1;
- UINT32 Reserved:25;
+ UINT32 CacheIdValid:1;
+ UINT32 Reserved:24;
} EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_FLAGS;
///
@@ -2728,6 +2729,7 @@ typedef struct {
UINT8 Associativity;
EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_ATTRIBUTES Attributes;
UINT16 LineSize;
+ UINT32 CacheId;
} EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE;
///