mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +03:00
[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>
This commit is contained in:
@@ -123,3 +123,4 @@ static userptr_t rsdp_find_rsdt ( void ) {
|
||||
}
|
||||
|
||||
PROVIDE_ACPI ( rsdp, acpi_find_rsdt, rsdp_find_rsdt );
|
||||
PROVIDE_ACPI_INLINE ( rsdp, acpi_find );
|
||||
|
||||
Reference in New Issue
Block a user