]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: Add CacheId to PPTT generator
authorChris Jones <christopher.jones@arm.com>
Wed, 8 Dec 2021 16:06:30 +0000 (16:06 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 10 Dec 2021 20:06:52 +0000 (20:06 +0000)
commite81a81e5846edcc4c2e91cf3a39d0ba8c31b687a
treea74e0fadfe9aa45bc056fcef4e84af48fc779b07
parente139829dd6ba2e4df267430035bb4b6435d53233
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>
DynamicTablesPkg/Include/ArmNameSpaceObjects.h
DynamicTablesPkg/Library/Acpi/Arm/AcpiPpttLibArm/PpttGenerator.c