mirror of https://github.com/acidanthera/audk.git
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:
parent
880ea0e223
commit
ca577976b4
|
@ -962,6 +962,8 @@ PeiFfs2FvPpiProcessVolume (
|
|||
));
|
||||
PrivateData->FvCount ++;
|
||||
|
||||
FileHandle = NULL;
|
||||
|
||||
do {
|
||||
Status = This->FindFileByType (
|
||||
This,
|
||||
|
|
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue