From b00c892423d6cbeb90c64c072ad919a64f08b37a Mon Sep 17 00:00:00 2001 From: lgao4 Date: Mon, 20 Nov 2006 03:59:14 +0000 Subject: [PATCH] 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 --- EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c b/EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c index 82b776f901..68bf63e601 100644 --- a/EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c +++ b/EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c @@ -437,7 +437,7 @@ Returns: // if (DriverEntry->ImageHandle == NULL) { Status = CoreLoadImage ( - TRUE, + FALSE, gDxeCoreImageHandle, DriverEntry->FvFileDevicePath, NULL, -- 2.39.2