git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@320 6f19259b-4bc3-4df7-8a09-765794883524

This commit is contained in:
yshang1 2006-05-30 07:18:06 +00:00
parent 44c82dc06f
commit 5f44402947
1 changed files with 5 additions and 0 deletions

View File

@ -1018,6 +1018,11 @@ Returns:
// //
if (gDxeCoreLoadedImage->FilePath == NULL) { if (gDxeCoreLoadedImage->FilePath == NULL) {
if (CompareGuid (&NameGuid, gDxeCoreFileName)) { 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); CopyGuid (&mFvDevicePath.File.NameGuid, &NameGuid);
gDxeCoreLoadedImage->FilePath = CoreDuplicateDevicePath ( gDxeCoreLoadedImage->FilePath = CoreDuplicateDevicePath (