SFI: add capability to parse ACPI tables
authorFeng Tang <feng.tang@intel.com>
Fri, 14 Aug 2009 19:17:53 +0000 (15:17 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 28 Aug 2009 23:57:33 +0000 (19:57 -0400)
commit13e82d023c4c3f13ab1e665cbb917a7ebba8935c
treec0d257873f7487e75b07ed3171e2e7ea29245f9c
parent6ae6996a466e14bcf41618cde641a74ae03dc285
SFI: add capability to parse ACPI tables

Extend SFI to access standard ACPI tables.
(eg. the PCI MCFG) using sfi_acpi_table_parse().

Note that this is _not_ a hybrid ACPI + SFI mode.
The platform boots in either ACPI mode or SFI mode.

SFI runs only with acpi_disabled=1, which can be set
at build-time via CONFIG_ACPI=n, or at boot time by
the failure to find ACPI platform support.

So this extension simply allows SFI-platforms to
re-use existing standard table formats that happen to
be defined to live in ACPI envelopes.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/sfi/sfi_acpi.c [new file with mode: 0644]
include/linux/sfi_acpi.h [new file with mode: 0644]