//\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