diff options
author | Robert Moore <Robert.Moore@intel.com> | 2015-12-08 13:05:27 -0800 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2015-12-08 13:05:27 -0800 |
commit | 406defc1d3cfaa994d4e6185f8fe96019d9f7ade (patch) | |
tree | 3214906b6c3aee5a5e5a422208591cbcc63ad4b4 | |
parent | 36a60b406ee4393a07a1961fc917b38d25ec64a2 (diff) | |
download | acpica-406defc1d3cfaa994d4e6185f8fe96019d9f7ade.tar.gz |
acpiexec: Update loading order for incoming tables
There is no longer any need to reverse the incoming table list.
The list is ordered correctly as it is built.
-rw-r--r-- | source/tools/acpiexec/aetables.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/tools/acpiexec/aetables.c b/source/tools/acpiexec/aetables.c index cfdd70bc1..0dd894e64 100644 --- a/source/tools/acpiexec/aetables.c +++ b/source/tools/acpiexec/aetables.c @@ -301,9 +301,6 @@ AeBuildLocalTables ( /* * Install the user tables. The DSDT must be installed in the FADT. * All other tables are installed directly into the XSDT. - * - * Note: The tables are loaded in reverse order from the incoming - * input, which makes it match the command line order. */ NextTable = ListHead; while (NextTable) @@ -334,7 +331,7 @@ AeBuildLocalTables ( { /* Install the table in the XSDT */ - LocalXSDT->TableOffsetEntry[TableCount - NextIndex + 1] = + LocalXSDT->TableOffsetEntry[NextIndex] = ACPI_PTR_TO_PHYSADDR (NextTable->Table); NextIndex++; } |