mirror of
https://github.com/acpica/acpica/
synced 2025-02-15 13:04:16 +03:00
AcpiExec: ignore non-aml tables.
Don't load non-aml tables that are specified on the command line. Prevents issues, especially with odd tables like the RSDP. However, allow loading of the FADT. ACPICA BZ 932.
This commit is contained in:
parent
72b04989b2
commit
62268be19e
@ -655,12 +655,13 @@ main (
|
||||
*WildcardList = NULL;
|
||||
WildcardList++;
|
||||
|
||||
/*
|
||||
* Ignore an FACS or RSDT, we can't use them.
|
||||
*/
|
||||
if (ACPI_COMPARE_NAME (Table->Signature, ACPI_SIG_FACS) ||
|
||||
ACPI_COMPARE_NAME (Table->Signature, ACPI_SIG_RSDT))
|
||||
/* Ignore non-AML tables, we can't use them. Except for an FADT */
|
||||
|
||||
if (!ACPI_COMPARE_NAME (Table->Signature, ACPI_SIG_FADT) &&
|
||||
!AcpiUtIsAmlTable (Table))
|
||||
{
|
||||
ACPI_WARNING ((AE_INFO,"Table %4.4s is not an AML table, ignoring",
|
||||
Table->Signature));
|
||||
AcpiOsFree (Table);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user