Revision: 16883
          http://sourceforge.net/p/edk2/code/16883
Author:   jljusten
Date:     2015-02-19 23:45:42 +0000 (Thu, 19 Feb 2015)
Log Message:
-----------
OvmfPkg/AcpiPlatformDxe: FindAcpiTablesInFv => InstallOvmfFvTables

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 <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>

Modified Paths:
--------------
    trunk/edk2/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c

Modified: trunk/edk2/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c
===================================================================
--- trunk/edk2/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c   2015-02-17 18:58:05 UTC 
(rev 16882)
+++ trunk/edk2/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c   2015-02-19 23:45:42 UTC 
(rev 16883)
@@ -130,14 +130,20 @@
 
 
 /**
-  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 @@
   }
 
   if (EFI_ERROR (Status)) {
-    Status = FindAcpiTablesInFv (AcpiTable);
+    Status = InstallOvmfFvTables (AcpiTable);
   }
 
   return Status;


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to