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@15201
6f19259b-4bc3-4df7-8a09-
765794883524
\r
PublishPeiMemory ();\r
\r
\r
PublishPeiMemory ();\r
\r
PcdSetBool (PcdPciDisableBusEnumeration, TRUE);\r
} else {\r
TopOfMemory = MemDetect ();\r
}\r
\r
PcdSetBool (PcdPciDisableBusEnumeration, TRUE);\r
} else {\r
TopOfMemory = MemDetect ();\r
}\r
\r
DEBUG ((EFI_D_INFO, "Xen was detected\n"));\r
InitializeXen (XenLeaf);\r
}\r
DEBUG ((EFI_D_INFO, "Xen was detected\n"));\r
InitializeXen (XenLeaf);\r
}\r
\r
PeiFvInitialization ();\r
\r
\r
PeiFvInitialization ();\r
\r
XenMemMapInitialization ();\r
} else {\r
MemMapInitialization (TopOfMemory);\r
XenMemMapInitialization ();\r
} else {\r
MemMapInitialization (TopOfMemory);\r
/** @file\r
Platform PEI module include file.\r
\r
/** @file\r
Platform PEI module include file.\r
\r
- Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
+extern BOOLEAN mXen;\r
+\r
EFI_STATUS\r
XenGetE820Map (\r
EFI_E820_ENTRY64 **Entries,\r
EFI_STATUS\r
XenGetE820Map (\r
EFI_E820_ENTRY64 **Entries,\r
/**@file\r
Xen Platform PEI support\r
\r
/**@file\r
Xen Platform PEI support\r
\r
- Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>\r
\r
This program and the accompanying materials\r
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>\r
\r
This program and the accompanying materials\r
#include "Platform.h"\r
#include "Xen.h"\r
\r
#include "Platform.h"\r
#include "Xen.h"\r
\r
+BOOLEAN mXen = FALSE;\r
+\r
EFI_XEN_INFO mXenInfo;\r
\r
/**\r
EFI_XEN_INFO mXenInfo;\r
\r
/**\r
Signature[12] = '\0';\r
\r
if (!AsciiStrCmp ((CHAR8 *) Signature, "XenVMMXenVMM")) {\r
Signature[12] = '\0';\r
\r
if (!AsciiStrCmp ((CHAR8 *) Signature, "XenVMMXenVMM")) {\r
return XenLeaf;\r
}\r
}\r
return XenLeaf;\r
}\r
}\r