From 48a42a1c701071632aa0180640fd2390e30abc01 Mon Sep 17 00:00:00 2001 From: jyao1 Date: Mon, 4 Aug 2014 13:32:52 +0000 Subject: [PATCH] Add missing ACPI5.1 table. Contributed-under: TianoCore Contribution Agreement 1.0 Signed off by: Jiewen Yao Reviewed by: Star Zeng Reviewed by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15746 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/IndustryStandard/Acpi51.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi51.h b/MdePkg/Include/IndustryStandard/Acpi51.h index 2741c4b802..cce7800901 100644 --- a/MdePkg/Include/IndustryStandard/Acpi51.h +++ b/MdePkg/Include/IndustryStandard/Acpi51.h @@ -611,12 +611,13 @@ typedef struct { // // SRAT structure types. -// All other values between 0x03 an 0xFF are reserved and +// All other values between 0x04 an 0xFF are reserved and // will be ignored by OSPM. // #define EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00 #define EFI_ACPI_5_1_MEMORY_AFFINITY 0x01 #define EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02 +#define EFI_ACPI_5_1_GICC_AFFINITY 0x03 /// /// Processor Local APIC/SAPIC Affinity Structure Definition @@ -675,6 +676,23 @@ typedef struct { UINT8 Reserved2[4]; } EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC_AFFINITY_STRUCTURE; +/// +/// GICC Affinity Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT32 ProximityDomain; + UINT32 AcpiProcessorUid; + UINT32 Flags; + UINT32 ClockDomain; +} EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE; + +/// +/// GICC Flags. All other bits are reserved and must be 0. +/// +#define EFI_ACPI_5_1_GICC_ENABLED (1 << 0) + /// /// System Locality Distance Information Table (SLIT). /// The rest of the table is a matrix. -- 2.39.2