ACPICA/ACPI: Add new host interfaces for _OSI support
authorLin Ming <ming.m.lin@intel.com>
Fri, 6 Aug 2010 01:35:51 +0000 (09:35 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 1 Oct 2010 05:47:43 +0000 (01:47 -0400)
commitb0ed7a915abac309fcb5a51bccd3782e3daa7417
tree0bffdd098549d61180e6959217c84a05dadb99fa
parent09387b43153953006471dbb06ece6bf779d10937
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>
15 files changed:
drivers/acpi/acpica/Makefile
drivers/acpi/acpica/acdebug.h
drivers/acpi/acpica/acglobal.h
drivers/acpi/acpica/aclocal.h
drivers/acpi/acpica/acutils.h
drivers/acpi/acpica/uteval.c
drivers/acpi/acpica/utglobal.c
drivers/acpi/acpica/utinit.c
drivers/acpi/acpica/utmutex.c
drivers/acpi/acpica/utosi.c [new file with mode: 0644]
drivers/acpi/acpica/utxface.c
drivers/acpi/osl.c
include/acpi/acpiosxf.h
include/acpi/acpixf.h
include/acpi/actypes.h