From: yshang1 Date: Tue, 30 May 2006 07:18:06 +0000 (+0000) Subject: git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@320 6f19259b... X-Git-Tag: edk2-stable201903~25396 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=5f444029473d88fafaf5bdf42ba02d7904884bf6 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@320 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c b/EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c index 32ba23a957..fec794821b 100644 --- a/EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c +++ b/EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c @@ -1018,6 +1018,11 @@ Returns: // if (gDxeCoreLoadedImage->FilePath == NULL) { if (CompareGuid (&NameGuid, gDxeCoreFileName)) { + // + // Because mFvDevicePath has been initialized when discoveried + // EFI_FV_FILETYPE_DRIVER file. So only need to update the name + // guid of device path. + // CopyGuid (&mFvDevicePath.File.NameGuid, &NameGuid); gDxeCoreLoadedImage->FilePath = CoreDuplicateDevicePath (