[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:
@@ -88,7 +88,7 @@ static int acpi_settings_fetch ( struct settings *settings,
|
||||
acpi_name ( tag_signature ), tag_index, tag_offset, tag_len );
|
||||
|
||||
/* Locate ACPI table */
|
||||
table = acpi_find ( tag_signature, tag_index );
|
||||
table = acpi_table ( tag_signature, tag_index );
|
||||
if ( ! table )
|
||||
return -ENOENT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user