Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The macros to classify different AML exception codes are broken. For instance, ACPI_ENV_EXCEPTION(Status) will always evaluate to zero due to #define AE_CODE_ENVIRONMENTAL 0x0000 #define ACPI_ENV_EXCEPTION(Status) (Status & AE_CODE_ENVIRONMENTAL) Similarly, ACPI_AML_EXCEPTION(Status) will evaluate to a non-zero value for error codes of type AE_CODE_PROGRAMMER, AE_CODE_ACPI_TABLES, as well as AE_CODE_AML, and not just AE_CODE_AML as the name suggests. This commit fixes those checks. Fixes: e884d78 ("AML Parser: ignore all exceptions that result from incorrect AML during table load") Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
- Loading branch information