mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 07:12:52 -04:00
loader.efi: Make rsdp global
Make rsdp pointer to the RSDP global so we can look up other tables.
Sponsored by: Netflix
Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D47083
(cherry picked from commit c5f3a7f622)
This commit is contained in:
parent
714aab4197
commit
be3e3cdc61
1 changed files with 5 additions and 1 deletions
|
|
@ -110,6 +110,11 @@ UINT16 boot_current;
|
|||
*/
|
||||
EFI_LOADED_IMAGE *boot_img;
|
||||
|
||||
/*
|
||||
* RSDP base table.
|
||||
*/
|
||||
ACPI_TABLE_RSDP *rsdp;
|
||||
|
||||
static bool
|
||||
has_keyboard(void)
|
||||
{
|
||||
|
|
@ -933,7 +938,6 @@ ptov(uintptr_t x)
|
|||
static void
|
||||
acpi_detect(void)
|
||||
{
|
||||
ACPI_TABLE_RSDP *rsdp;
|
||||
char buf[24];
|
||||
int revision;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue