From 869b17ccdc05f7bad76b3dd61ebc6e5d7466e577 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Wed, 29 Jan 2014 21:44:16 +0000 Subject: [PATCH] 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 Reviewed-by: Laszlo Ersek git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15196 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/PlatformPei/Platform.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/PlatformPei/Platform.c index 10ae623ddd..01460639b1 100644 --- a/OvmfPkg/PlatformPei/Platform.c +++ b/OvmfPkg/PlatformPei/Platform.c @@ -1,7 +1,7 @@ /**@file Platform PEI driver - Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
Copyright (c) 2011, Andrei Warkentin 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; } -- 2.39.2