diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-27 07:23:42 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-27 07:23:42 +0000 |
commit | 5516d05a59f0c2028ef58c56f19204f323b3fce6 (patch) | |
tree | 1e04765672ef1a1738780ad4302da7a426430d16 /MdeModulePkg/Core | |
parent | 74b623789f22feb666dc863c4d2e0a8ca1b62246 (diff) | |
download | edk2-platforms-5516d05a59f0c2028ef58c56f19204f323b3fce6.tar.xz |
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')
-rw-r--r-- | MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c index 8784822496..139174e649 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
//
|