diff options
author | marcel <marcel@FreeBSD.org> | 2002-12-10 20:11:20 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-12-10 20:11:20 +0000 |
commit | 9050c80f1d277e50e7dfe4b63b70df26c4984a57 (patch) | |
tree | c30e9307cc97ff4a2670cbf6f167c60e17afaffa /sys/boot/efi/include | |
parent | 2efe31ec152c787316f23df2135be7d52c869fa4 (diff) | |
download | FreeBSD-src-9050c80f1d277e50e7dfe4b63b70df26c4984a57.zip FreeBSD-src-9050c80f1d277e50e7dfe4b63b70df26c4984a57.tar.gz |
Pass the HCDP table address to the kernel. If no such table exists,
NULL is passed. The address of the HCDP table can be found by
iterating over the configuration tables in the EFI system table.
To avoid more duplication, a function can be called with the GUID
of interest. The function will do the scanning. Use the function
in all places where we iterate over the configuration tables in
an attempt to find a specific one.
Bump the loader version number as the result of this.
Approved by: re (blanket)
Diffstat (limited to 'sys/boot/efi/include')
-rw-r--r-- | sys/boot/efi/include/efilib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/efi/include/efilib.h b/sys/boot/efi/include/efilib.h index 695f334..1e7b269 100644 --- a/sys/boot/efi/include/efilib.h +++ b/sys/boot/efi/include/efilib.h @@ -31,6 +31,7 @@ extern EFI_SYSTEM_TABLE *ST; extern EFI_BOOT_SERVICES *BS; extern EFI_RUNTIME_SERVICES *RS; +void *efi_get_table(EFI_GUID *tbl); void efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table); EFI_STATUS main(int argc, CHAR16 *argv[]); |