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:
@ -962,6 +962,8 @@ PeiFfs2FvPpiProcessVolume (
|
|||||||
));
|
));
|
||||||
PrivateData->FvCount ++;
|
PrivateData->FvCount ++;
|
||||||
|
|
||||||
|
FileHandle = NULL;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
Status = This->FindFileByType (
|
Status = This->FindFileByType (
|
||||||
This,
|
This,
|
||||||
|
@ -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).
|
||||||
|
Reference in New Issue
Block a user