]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[acpi] Allow for platforms that provide ACPI tables individually
authorMichael Brown <mcb30@ipxe.org>
Mon, 1 Mar 2021 00:08:23 +0000 (00:08 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 1 Mar 2021 00:08:23 +0000 (00:08 +0000)
commit9776f6ece1104cc32de3249844a8a7387112f32f
treeb5916d250368fc66575bb000c51f5a7c7b0e203d
parentd175936b78abc2b137a5a1e66ad7cf79b5849058
[acpi] Allow for platforms that provide ACPI tables individually

The ACPI API currently expects platforms to provide access to a single
contiguous ACPI table.  Some platforms (e.g. Linux userspace) do not
provide a convenient way to obtain the entire ACPI table, but do
provide access to individual tables.

All iPXE consumers of the ACPI API require access only to individual
tables.

Redefine the internal API to make acpi_find() an API method, with all
existing implementations delegating to the current RSDT-based
implementation.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/include/ipxe/rsdp.h
src/arch/x86/interface/pcbios/rsdp.c
src/core/acpi.c
src/core/null_acpi.c
src/include/ipxe/acpi.h
src/include/ipxe/efi/efi_acpi.h
src/include/ipxe/null_acpi.h
src/interface/efi/efi_acpi.c