mirror of
https://github.com/acpica/acpica/
synced 2025-02-25 18:04:08 +03:00
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:
parent
6b0b8eedff
commit
2aabe57456
@ -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);
|
||||
|
@ -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. */
|
||||
|
||||
|
@ -151,6 +151,7 @@ extern UINT8 AcpiGbl_EnableAmlDebugObject;
|
||||
extern UINT8 AcpiGbl_CopyDsdtLocally;
|
||||
extern UINT8 AcpiGbl_TruncateIoAddresses;
|
||||
extern UINT8 AcpiGbl_DisableAutoRepair;
|
||||
extern UINT8 AcpiGbl_DisableSsdtTableLoad;
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user