]>
Commit | Line | Data |
---|---|---|
49ba9447 | 1 | /** @file\r |
2 | Platform PEI module include file.\r | |
3 | \r | |
035ce3b3 | 4 | Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r |
56d7640a | 5 | This program and the accompanying materials\r |
49ba9447 | 6 | are licensed and made available under the terms and conditions of the BSD License\r |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef _PLATFORM_PEI_H_INCLUDED_\r | |
16 | #define _PLATFORM_PEI_H_INCLUDED_\r | |
17 | \r | |
bb6a9a93 WL |
18 | #include <IndustryStandard/E820.h>\r |
19 | \r | |
49ba9447 | 20 | VOID\r |
21 | AddIoMemoryBaseSizeHob (\r | |
22 | EFI_PHYSICAL_ADDRESS MemoryBase,\r | |
23 | UINT64 MemorySize\r | |
24 | );\r | |
25 | \r | |
26 | VOID\r | |
27 | AddIoMemoryRangeHob (\r | |
28 | EFI_PHYSICAL_ADDRESS MemoryBase,\r | |
29 | EFI_PHYSICAL_ADDRESS MemoryLimit\r | |
30 | );\r | |
31 | \r | |
32 | VOID\r | |
33 | AddMemoryBaseSizeHob (\r | |
34 | EFI_PHYSICAL_ADDRESS MemoryBase,\r | |
35 | UINT64 MemorySize\r | |
36 | );\r | |
37 | \r | |
38 | VOID\r | |
39 | AddMemoryRangeHob (\r | |
40 | EFI_PHYSICAL_ADDRESS MemoryBase,\r | |
41 | EFI_PHYSICAL_ADDRESS MemoryLimit\r | |
42 | );\r | |
43 | \r | |
eec7d420 | 44 | VOID\r |
45 | AddReservedMemoryBaseSizeHob (\r | |
46 | EFI_PHYSICAL_ADDRESS MemoryBase,\r | |
cdef34ec LE |
47 | UINT64 MemorySize,\r |
48 | BOOLEAN Cacheable\r | |
eec7d420 | 49 | );\r |
50 | \r | |
bc89fe48 LE |
51 | VOID\r |
52 | AddressWidthInitialization (\r | |
53 | VOID\r | |
54 | );\r | |
55 | \r | |
36658fff WL |
56 | EFI_STATUS\r |
57 | PublishPeiMemory (\r | |
58 | VOID\r | |
59 | );\r | |
60 | \r | |
4b455f7b JJ |
61 | UINT32\r |
62 | GetSystemMemorySizeBelow4gb (\r | |
63 | VOID\r | |
64 | );\r | |
65 | \r | |
c034906e JJ |
66 | VOID\r |
67 | InitializeRamRegions (\r | |
49ba9447 | 68 | VOID\r |
69 | );\r | |
70 | \r | |
71 | EFI_STATUS\r | |
72 | PeiFvInitialization (\r | |
73 | VOID\r | |
74 | );\r | |
75 | \r | |
dbab9949 LE |
76 | VOID\r |
77 | InstallFeatureControlCallback (\r | |
78 | VOID\r | |
79 | );\r | |
80 | \r | |
eec7d420 | 81 | EFI_STATUS\r |
82 | InitializeXen (\r | |
b98b4941 | 83 | VOID\r |
c7ea55b9 WL |
84 | );\r |
85 | \r | |
b98b4941 | 86 | BOOLEAN\r |
c7ea55b9 | 87 | XenDetect (\r |
eec7d420 | 88 | VOID\r |
89 | );\r | |
90 | \r | |
b621bb0a JJ |
91 | extern BOOLEAN mXen;\r |
92 | \r | |
18f31ada JJ |
93 | VOID\r |
94 | XenPublishRamRegions (\r | |
95 | VOID\r | |
bb6a9a93 WL |
96 | );\r |
97 | \r | |
979420df JJ |
98 | extern EFI_BOOT_MODE mBootMode;\r |
99 | \r | |
7cdba634 JJ |
100 | extern BOOLEAN mS3Supported;\r |
101 | \r | |
bc89fe48 LE |
102 | extern UINT8 mPhysMemAddressWidth;\r |
103 | \r | |
45a70db3 LE |
104 | extern UINT32 mMaxCpuCount;\r |
105 | \r | |
49ba9447 | 106 | #endif // _PLATFORM_PEI_H_INCLUDED_\r |