git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@320 6f19259b...
[mirror_edk2.git] / EdkModulePkg / Core / Dxe / Dispatcher / Dispatcher.c
index 32ba23a..fec7948 100644 (file)
@@ -1018,6 +1018,11 @@ Returns:
             //\r
             if (gDxeCoreLoadedImage->FilePath == NULL) {\r
               if (CompareGuid (&NameGuid, gDxeCoreFileName)) {\r
+                //\r
+                // Because mFvDevicePath has been initialized when discoveried \r
+                // EFI_FV_FILETYPE_DRIVER file. So only need to update the name \r
+                // guid of device path.\r
+                //\r
                 CopyGuid (&mFvDevicePath.File.NameGuid, &NameGuid);\r
 \r
                 gDxeCoreLoadedImage->FilePath = CoreDuplicateDevicePath (\r