From 5f444029473d88fafaf5bdf42ba02d7904884bf6 Mon Sep 17 00:00:00 2001 From: yshang1 Date: Tue, 30 May 2006 07:18:06 +0000 Subject: [PATCH] git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@320 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 5 +++++ 1 file changed, 5 insertions(+) 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 (