diff options
Diffstat (limited to 'src/acpi/acpi.c')
-rw-r--r-- | src/acpi/acpi.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index e03c7f4913..78d5f07045 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -1582,6 +1582,13 @@ void preload_acpi_dsdt(void) cbfs_preload(file); } +static uintptr_t coreboot_rsdp; + +uintptr_t get_coreboot_rsdp(void) +{ + return coreboot_rsdp; +} + unsigned long write_acpi_tables(unsigned long start) { unsigned long current; @@ -1689,6 +1696,7 @@ unsigned long write_acpi_tables(unsigned long start) /* We need at least an RSDP and an RSDT Table */ rsdp = (acpi_rsdp_t *) current; + coreboot_rsdp = (uintptr_t)rsdp; current += sizeof(acpi_rsdp_t); current = acpi_align_current(current); rsdt = (acpi_rsdt_t *) current; |