X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=OvmfPkg%2FPlatformPei%2FPlatform.h;h=cc371c57f7d49a40ce6094598ba4ba57225c6a1c;hb=b621bb0a3ce81cabc31e28e055e3206068d5aa77;hp=423dd844fb3a48b5e5e1d19b9f5040d6e2177a44;hpb=49ba9447c92d6fca214476381107a180d08e59d1;p=mirror_edk2.git diff --git a/OvmfPkg/PlatformPei/Platform.h b/OvmfPkg/PlatformPei/Platform.h index 423dd844fb..cc371c57f7 100644 --- a/OvmfPkg/PlatformPei/Platform.h +++ b/OvmfPkg/PlatformPei/Platform.h @@ -1,8 +1,8 @@ /** @file Platform PEI module include file. - Copyright (c) 2006 - 2007, Intel Corporation - All rights reserved. This program and the accompanying materials + 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 http://opensource.org/licenses/bsd-license.php @@ -15,6 +15,8 @@ #ifndef _PLATFORM_PEI_H_INCLUDED_ #define _PLATFORM_PEI_H_INCLUDED_ +#include + VOID AddIoMemoryBaseSizeHob ( EFI_PHYSICAL_ADDRESS MemoryBase, @@ -39,7 +41,30 @@ AddMemoryRangeHob ( EFI_PHYSICAL_ADDRESS MemoryLimit ); +VOID +AddUntestedMemoryBaseSizeHob ( + EFI_PHYSICAL_ADDRESS MemoryBase, + 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 ); @@ -49,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_