mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[acpi] Allow for the possibility of overriding ACPI tables at link time
Allow for linked-in code to override the mechanism used to locate an ACPI table, thereby opening up the possibility of ACPI self-tests. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -386,7 +386,10 @@ acpi_describe ( struct interface *interface );
|
||||
#define acpi_describe_TYPE( object_type ) \
|
||||
typeof ( struct acpi_descriptor * ( object_type ) )
|
||||
|
||||
extern userptr_t ( * acpi_finder ) ( uint32_t signature, unsigned int index );
|
||||
|
||||
extern void acpi_fix_checksum ( struct acpi_header *acpi );
|
||||
extern userptr_t acpi_table ( uint32_t signature, unsigned int index );
|
||||
extern int acpi_extract ( uint32_t signature, void *data,
|
||||
int ( * extract ) ( userptr_t zsdt, size_t len,
|
||||
size_t offset, void *data ) );
|
||||
|
||||
Reference in New Issue
Block a user