diff options
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c index 7ef4d3d..722776b 100644 --- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c @@ -1160,7 +1160,6 @@ PlatformBdsRestoreNvVarsFromHardDisk ( }
-
VOID
PlatformBdsConnectSequence (
VOID
@@ -1197,14 +1196,15 @@ Returns: //
// Build the platform boot option
//
- BdsLibConnectDevicePath (gPlatformConnectSequence[Index]);
+ EfiBootManagerConnectDevicePath (gPlatformConnectSequence[Index], NULL);
Index++;
}
//
// Just use the simple policy to connect all devices
//
- BdsLibConnectAll ();
+ DEBUG ((EFI_D_INFO, "EfiBootManagerConnectAll\n"));
+ EfiBootManagerConnectAll ();
PciAcpiInitialization ();
@@ -1389,9 +1389,6 @@ Routine Description: // Process QEMU's -kernel command line option
//
TryRunningQemuKernel ();
-
- DEBUG ((EFI_D_INFO, "BdsLibConnectAll\n"));
- BdsLibConnectAll ();
BdsLibEnumerateAllBootOption (BootOptionList);
SetBootOrderFromQemu (BootOptionList);
|