[PATCH 0/5] OvmfPkg/Bhyve: install ACPI tables by FwCfg
- Reply: Corvin Köhne : "[PATCH 1/5] OvmfPkg: move PciEncoding into AcpiPlatformLib"
- Reply: Corvin Köhne : "[PATCH 2/5] OvmfPkg: move BootScript into AcpiPlatformLib"
- Reply: Corvin Köhne : "[PATCH 3/5] OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib"
- Reply: Corvin Köhne : "[PATCH 5/5] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg"
- Reply: Corvin Köhne : "[PATCH 4/5] OvmfPkg: avoid including AcpiPlatformLib twice"
- Reply: Peter Grehan : "Re: [PATCH 0/5] OvmfPkg/Bhyve: install ACPI tables by FwCfg"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 13:18:44 UTC
Hi,
this is the next patch stack for EDKII. Bhyve is able to pass ACPI
tables to the guest by FwCfg. This is more flexible and less space
limited than our current approach of placing ACPI tables into memory.
So, this patch stack modifes the guest firmware to pick up ACPI tables
from FwCfg. If that's not possible, it's falls back to our old approach
of picking up ACPI tables from memory.
Any feedback, even if it's just a short "Looks good" or "Keep going", is
appreciated.
Kind regards,
Corvin
Corvin Köhne (5):
OvmfPkg: move PciEncoding into AcpiPlatformLib
OvmfPkg: move BootScript into AcpiPlatformLib
OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib
OvmfPkg: avoid including AcpiPlatformLib twice
OvmfPkg/Bhyve: install Acpi tables provided by FwCfg
OvmfPkg/OvmfPkgX64.dsc | 1 +
OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 10 +-
.../Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf | 1 -
.../AcpiPlatformLib/DxeAcpiPlatformLib.inf | 14 ++
OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 51 ----
OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.h | 17 --
OvmfPkg/Include/Library/AcpiPlatformLib.h | 56 +++++
OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c | 3 +
OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 +
OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c | 232 ------------------
.../AcpiPlatformLib}/BootScript.c | 3 +-
.../AcpiPlatformLib}/PciDecoding.c | 3 +-
.../AcpiPlatformLib}/QemuFwCfgAcpi.c | 3 +-
13 files changed, 83 insertions(+), 316 deletions(-)
delete mode 100644 OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c
rename OvmfPkg/{AcpiPlatformDxe => Library/AcpiPlatformLib}/BootScript.c (96%)
rename OvmfPkg/{AcpiPlatformDxe => Library/AcpiPlatformLib}/PciDecoding.c (96%)
rename OvmfPkg/{AcpiPlatformDxe => Library/AcpiPlatformLib}/QemuFwCfgAcpi.c (96%)
--
2.41.0