diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-03-31 22:47:56 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-04-20 10:43:16 -0400 |
commit | 729df0f848daf2f17d02107199fa92efe909d995 (patch) | |
tree | d4ece34a277019368999fd36a0bf15a39eeaa742 /drivers/acpi/acpica/acglobal.h | |
parent | c1637e9c649a0eb72c467041d78275aabdd48a41 (diff) |
ACPICA: Add detection of corrupted/replaced DSDT
This change adds support to detect a DSDT that has been corrupted
and/or replaced from outside the OS (by firmware). This is
typically catastrophic for the system, but has been seen on
some machines.
https://bugzilla.kernel.org/show_bug.cgi?id=14679
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acglobal.h')
-rw-r--r-- | drivers/acpi/acpica/acglobal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h index 2b2e61ed373e..a419fe98a5fc 100644 --- a/drivers/acpi/acpica/acglobal.h +++ b/drivers/acpi/acpica/acglobal.h | |||
@@ -165,6 +165,11 @@ ACPI_EXTERN struct acpi_generic_address acpi_gbl_xpm1a_enable; | |||
165 | ACPI_EXTERN struct acpi_generic_address acpi_gbl_xpm1b_status; | 165 | ACPI_EXTERN struct acpi_generic_address acpi_gbl_xpm1b_status; |
166 | ACPI_EXTERN struct acpi_generic_address acpi_gbl_xpm1b_enable; | 166 | ACPI_EXTERN struct acpi_generic_address acpi_gbl_xpm1b_enable; |
167 | 167 | ||
168 | /* DSDT information. Used to check for DSDT corruption */ | ||
169 | |||
170 | ACPI_EXTERN struct acpi_table_desc *acpi_gbl_DSDT; | ||
171 | ACPI_EXTERN struct acpi_table_header acpi_gbl_original_dsdt_header; | ||
172 | |||
168 | /* | 173 | /* |
169 | * Handle both ACPI 1.0 and ACPI 2.0 Integer widths. The integer width is | 174 | * Handle both ACPI 1.0 and ACPI 2.0 Integer widths. The integer width is |
170 | * determined by the revision of the DSDT: If the DSDT revision is less than | 175 | * determined by the revision of the DSDT: If the DSDT revision is less than |