mirror of https://github.com/acidanthera/audk.git
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 <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
This commit is contained in:
parent
53596a72cd
commit
b70c4d07f3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue