mirror of https://github.com/acidanthera/audk.git
Clean ParentHandle field when image is loaded directly from the firmware's boot manager.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13324 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a95b6045c3
commit
bf0712ae47
|
@ -812,6 +812,12 @@ BdsLibBootViaBootOption (
|
|||
ImageInfo->LoadOptionsSize = Option->LoadOptionsSize;
|
||||
ImageInfo->LoadOptions = Option->LoadOptions;
|
||||
}
|
||||
|
||||
//
|
||||
// Clean to NULL because the image is loaded directly from the firmwares boot manager.
|
||||
//
|
||||
ImageInfo->ParentHandle = NULL;
|
||||
|
||||
//
|
||||
// Before calling the image, enable the Watchdog Timer for
|
||||
// the 5 Minute period
|
||||
|
|
Loading…
Reference in New Issue