From 4b100dc43e8baee8c8b4891b23bc7ad03eba6a28 Mon Sep 17 00:00:00 2001 From: Robert Moore Date: Fri, 29 May 2015 10:24:27 -0700 Subject: [PATCH] ACPI 6.0: Add values for MADT GIC version field. Support for the new version field in the generic distributor subtable. Hanjun Guo --- source/include/actbl1.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/source/include/actbl1.h b/source/include/actbl1.h index 1c508a0a39..d6bd0e07f9 100644 --- a/source/include/actbl1.h +++ b/source/include/actbl1.h @@ -1046,10 +1046,22 @@ typedef struct acpi_madt_generic_distributor UINT64 BaseAddress; UINT32 GlobalIrqBase; UINT8 Version; - UINT8 Reserved2[3]; /* Reserved - must be zero */ + UINT8 Reserved2[3]; /* Reserved - must be zero */ } ACPI_MADT_GENERIC_DISTRIBUTOR; +/* Values for Version field above */ + +enum acpi_madt_gic_version +{ + ACPI_MADT_GIC_VERSION_NONE = 0, + ACPI_MADT_GIC_VERSION_V1 = 1, + ACPI_MADT_GIC_VERSION_V2 = 2, + ACPI_MADT_GIC_VERSION_V3 = 3, + ACPI_MADT_GIC_VERSION_V4 = 4, + ACPI_MADT_GIC_VERSION_RESERVED = 5 /* 5 and greater are reserved */ +}; + /* 13: Generic MSI Frame (ACPI 5.1) */