summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/DxeIplPeim
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-27 07:23:42 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-27 07:23:42 +0000
commit5516d05a59f0c2028ef58c56f19204f323b3fce6 (patch)
tree1e04765672ef1a1738780ad4302da7a426430d16 /MdeModulePkg/Core/DxeIplPeim
parent74b623789f22feb666dc863c4d2e0a8ca1b62246 (diff)
downloadedk2-5516d05a59f0c2028ef58c56f19204f323b3fce6.zip
edk2-5516d05a59f0c2028ef58c56f19204f323b3fce6.tar.gz
edk2-5516d05a59f0c2028ef58c56f19204f323b3fce6.tar.bz2
Fix wrong judgement for gInMemory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3946 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/DxeIplPeim')
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DxeLoad.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
index 8784822..139174e 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
@@ -109,15 +109,14 @@ PeimInitializeDxeIpl (
if (BootMode != BOOT_ON_S3_RESUME) {
Status = PeiServicesRegisterForShadow (FfsHandle);
if (Status == EFI_SUCCESS) {
-
- gInMemory = TRUE;
//
// EFI_SUCESS means the first time call register for shadow
//
return Status;
} else if (Status == EFI_ALREADY_STARTED) {
-
-
+
+ gInMemory = TRUE;
+
//
// Get custom decompress method guid list
//