X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OvmfPkg%2FPlatformPei%2FPlatform.h;h=cc371c57f7d49a40ce6094598ba4ba57225c6a1c;hp=3e5dca2ce7002604fdde1bad691cb6f886377ac7;hb=b621bb0a3ce81cabc31e28e055e3206068d5aa77;hpb=c0e1097656ae0f1f48e0e6538ff448bd1d1fbd90 diff --git a/OvmfPkg/PlatformPei/Platform.h b/OvmfPkg/PlatformPei/Platform.h index 3e5dca2ce7..cc371c57f7 100644 --- a/OvmfPkg/PlatformPei/Platform.h +++ b/OvmfPkg/PlatformPei/Platform.h @@ -1,7 +1,7 @@ /** @file Platform PEI module include file. - Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -15,6 +15,8 @@ #ifndef _PLATFORM_PEI_H_INCLUDED_ #define _PLATFORM_PEI_H_INCLUDED_ +#include + VOID AddIoMemoryBaseSizeHob ( EFI_PHYSICAL_ADDRESS MemoryBase, @@ -45,12 +47,23 @@ AddUntestedMemoryBaseSizeHob ( UINT64 MemorySize ); +VOID +AddReservedMemoryBaseSizeHob ( + EFI_PHYSICAL_ADDRESS MemoryBase, + UINT64 MemorySize + ); + VOID AddUntestedMemoryRangeHob ( EFI_PHYSICAL_ADDRESS MemoryBase, EFI_PHYSICAL_ADDRESS MemoryLimit ); +EFI_STATUS +PublishPeiMemory ( + VOID + ); + EFI_PHYSICAL_ADDRESS MemDetect ( VOID @@ -61,4 +74,22 @@ PeiFvInitialization ( VOID ); +EFI_STATUS +InitializeXen ( + UINT32 XenLeaf + ); + +UINT32 +XenDetect ( + VOID + ); + +extern BOOLEAN mXen; + +EFI_STATUS +XenGetE820Map ( + EFI_E820_ENTRY64 **Entries, + UINT32 *Count + ); + #endif // _PLATFORM_PEI_H_INCLUDED_