diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-08-05 21:35:51 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-10-01 01:47:43 -0400 |
commit | b0ed7a915abac309fcb5a51bccd3782e3daa7417 (patch) | |
tree | 0bffdd098549d61180e6959217c84a05dadb99fa /drivers/acpi/acpica/utglobal.c | |
parent | 09387b43153953006471dbb06ece6bf779d10937 (diff) |
ACPICA/ACPI: Add new host interfaces for _OSI support
Adds install/remove interfaces so that the host can dynamically
alter the global _OSI table. Also adds support for _OSI handlers.
Additional support: new debugger command (osi), and test support in
the acpiexec utility. Adds new file, utilities/utosi.c.
ACPICA bugzilla 836.
The Linux OSL _OSI code is also changed.
acpi_osi_setup can't call acpi_install/remove_interface because ACPICA
is not initialized yet at this early time.
So we just save the osi string in acpi_osi_setup and will handle it
later in a new function acpi_osi_setup_late.
http://www.acpica.org/bugzilla/show_bug.cgi?id=836
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/utglobal.c')
-rw-r--r-- | drivers/acpi/acpica/utglobal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utglobal.c b/drivers/acpi/acpica/utglobal.c index 0558747579ef..45f63340ca5f 100644 --- a/drivers/acpi/acpica/utglobal.c +++ b/drivers/acpi/acpica/utglobal.c | |||
@@ -774,6 +774,7 @@ acpi_status acpi_ut_init_globals(void) | |||
774 | acpi_gbl_exception_handler = NULL; | 774 | acpi_gbl_exception_handler = NULL; |
775 | acpi_gbl_init_handler = NULL; | 775 | acpi_gbl_init_handler = NULL; |
776 | acpi_gbl_table_handler = NULL; | 776 | acpi_gbl_table_handler = NULL; |
777 | acpi_gbl_interface_handler = NULL; | ||
777 | 778 | ||
778 | /* Global Lock support */ | 779 | /* Global Lock support */ |
779 | 780 | ||
@@ -800,6 +801,7 @@ acpi_status acpi_ut_init_globals(void) | |||
800 | acpi_gbl_debugger_configuration = DEBUGGER_THREADING; | 801 | acpi_gbl_debugger_configuration = DEBUGGER_THREADING; |
801 | acpi_gbl_db_output_flags = ACPI_DB_CONSOLE_OUTPUT; | 802 | acpi_gbl_db_output_flags = ACPI_DB_CONSOLE_OUTPUT; |
802 | acpi_gbl_osi_data = 0; | 803 | acpi_gbl_osi_data = 0; |
804 | acpi_gbl_osi_mutex = NULL; | ||
803 | 805 | ||
804 | /* Hardware oriented */ | 806 | /* Hardware oriented */ |
805 | 807 | ||