mirror of https://github.com/acidanthera/audk.git
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@320 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
44c82dc06f
commit
5f44402947
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue