aboutsummaryrefslogtreecommitdiff
path: root/tools/acpiexec/aetables.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/acpiexec/aetables.c')
-rw-r--r--tools/acpiexec/aetables.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/acpiexec/aetables.c b/tools/acpiexec/aetables.c
index 043181c8add5..e846d54a3a30 100644
--- a/tools/acpiexec/aetables.c
+++ b/tools/acpiexec/aetables.c
@@ -81,7 +81,7 @@ static ACPI_TABLE_FADT LocalFADT;
*/
static ACPI_TABLE_XSDT *LocalXSDT;
-#define BASE_XSDT_TABLES 7
+#define BASE_XSDT_TABLES 8
#define BASE_XSDT_SIZE (sizeof (ACPI_TABLE_XSDT) + \
((BASE_XSDT_TABLES -1) * sizeof (UINT64)))
@@ -194,7 +194,11 @@ AeBuildLocalTables (
LocalXSDT->TableOffsetEntry[6] = ACPI_PTR_TO_PHYSADDR (&OemxCode);
- /*
+ /* Install the ECDT table to test _REG */
+
+ LocalXSDT->TableOffsetEntry[7] = ACPI_PTR_TO_PHYSADDR (&EcdtCode);
+
+ /*
* Install the user tables. The DSDT must be installed in the FADT.
* All other tables are installed directly into the XSDT.
*/