diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-20 03:59:14 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-20 03:59:14 +0000 |
commit | b00c892423d6cbeb90c64c072ad919a64f08b37a (patch) | |
tree | 2135fa46f044482bd66ab5b1a5abc4bf6e075622 /EdkModulePkg/Core | |
parent | 593a98d2483e9f7ab8a36b64ebaf4ed49d7f1cee (diff) | |
download | edk2-platforms-b00c892423d6cbeb90c64c072ad919a64f08b37a.tar.xz |
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
Diffstat (limited to 'EdkModulePkg/Core')
-rw-r--r-- | EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
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,
|