mirror of https://github.com/acidanthera/audk.git
OvmfPkg/PlatformBootManagerLib: minimize the set of connected devices
Prefer ConnectDevicesFromQemu() to EfiBootManagerConnectAll(). Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Shannon Zhao <zhaoshenglong@huawei.com> Cc: Xiang Zheng <xiang.zheng@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> # ArmVirtQemu Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Xiang Zheng <xiang.zheng@linaro.org>
This commit is contained in:
parent
51bd1f7699
commit
245c643cc8
|
@ -1346,7 +1346,8 @@ Returns:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
{
|
{
|
||||||
UINTN Index;
|
UINTN Index;
|
||||||
|
RETURN_STATUS Status;
|
||||||
|
|
||||||
DEBUG ((EFI_D_INFO, "PlatformBdsConnectSequence\n"));
|
DEBUG ((EFI_D_INFO, "PlatformBdsConnectSequence\n"));
|
||||||
|
|
||||||
|
@ -1365,11 +1366,14 @@ Returns:
|
||||||
Index++;
|
Index++;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
Status = ConnectDevicesFromQemu ();
|
||||||
// Just use the simple policy to connect all devices
|
if (RETURN_ERROR (Status)) {
|
||||||
//
|
//
|
||||||
DEBUG ((EFI_D_INFO, "EfiBootManagerConnectAll\n"));
|
// Just use the simple policy to connect all devices
|
||||||
EfiBootManagerConnectAll ();
|
//
|
||||||
|
DEBUG ((DEBUG_INFO, "EfiBootManagerConnectAll\n"));
|
||||||
|
EfiBootManagerConnectAll ();
|
||||||
|
}
|
||||||
|
|
||||||
PciAcpiInitialization ();
|
PciAcpiInitialization ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue