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
This commit is contained in:
klu2
2009-11-16 04:52:29 +00:00
parent 880ea0e223
commit ca577976b4
2 changed files with 3 additions and 0 deletions

View File

@ -962,6 +962,8 @@ PeiFfs2FvPpiProcessVolume (
)); ));
PrivateData->FvCount ++; PrivateData->FvCount ++;
FileHandle = NULL;
do { do {
Status = This->FindFileByType ( Status = This->FindFileByType (
This, This,

View File

@ -237,6 +237,7 @@ PeiLoadImageLoadImage (
SearchType1 = EFI_SECTION_PE32; SearchType1 = EFI_SECTION_PE32;
SearchType2 = EFI_SECTION_TE; SearchType2 = EFI_SECTION_TE;
} }
asm ("int $3");
// //
// Try to find a first exe section (if PcdPeiCoreImageLoaderSearchTeSectionFirst // Try to find a first exe section (if PcdPeiCoreImageLoaderSearchTeSectionFirst
// is true, TE will be searched first). // is true, TE will be searched first).