summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/actables.h
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2010-04-01 06:47:56 +0400
committerLen Brown <len.brown@intel.com>2010-04-20 18:43:16 +0400
commit729df0f848daf2f17d02107199fa92efe909d995 (patch)
treed4ece34a277019368999fd36a0bf15a39eeaa742 /drivers/acpi/acpica/actables.h
parentc1637e9c649a0eb72c467041d78275aabdd48a41 (diff)
downloadlinux-729df0f848daf2f17d02107199fa92efe909d995.tar.xz
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/actables.h')
-rw-r--r--drivers/acpi/acpica/actables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/actables.h b/drivers/acpi/acpica/actables.h
index 8ff3b741df28..fc52b6f2d69c 100644
--- a/drivers/acpi/acpica/actables.h
+++ b/drivers/acpi/acpica/actables.h
@@ -107,6 +107,8 @@ u8 acpi_tb_checksum(u8 *buffer, u32 length);
acpi_status
acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length);
+void acpi_tb_check_dsdt_header(void);
+
void
acpi_tb_install_table(acpi_physical_address address,
char *signature, u32 table_index);