diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-30 07:18:06 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-30 07:18:06 +0000 |
commit | 5f444029473d88fafaf5bdf42ba02d7904884bf6 (patch) | |
tree | c65c02f7d879d44fb9500f0cedac6ed4ca789ee5 /EdkModulePkg | |
parent | 44c82dc06fa986331387db0c732d217552381e2a (diff) | |
download | edk2-platforms-5f444029473d88fafaf5bdf42ba02d7904884bf6.tar.xz |
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@320 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg')
-rw-r--r-- | EdkModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 (
|