2 Platform PEI module include file.
4 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _PLATFORM_PEI_H_INCLUDED_
16 #define _PLATFORM_PEI_H_INCLUDED_
18 #include <IndustryStandard/E820.h>
21 AddIoMemoryBaseSizeHob (
22 EFI_PHYSICAL_ADDRESS MemoryBase
,
28 EFI_PHYSICAL_ADDRESS MemoryBase
,
29 EFI_PHYSICAL_ADDRESS MemoryLimit
33 AddMemoryBaseSizeHob (
34 EFI_PHYSICAL_ADDRESS MemoryBase
,
40 EFI_PHYSICAL_ADDRESS MemoryBase
,
41 EFI_PHYSICAL_ADDRESS MemoryLimit
45 AddReservedMemoryBaseSizeHob (
46 EFI_PHYSICAL_ADDRESS MemoryBase
,
52 AddressWidthInitialization (
57 Q35TsegMbytesInitialization (
67 GetSystemMemorySizeBelow4gb (
72 InitializeRamRegions (
82 InstallFeatureControlCallback (
87 InstallClearCacheCallback (
109 XenPublishRamRegions (
113 extern EFI_BOOT_MODE mBootMode
;
115 extern BOOLEAN mS3Supported
;
117 extern UINT8 mPhysMemAddressWidth
;
119 extern UINT32 mMaxCpuCount
;
121 extern UINT16 mHostBridgeDevId
;
123 #endif // _PLATFORM_PEI_H_INCLUDED_