diff options
author | Bob Moore <robert.moore@intel.com> | 2012-02-14 05:31:56 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-03-22 01:44:59 -0400 |
commit | f7b004a17c9183f023796dea0d70284684ec000d (patch) | |
tree | 885f0b9b00d2592b3bb0ee90c7b1f74aaff5e9b3 /drivers/acpi/osl.c | |
parent | ea143604c5c8426923bbed7cd389fdaed7d58a2e (diff) |
ACPICA: Add acpi_os_physical_table_override interface
This interface allows the host to override a table via a
physical address, instead of the logical address required by
acpi_os_table_override. This simplifies the host implementation.
Initial implementation by Thomas Renninger. ACPICA implementation
creates a single function for table overrides that attempts both
a logical and a physical override.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 1dea025e4e98..07d426425b59 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -554,6 +554,15 @@ acpi_os_table_override(struct acpi_table_header * existing_table, | |||
554 | return AE_OK; | 554 | return AE_OK; |
555 | } | 555 | } |
556 | 556 | ||
557 | acpi_status | ||
558 | acpi_os_physical_table_override(struct acpi_table_header *existing_table, | ||
559 | acpi_physical_address * new_address, | ||
560 | u32 *new_table_length) | ||
561 | { | ||
562 | return AE_SUPPORT; | ||
563 | } | ||
564 | |||
565 | |||
557 | static irqreturn_t acpi_irq(int irq, void *dev_id) | 566 | static irqreturn_t acpi_irq(int irq, void *dev_id) |
558 | { | 567 | { |
559 | u32 handled; | 568 | u32 handled; |