summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-02-03 14:35:25 +0800
committerLen Brown <len.brown@intel.com>2009-03-26 16:38:19 -0400
commitac5f98db7be34cefc244026f882cf030debb7431 (patch)
tree7746bc75e1a8f4344b8673b5d2b54bc07147ca0f /include
parent4bbfb85da27c27e9cc9a7fef4bd75df6361152ff (diff)
downloadop-kernel-dev-ac5f98db7be34cefc244026f882cf030debb7431.zip
op-kernel-dev-ac5f98db7be34cefc244026f882cf030debb7431.tar.gz
ACPICA: Allow OS override of all ACPI tables
Previously, the table override mechanism was implemented for the DSDT only. Now, any table in the RSDT/XSDT can be replaced by the host OS. (including the DSDT). Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/acpi/actbl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h
index bf8d4cf..1f3dfdb 100644
--- a/include/acpi/actbl.h
+++ b/include/acpi/actbl.h
@@ -310,8 +310,9 @@ struct acpi_table_desc {
#define ACPI_TABLE_ORIGIN_UNKNOWN (0)
#define ACPI_TABLE_ORIGIN_MAPPED (1)
#define ACPI_TABLE_ORIGIN_ALLOCATED (2)
-#define ACPI_TABLE_ORIGIN_MASK (3)
-#define ACPI_TABLE_IS_LOADED (4)
+#define ACPI_TABLE_ORIGIN_OVERRIDE (4)
+#define ACPI_TABLE_ORIGIN_MASK (7)
+#define ACPI_TABLE_IS_LOADED (8)
/*
* Get the remaining ACPI tables
OpenPOWER on IntegriCloud