X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=OvmfPkg%2FAcpiPlatformDxe%2FAcpiPlatform.c;h=61166c65c33cd2c366b4b8d11df95f522bff5a43;hb=fe1b9e8e085bede968958f494cba0be5ab3add99;hp=3632d84375ff2abcc19ea2040b346dff614d0372;hpb=b70c4d07f35df5c5acdb87b11dabaac53288ea03;p=mirror_edk2.git diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c index 3632d84375..61166c65c3 100644 --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c @@ -228,7 +228,7 @@ InstallOvmfFvTables ( } /** - Entrypoint of Acpi Platform driver. + Effective entrypoint of Acpi Platform driver. @param ImageHandle @param SystemTable @@ -240,28 +240,16 @@ InstallOvmfFvTables ( **/ EFI_STATUS EFIAPI -AcpiPlatformEntryPoint ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable +InstallAcpiTables ( + IN EFI_ACPI_TABLE_PROTOCOL *AcpiTable ) { EFI_STATUS Status; - EFI_ACPI_TABLE_PROTOCOL *AcpiTable; - - // - // Find the AcpiTable protocol - // - Status = gBS->LocateProtocol ( - &gEfiAcpiTableProtocolGuid, - NULL, - (VOID**)&AcpiTable - ); - ASSERT_EFI_ERROR (Status); if (XenDetected ()) { Status = InstallXenTables (AcpiTable); } else { - Status = InstallAllQemuLinkedTables (AcpiTable); + Status = InstallQemuFwCfgTables (AcpiTable); } if (EFI_ERROR (Status)) {