From 5516d05a59f0c2028ef58c56f19204f323b3fce6 Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 27 Sep 2007 07:23:42 +0000 Subject: [PATCH] Fix wrong judgement for gInMemory git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3946 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 7 +++---- 1 file 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 //