summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg/Include
diff options
context:
space:
mode:
authorChris Jones <christopher.jones@arm.com>2021-12-08 16:06:30 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-10 20:06:52 +0000
commite81a81e5846edcc4c2e91cf3a39d0ba8c31b687a (patch)
treea74e0fadfe9aa45bc056fcef4e84af48fc779b07 /DynamicTablesPkg/Include
parente139829dd6ba2e4df267430035bb4b6435d53233 (diff)
downloadedk2-e81a81e5846edcc4c2e91cf3a39d0ba8c31b687a.tar.gz
edk2-e81a81e5846edcc4c2e91cf3a39d0ba8c31b687a.tar.bz2
edk2-e81a81e5846edcc4c2e91cf3a39d0ba8c31b687a.zip
DynamicTablesPkg: Add CacheId to PPTT generator
Bugzilla: 3697 (https://bugzilla.tianocore.org/show_bug.cgi?id=3697) Update the PPTT generator with the CacheId field as defined in table 5.140 of the ACPI 6.4 specification. Also add validations to ensure that the cache id generated is unique. Signed-off-by: Chris Jones <christopher.jones@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'DynamicTablesPkg/Include')
-rw-r--r--DynamicTablesPkg/Include/ArmNameSpaceObjects.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h
index 3246e88847..6ea03fca48 100644
--- a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h
+++ b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h
@@ -741,10 +741,12 @@ typedef struct CmArmCacheInfo {
/// PPTT_ARM_CCIDX_CACHE_ASSOCIATIVITY_MAX. Therfore this field
/// is 32-bit wide.
UINT32 Associativity;
- /// Cache attributes (ACPI 6.3 - January 2019, PPTT, Table 5-156)
+ /// Cache attributes (ACPI 6.4 - January 2021, PPTT, Table 5.140)
UINT8 Attributes;
/// Line size in bytes
UINT16 LineSize;
+ /// Unique ID for the cache
+ UINT32 CacheId;
} CM_ARM_CACHE_INFO;
/** A structure that describes a reference to another Configuration Manager