\r
#include "BdsPlatform.h"\r
#include <Guid/RootBridgesConnectedEventGroup.h>\r
-#include <Library/QemuBootOrderLib.h>\r
\r
\r
//\r
\r
}\r
\r
-\r
VOID\r
PlatformBdsConnectSequence (\r
VOID\r
//\r
// Build the platform boot option\r
//\r
- BdsLibConnectDevicePath (gPlatformConnectSequence[Index]);\r
+ EfiBootManagerConnectDevicePath (gPlatformConnectSequence[Index], NULL);\r
Index++;\r
}\r
\r
//\r
// Just use the simple policy to connect all devices\r
//\r
- BdsLibConnectAll ();\r
+ DEBUG ((EFI_D_INFO, "EfiBootManagerConnectAll\n"));\r
+ EfiBootManagerConnectAll ();\r
\r
PciAcpiInitialization ();\r
\r
gST->ConOut->ClearScreen (gST->ConOut);\r
}\r
\r
-VOID\r
-PlatformBdsGetDriverOption (\r
- IN OUT LIST_ENTRY *BdsDriverLists\r
- )\r
-/*++\r
-\r
-Routine Description:\r
-\r
- Load the predefined driver option, OEM/IBV can customize this\r
- to load their own drivers\r
-\r
-Arguments:\r
-\r
- BdsDriverLists - The header of the driver option link list.\r
-\r
-Returns:\r
-\r
- None.\r
-\r
---*/\r
-{\r
- DEBUG ((EFI_D_INFO, "PlatformBdsGetDriverOption\n"));\r
- return;\r
-}\r
-\r
VOID\r
PlatformBdsDiagnostics (\r
IN EXTENDMEM_COVERAGE_LEVEL MemoryTestLevel,\r
PlatformBdsRestoreNvVarsFromHardDisk ();\r
}\r
\r
- //\r
- // Load the driver option as the driver option list\r
- //\r
- PlatformBdsGetDriverOption (DriverOptionList);\r
-\r
//\r
// Get current Boot Mode\r
//\r
//\r
TryRunningQemuKernel ();\r
\r
- DEBUG ((EFI_D_INFO, "BdsLibConnectAll\n"));\r
- BdsLibConnectAll ();\r
- BdsLibEnumerateAllBootOption (BootOptionList);\r
+ EfiBootManagerRefreshAllBootOption ();\r
\r
- SetBootOrderFromQemu (BootOptionList);\r
- //\r
- // The BootOrder variable may have changed, reload the in-memory list with\r
- // it.\r
- //\r
- BdsLibBuildOptionFromVar (BootOptionList, L"BootOrder");\r
+ SetBootOrderFromQemu (NULL);\r
}\r
\r
/**\r