Fix wrong judgement for gInMemory

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3946 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2
2007-09-27 07:23:42 +00:00
parent 74b623789f
commit 5516d05a59

View File

@ -109,15 +109,14 @@ PeimInitializeDxeIpl (
if (BootMode != BOOT_ON_S3_RESUME) { if (BootMode != BOOT_ON_S3_RESUME) {
Status = PeiServicesRegisterForShadow (FfsHandle); Status = PeiServicesRegisterForShadow (FfsHandle);
if (Status == EFI_SUCCESS) { if (Status == EFI_SUCCESS) {
gInMemory = TRUE;
// //
// EFI_SUCESS means the first time call register for shadow // EFI_SUCESS means the first time call register for shadow
// //
return Status; return Status;
} else if (Status == EFI_ALREADY_STARTED) { } else if (Status == EFI_ALREADY_STARTED) {
gInMemory = TRUE;
// //
// Get custom decompress method guid list // Get custom decompress method guid list
// //