OvmfPkg/PlatformPei: Hide Xen Leaf details

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15202 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Jordan Justen
2014-02-01 21:22:19 +00:00
committed by jljusten
parent b621bb0a3c
commit b98b4941e2
3 changed files with 27 additions and 16 deletions

View File

@@ -410,7 +410,6 @@ InitializePlatform (
)
{
EFI_PHYSICAL_ADDRESS TopOfMemory;
UINT32 XenLeaf;
TopOfMemory = 0;
@@ -418,7 +417,7 @@ InitializePlatform (
DebugDumpCmos ();
XenLeaf = XenDetect ();
XenDetect ();
BootModeInitialization ();
@@ -432,7 +431,7 @@ InitializePlatform (
if (mXen) {
DEBUG ((EFI_D_INFO, "Xen was detected\n"));
InitializeXen (XenLeaf);
InitializeXen ();
}
ReserveEmuVariableNvStore ();