]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/AcpiPlatformDxe: FindAcpiTablesInFv => InstallOvmfFvTables
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 19 Feb 2015 23:45:42 +0000 (23:45 +0000)
committerjljusten <jljusten@Edk2>
Thu, 19 Feb 2015 23:45:42 +0000 (23:45 +0000)
Since this function also installs the tables, this is a better
name. It also aligns with the InstallXenTables name.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16883 6f19259b-4bc3-4df7-8a09-765794883524

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