mirror of https://github.com/acidanthera/audk.git
OvmfPkg/PlatformPei: Move BootMode detection before mem-init
This will be needed to update the boot flow for S3 resume. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15196 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f76e9eba9d
commit
869b17ccdc
|
@ -1,7 +1,7 @@
|
|||
/**@file
|
||||
Platform PEI driver
|
||||
|
||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
|
||||
|
||||
This program and the accompanying materials
|
||||
|
@ -420,6 +420,8 @@ InitializePlatform (
|
|||
|
||||
XenLeaf = XenDetect ();
|
||||
|
||||
BootModeInitialization ();
|
||||
|
||||
PublishPeiMemory ();
|
||||
|
||||
if (XenLeaf != 0) {
|
||||
|
@ -445,7 +447,5 @@ InitializePlatform (
|
|||
|
||||
MiscInitialization ();
|
||||
|
||||
BootModeInitialization ();
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue