In core\dxe\Dispatcher\Dispatcher.c uses CoreLoadImage with TRUE parameter of BootPolicy. But according to CoreLoadImage comments, BootPolicy is TRUE indicates that the request originates from the boot manager. Dispatcher driver is from memory, not from boot manager. So it should call CoreLoadImage with FALSE parameter of BootPolicy.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1981 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -437,7 +437,7 @@ Returns:
|
||||
//
|
||||
if (DriverEntry->ImageHandle == NULL) {
|
||||
Status = CoreLoadImage (
|
||||
TRUE,
|
||||
FALSE,
|
||||
gDxeCoreImageHandle,
|
||||
DriverEntry->FvFileDevicePath,
|
||||
NULL,
|
||||
|
Reference in New Issue
Block a user