diff options
| author | Michael Brown | 2022-03-23 15:39:11 +0100 |
|---|---|---|
| committer | Michael Brown | 2022-03-24 13:58:52 +0100 |
| commit | 27825e555746c379ac045466f692ed77686af2b5 (patch) | |
| tree | 6b2241855530b3782894b9ac40058a8678e2ff05 /src/include | |
| parent | [efi] Support Unicode character output via framebuffer console (diff) | |
| download | ipxe-27825e555746c379ac045466f692ed77686af2b5.tar.gz ipxe-27825e555746c379ac045466f692ed77686af2b5.tar.xz ipxe-27825e555746c379ac045466f692ed77686af2b5.zip | |
[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>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ipxe/acpi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/acpi.h b/src/include/ipxe/acpi.h index 7df3ec21c..c34681238 100644 --- a/src/include/ipxe/acpi.h +++ b/src/include/ipxe/acpi.h @@ -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 ) ); |
