mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 00:24:07 +02:00
Fix BDS bug to signal ReadyToBoot event before loading the boot option.
Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12557 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
96962f0ae4
commit
bf85c825ce
@ -654,23 +654,24 @@ BdsLibBootViaBootOption (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Expand USB Class or USB WWID drive path node to full device path.
|
|
||||||
//
|
|
||||||
ImageHandle = BdsExpandUsbShortFormDevicePath (DevicePath);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Signal the EVT_SIGNAL_READY_TO_BOOT event
|
// Signal the EVT_SIGNAL_READY_TO_BOOT event
|
||||||
//
|
//
|
||||||
EfiSignalEventReadyToBoot();
|
EfiSignalEventReadyToBoot();
|
||||||
|
|
||||||
|
//
|
||||||
|
// Expand USB Class or USB WWID device path node to be full device path of a USB
|
||||||
|
// device in platform then load the boot file on this full device path and get the
|
||||||
|
// image handle.
|
||||||
|
//
|
||||||
|
ImageHandle = BdsExpandUsbShortFormDevicePath (DevicePath);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Adjust the different type memory page number just before booting
|
// Adjust the different type memory page number just before booting
|
||||||
// and save the updated info into the variable for next boot to use
|
// and save the updated info into the variable for next boot to use
|
||||||
//
|
//
|
||||||
BdsSetMemoryTypeInformationVariable ();
|
BdsSetMemoryTypeInformationVariable ();
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Set Boot Current
|
// Set Boot Current
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user