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:
lgao4 2006-11-20 03:59:14 +00:00
parent 593a98d248
commit b00c892423

View File

@ -437,7 +437,7 @@ Returns:
//
if (DriverEntry->ImageHandle == NULL) {
Status = CoreLoadImage (
TRUE,
FALSE,
gDxeCoreImageHandle,
DriverEntry->FvFileDevicePath,
NULL,