Legacy: Fix double ready-to-boot signaling
@@ -197,11 +197,6 @@ BdsBootDeviceSelect (
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
EFI_HANDLE ImageHandle;
- //
- // Signal the EVT_SIGNAL_READY_TO_BOOT event
- //
- EfiSignalEventReadyToBoot ();
-
//
// If there is simple file protocol which does not consume block Io protocol, create a boot option for it here.
//
@@ -463,6 +458,11 @@ BdsEntry (
//
PlatformBdsPolicyBehavior ();
+ //
+ // Signal the EVT_SIGNAL_READY_TO_BOOT event
+ //
+ EfiSignalEventReadyToBoot ();
+
//
// BDS select the boot device to load OS
//
