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>
This commit is contained in:
Chris Jones 2021-07-21 11:50:21 +01:00 committed by mergify[bot]
parent 1803757a9b
commit 605c4a1ff2
1 changed files with 4 additions and 2 deletions

View File

@ -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;
///