]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[IA64] add driver for ACPI methods to call native firmware
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Thu, 20 Sep 2007 20:22:03 +0000 (14:22 -0600)
committerTony Luck <tony.luck@intel.com>
Fri, 12 Oct 2007 22:11:43 +0000 (15:11 -0700)
commit28eda5b8b434b65e5feb0c58a7477f3f290d72d4
tree1da72e320f15acf1649cef957de46360b780285d
parentedbe7075d144b35e8232ca32f373c1e0c26ff085
[IA64] add driver for ACPI methods to call native firmware

This driver for HPQ5001 devices installs a global ACPI OpRegion handler.
AML methods can use this OpRegion to call native firmware entry points.

ACPI does not define a mechanism for AML methods to call native firmware
interfaces such as PAL or SAL.  This OpRegion handler adds such a mechanism.
After the handler is installed, an AML method can call native firmware by
storing the arguments and firmware entry point to specific offsets in the
OpRegion.  When AML reads the "return value" offset from the OpRegion, this
handler loads up the arguments, makes the firmware call, and returns the
result.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/Kconfig
arch/ia64/hp/common/Makefile
arch/ia64/hp/common/aml_nfw.c [new file with mode: 0644]