mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
ACPICA: AML Parser: ignore all exceptions resulting from incorrect AML during table load
Macros to classify different AML exception codes have been added in order to ignore the exceptions, Signed-off-by: Erik Schmauss <[email protected]> [ rjw: Fix damaged white space ] Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
2c20443ec2
commit
d46b6537f0
2 changed files with 19 additions and 13 deletions
|
|
@ -59,6 +59,12 @@ struct acpi_exception_info {
|
|||
|
||||
#define AE_OK (acpi_status) 0x0000
|
||||
|
||||
#define ACPI_ENV_EXCEPTION(status) (status & AE_CODE_ENVIRONMENTAL)
|
||||
#define ACPI_AML_EXCEPTION(status) (status & AE_CODE_AML)
|
||||
#define ACPI_PROG_EXCEPTION(status) (status & AE_CODE_PROGRAMMER)
|
||||
#define ACPI_TABLE_EXCEPTION(status) (status & AE_CODE_ACPI_TABLES)
|
||||
#define ACPI_CNTL_EXCEPTION(status) (status & AE_CODE_CONTROL)
|
||||
|
||||
/*
|
||||
* Environmental exceptions
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue