mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-22 13:14:26 +02:00
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,14 +109,13 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user