Add option to disable loading of SSDTs from the RSDT/XSDT.

Optionally do not load any SSDTs from the RSDT/XSDT during initialization.
This can be useful for debugging ACPI problems on some machines.
Lv Zheng. ACPICA BZ 1005.
This commit is contained in:
Robert Moore 2013-04-24 12:16:17 -07:00
parent 6b0b8eedff
commit 2aabe57456
3 changed files with 19 additions and 0 deletions

View File

@ -264,6 +264,18 @@ AcpiTbLoadNamespace (
continue;
}
/*
* Optionally do not load any SSDTs from the RSDT/XSDT. This can
* be useful for debugging ACPI problems on some machines.
*/
if (AcpiGbl_DisableSsdtTableLoad)
{
ACPI_INFO ((AE_INFO, "Ignoring %4.4s at %p",
AcpiGbl_RootTableList.Tables[i].Signature.Ascii,
ACPI_CAST_PTR (void, AcpiGbl_RootTableList.Tables[i].Address)));
continue;
}
/* Ignore errors while loading tables, get as many as possible */
(void) AcpiUtReleaseMutex (ACPI_MTX_TABLES);

View File

@ -206,6 +206,12 @@ UINT8 ACPI_INIT_GLOBAL (AcpiGbl_TruncateIoAddresses, FALSE);
*/
UINT8 ACPI_INIT_GLOBAL (AcpiGbl_DisableAutoRepair, FALSE);
/*
* Optionally do not load any SSDTs from the RSDT/XSDT during initialization.
* This can be useful for debugging ACPI problems on some machines.
*/
UINT8 ACPI_INIT_GLOBAL (AcpiGbl_DisableSsdtTableLoad, FALSE);
/* AcpiGbl_FADT is a local copy of the FADT, converted to a common format. */

View File

@ -151,6 +151,7 @@ extern UINT8 AcpiGbl_EnableAmlDebugObject;
extern UINT8 AcpiGbl_CopyDsdtLocally;
extern UINT8 AcpiGbl_TruncateIoAddresses;
extern UINT8 AcpiGbl_DisableAutoRepair;
extern UINT8 AcpiGbl_DisableSsdtTableLoad;
/*