]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
OvmfPkg/AcpiPlatformDxe: FindAcpiTablesInFv => InstallOvmfFvTables
[mirror_edk2.git] / OvmfPkg / AcpiPlatformDxe / AcpiPlatform.c
index 331cdc40505930124e032b11e8676bb859b431d2..3632d84375ff2abcc19ea2040b346dff614d0372 100644 (file)
@@ -130,14 +130,20 @@ LocateFvInstanceWithTables (
 \r
 \r
 /**\r
-  Find ACPI tables in an FV and parses them. This function is useful for QEMU and KVM.\r
+  Find ACPI tables in an FV and install them. \r
+\r
+  This is now a fall-back path. Normally, we will search for tables provided\r
+  by the VMM first.\r
+\r
+  If that fails, we use this function to load the ACPI tables from an FV. The\r
+  sources for the FV based tables is located under OvmfPkg/AcpiTables.\r
 \r
   @param  AcpiTable     Protocol instance pointer    \r
 \r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
-FindAcpiTablesInFv (\r
+InstallOvmfFvTables (\r
   IN  EFI_ACPI_TABLE_PROTOCOL     *AcpiTable\r
   )\r
 {\r
@@ -259,7 +265,7 @@ AcpiPlatformEntryPoint (
   }\r
 \r
   if (EFI_ERROR (Status)) {\r
-    Status = FindAcpiTablesInFv (AcpiTable);\r
+    Status = InstallOvmfFvTables (AcpiTable);\r
   }\r
 \r
   return Status;\r