On 01/09/14 01:44, Jordan Justen wrote: > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jordan Justen <[email protected]> > --- > 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 7363702..866ed10 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.<BR> > + Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> > Copyright (c) 2011, Andrei Warkentin <[email protected]> > > This program and the accompanying materials > @@ -420,6 +420,8 @@ InitializePlatform ( > > XenLeaf = XenDetect (); > > + BootModeInitialization (); > + > if (XenLeaf != 0) { > PublishPeiMemory (); > PcdSetBool (PcdPciDisableBusEnumeration, TRUE); > @@ -444,7 +446,5 @@ InitializePlatform ( > > MiscInitialization (); > > - BootModeInitialization (); > - > return EFI_SUCCESS; > } >
This seems to be motivated by the later patch that caches the boot mode in a global variable, so that we don't have to pass it individually. Reviewed-by: Laszlo Ersek <[email protected]> ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
