diff options
author | Corvin Köhne <corvink@freebsd.org> | 2023-06-21 09:31:16 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-06-23 17:26:37 +0000 |
commit | c301291dc3360ea70c823ca0fff5e2bdd77174c9 (patch) | |
tree | b35ba02d67b1d71e028578e7dea0fec65e08cb14 | |
parent | 5a118a61d12215dc1a984c4bec76fb59c6efa2bb (diff) | |
download | edk2-c301291dc3360ea70c823ca0fff5e2bdd77174c9.tar.gz edk2-c301291dc3360ea70c823ca0fff5e2bdd77174c9.tar.bz2 edk2-c301291dc3360ea70c823ca0fff5e2bdd77174c9.zip |
OvmfPkg/Bhyve: install Acpi tables provided by FwCfg
Signed-off-by: Corvin Köhne <corvink@FreeBSD.org>
Acked-by: Peter Grehan <grehan@freebsd.org>
-rw-r--r-- | OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c index 1e1c90614e..fb926a8bd8 100644 --- a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c +++ b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c @@ -249,6 +249,11 @@ InstallAcpiTables ( EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER *Rsdp;
EFI_STATUS Status;
+ Status = InstallQemuFwCfgTables (AcpiTable);
+ if (!EFI_ERROR (Status)) {
+ return EFI_SUCCESS;
+ }
+
Status = GetAcpiRsdpFromMemory (
BHYVE_ACPI_PHYSICAL_ADDRESS,
BHYVE_BIOS_PHYSICAL_END,
|