diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-16 04:52:29 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-16 04:52:29 +0000 |
commit | ca577976b4099482be9b99ec02e285fc935f3dd9 (patch) | |
tree | 005862a85a8c20640eece22fdbfeb4c121bc4abb /MdeModulePkg | |
parent | 880ea0e223b10d087155e2be556b038a21dab22c (diff) | |
download | edk2-platforms-ca577976b4099482be9b99ec02e285fc935f3dd9.tar.xz |
Initialize the FileHandle to NULL, before search FV image file in discoveried FV
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9428 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Core/Pei/FwVol/FwVol.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Core/Pei/Image/Image.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/FwVol/FwVol.c index eb20f5131b..06c08f9bc4 100644 --- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c +++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c @@ -962,6 +962,8 @@ PeiFfs2FvPpiProcessVolume ( ));
PrivateData->FvCount ++;
+ FileHandle = NULL;
+
do {
Status = This->FindFileByType (
This,
diff --git a/MdeModulePkg/Core/Pei/Image/Image.c b/MdeModulePkg/Core/Pei/Image/Image.c index 5e57ecd889..8a52c6fe8c 100644 --- a/MdeModulePkg/Core/Pei/Image/Image.c +++ b/MdeModulePkg/Core/Pei/Image/Image.c @@ -237,6 +237,7 @@ PeiLoadImageLoadImage ( SearchType1 = EFI_SECTION_PE32;
SearchType2 = EFI_SECTION_TE;
}
+ asm ("int $3");
//
// Try to find a first exe section (if PcdPeiCoreImageLoaderSearchTeSectionFirst
// is true, TE will be searched first).
|