diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2013-07-26 18:20:00 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2013-07-26 18:20:00 +0000 |
| commit | dbded195f9840f9044a6828c8877c6bf0a956482 (patch) | |
| tree | e05da15a04629f6e36af5ca6c81a2efda47a9dc3 /source/tools/acpiexec/aetables.c | |
| parent | 94c37fb2483cc09856a30e74879a69f2ccfe22f0 (diff) | |
Notes
Diffstat (limited to 'source/tools/acpiexec/aetables.c')
| -rw-r--r-- | source/tools/acpiexec/aetables.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/tools/acpiexec/aetables.c b/source/tools/acpiexec/aetables.c index 07af7965899f..a32c4c54dea8 100644 --- a/source/tools/acpiexec/aetables.c +++ b/source/tools/acpiexec/aetables.c @@ -81,7 +81,7 @@ static ACPI_TABLE_FADT LocalFADT; */ static ACPI_TABLE_XSDT *LocalXSDT; -#define BASE_XSDT_TABLES 8 +#define BASE_XSDT_TABLES 10 #define BASE_XSDT_SIZE (sizeof (ACPI_TABLE_XSDT) + \ ((BASE_XSDT_TABLES -1) * sizeof (UINT64))) @@ -198,7 +198,12 @@ AeBuildLocalTables ( LocalXSDT->TableOffsetEntry[7] = ACPI_PTR_TO_PHYSADDR (&EcdtCode); - /* + /* Install two UEFIs to test multiple table support */ + + LocalXSDT->TableOffsetEntry[8] = ACPI_PTR_TO_PHYSADDR (&Uefi1Code); + LocalXSDT->TableOffsetEntry[9] = ACPI_PTR_TO_PHYSADDR (&Uefi2Code); + + /* * Install the user tables. The DSDT must be installed in the FADT. * All other tables are installed directly into the XSDT. */ |
