]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
MdeModulePkg/DxeLoadFunc: Add use case for new Perf macro
[mirror_edk2.git] / MdeModulePkg / Core / DxeIplPeim / DxeIpl.inf
1 ## @file
2 # Last PEIM executed in PEI phase to load DXE Core from a Firmware Volume.
3 #
4 # This module produces a special PPI named the DXE Initial Program Load (IPL)
5 # PPI to discover and dispatch the DXE Foundation and components that are
6 # needed to run the DXE Foundation.
7 #
8 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
9 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
10 #
11 # This program and the accompanying materials
12 # are licensed and made available under the terms and conditions of the BSD License
13 # which accompanies this distribution. The full text of the license may be found at
14 # http://opensource.org/licenses/bsd-license.php
15 #
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #
19 ##
20
21 [Defines]
22 INF_VERSION = 0x00010005
23 BASE_NAME = DxeIpl
24 MODULE_UNI_FILE = DxeIpl.uni
25 FILE_GUID = 86D70125-BAA3-4296-A62F-602BEBBB9081
26 MODULE_TYPE = PEIM
27 VERSION_STRING = 1.0
28
29 ENTRY_POINT = PeimInitializeDxeIpl
30
31 #
32 # The following information is for reference only and not required by the build tools.
33 #
34 # VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only) AARCH64
35 #
36
37 [Sources]
38 DxeIpl.h
39 DxeLoad.c
40
41 [Sources.Ia32]
42 X64/VirtualMemory.h
43 X64/VirtualMemory.c
44 Ia32/DxeLoadFunc.c
45 Ia32/IdtVectorAsm.nasm
46
47 [Sources.X64]
48 X64/VirtualMemory.h
49 X64/VirtualMemory.c
50 X64/DxeLoadFunc.c
51
52 [Sources.IPF]
53 Ipf/DxeLoadFunc.c
54
55 [Sources.EBC]
56 Ebc/DxeLoadFunc.c
57
58 [Sources.ARM, Sources.AARCH64]
59 Arm/DxeLoadFunc.c
60
61 [Packages]
62 MdePkg/MdePkg.dec
63 MdeModulePkg/MdeModulePkg.dec
64
65 [Packages.ARM, Packages.AARCH64]
66 ArmPkg/ArmPkg.dec
67
68 [LibraryClasses]
69 PcdLib
70 MemoryAllocationLib
71 BaseMemoryLib
72 ExtractGuidedSectionLib
73 UefiDecompressLib
74 ReportStatusCodeLib
75 PeiServicesLib
76 HobLib
77 BaseLib
78 PeimEntryPoint
79 DebugLib
80 DebugAgentLib
81 PeiServicesTablePointerLib
82 PerformanceLib
83
84 [LibraryClasses.ARM, LibraryClasses.AARCH64]
85 ArmMmuLib
86
87 [Ppis]
88 gEfiDxeIplPpiGuid ## PRODUCES
89 gEfiPeiDecompressPpiGuid ## PRODUCES
90 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES # Not produced on S3 boot path
91 gEfiPeiReadOnlyVariable2PpiGuid ## SOMETIMES_CONSUMES
92 gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES
93 gEfiPeiS3Resume2PpiGuid ## SOMETIMES_CONSUMES # Consumed on S3 boot path
94 gEfiPeiRecoveryModulePpiGuid ## SOMETIMES_CONSUMES # Consumed on recovery boot path
95 ## SOMETIMES_CONSUMES
96 ## UNDEFINED # HOB
97 gEfiVectorHandoffInfoPpiGuid
98 gEfiPeiMemoryDiscoveredPpiGuid ## SOMETIMES_CONSUMES
99
100 [Guids]
101 ## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation"
102 ## SOMETIMES_PRODUCES ## HOB
103 gEfiMemoryTypeInformationGuid
104
105 [FeaturePcd.IA32]
106 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
107
108 [FeaturePcd.X64]
109 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables ## CONSUMES
110
111 [FeaturePcd]
112 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress ## CONSUMES
113
114 [Pcd.IA32,Pcd.X64]
115 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
116 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES
117 gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask ## CONSUMES
118 gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPropertyMask ## CONSUMES
119 gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard ## CONSUMES
120
121 [Pcd.IA32,Pcd.X64,Pcd.ARM,Pcd.AARCH64]
122 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack ## SOMETIMES_CONSUMES
123
124 [Depex]
125 gEfiPeiLoadFilePpiGuid AND gEfiPeiMasterBootModePpiGuid
126
127 #
128 # [BootMode]
129 # S3_RESUME ## SOMETIMES_CONSUMES
130 # RECOVERY_FULL ## SOMETIMES_CONSUMES
131 #
132 #
133 # [Hob]
134 # MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # MEMORY_ALLOCATION_MODULE for DxeCore
135 # MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # New Stack HoB
136 # MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # Old Stack HOB
137 #
138 # [Hob.IPF]
139 # MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # MEMORY_ALLOCATION_BSP_STORE
140 #
141
142 [UserExtensions.TianoCore."ExtraFiles"]
143 DxeIplExtra.uni