mirror of https://github.com/acidanthera/audk.git
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:
parent
74b623789f
commit
5516d05a59
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue