summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdeModulePkg/Core/Pei/FwVol/FwVol.c2
-rw-r--r--MdeModulePkg/Core/Pei/Image/Image.c1
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).