summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
index 331cdc4050..3632d84375 100644
--- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
+++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
@@ -130,14 +130,20 @@ LocateFvInstanceWithTables (
/**
- Find ACPI tables in an FV and parses them. This function is useful for QEMU and KVM.
+ Find ACPI tables in an FV and install them.
+
+ This is now a fall-back path. Normally, we will search for tables provided
+ by the VMM first.
+
+ If that fails, we use this function to load the ACPI tables from an FV. The
+ sources for the FV based tables is located under OvmfPkg/AcpiTables.
@param AcpiTable Protocol instance pointer
**/
EFI_STATUS
EFIAPI
-FindAcpiTablesInFv (
+InstallOvmfFvTables (
IN EFI_ACPI_TABLE_PROTOCOL *AcpiTable
)
{
@@ -259,7 +265,7 @@ AcpiPlatformEntryPoint (
}
if (EFI_ERROR (Status)) {
- Status = FindAcpiTablesInFv (AcpiTable);
+ Status = InstallOvmfFvTables (AcpiTable);
}
return Status;