summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorKrzysztof Koch <krzysztof.koch@arm.com>2019-06-12 22:10:45 +0800
committerLiming Gao <liming.gao@intel.com>2019-06-21 09:21:56 +0800
commit425d8d487fe20e76281fd7da074592508d03f9c0 (patch)
treea664212f34a8fcf93dc32e0e810890ede915ea36 /MdePkg
parentf17935321a5b818a66e999632ef371b374b98f0c (diff)
downloadedk2-425d8d487fe20e76281fd7da074592508d03f9c0.tar.gz
edk2-425d8d487fe20e76281fd7da074592508d03f9c0.tar.bz2
edk2-425d8d487fe20e76281fd7da074592508d03f9c0.zip
MdePkg: Add Generic Initiator Affinity Structure definitions to SRAT
Add Generic Initiator Affinity Structure to the list of recognised System Resource Affinity Table (SRAT) structure types. Add definitions for Device Handle Types inside the Generic Initiator Affinity Structure. References: - ACPI 6.3 January 2019, Table 5-78 Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/IndustryStandard/Acpi63.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h b/MdePkg/Include/IndustryStandard/Acpi63.h
index a8e011579f..eca1f9357b 100644
--- a/MdePkg/Include/IndustryStandard/Acpi63.h
+++ b/MdePkg/Include/IndustryStandard/Acpi63.h
@@ -639,7 +639,7 @@ typedef struct {
//
// SRAT structure types.
-// All other values between 0x05 an 0xFF are reserved and
+// All other values between 0x06 an 0xFF are reserved and
// will be ignored by OSPM.
//
#define EFI_ACPI_6_3_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00
@@ -647,6 +647,7 @@ typedef struct {
#define EFI_ACPI_6_3_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
#define EFI_ACPI_6_3_GICC_AFFINITY 0x03
#define EFI_ACPI_6_3_GIC_ITS_AFFINITY 0x04
+#define EFI_ACPI_6_3_GENERIC_INITIATOR_AFFINITY 0x05
///
/// Processor Local APIC/SAPIC Affinity Structure Definition
@@ -733,6 +734,14 @@ typedef struct {
UINT32 ItsId;
} EFI_ACPI_6_3_GIC_ITS_AFFINITY_STRUCTURE;
+//
+// Generic Initiator Affinity Structure Device Handle Types
+// All other values between 0x02 an 0xFF are reserved and
+// will be ignored by OSPM.
+//
+#define EFI_ACPI_6_3_ACPI_DEVICE_HANDLE 0x00
+#define EFI_ACPI_6_3_PCI_DEVICE_HANDLE 0x01
+
///
/// Device Handle - ACPI
///