]>
Commit | Line | Data |
---|---|---|
1 | #\r | |
2 | # Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r | |
3 | # Copyright (c) 2014, Linaro Limited. All rights reserved.\r | |
4 | # Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.\r | |
5 | #\r | |
6 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
7 | #\r | |
8 | #\r | |
9 | \r | |
10 | [Defines]\r | |
11 | DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F\r | |
12 | \r | |
13 | [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]\r | |
14 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r | |
15 | \r | |
16 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r | |
17 | GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000\r | |
18 | GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000\r | |
19 | RVCT:*_*_ARM_DLINK_FLAGS = --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Align4K.sct\r | |
20 | \r | |
21 | [LibraryClasses.common]\r | |
22 | !if $(TARGET) == RELEASE\r | |
23 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
24 | !else\r | |
25 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
26 | !endif\r | |
27 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
28 | \r | |
29 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
30 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r | |
31 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r | |
32 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
33 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
34 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
35 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
36 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
37 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r | |
38 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
39 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
40 | \r | |
41 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
42 | HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf\r | |
43 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
44 | DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r | |
45 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
46 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
47 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
48 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
49 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
50 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
51 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
52 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
53 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
54 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r | |
55 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
56 | \r | |
57 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
58 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r | |
59 | \r | |
60 | #\r | |
61 | # Ramdisk Requirements\r | |
62 | #\r | |
63 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r | |
64 | \r | |
65 | # Allow dynamic PCDs\r | |
66 | #\r | |
67 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
68 | \r | |
69 | # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below\r | |
70 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r | |
71 | \r | |
72 | # Networking Requirements\r | |
73 | !include NetworkPkg/NetworkLibs.dsc.inc\r | |
74 | \r | |
75 | \r | |
76 | #\r | |
77 | # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.\r | |
78 | # This library provides the instrinsic functions such a compiler may generate calls to.\r | |
79 | #\r | |
80 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
81 | \r | |
82 | # Add support for GCC stack protector\r | |
83 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
84 | \r | |
85 | # ARM Architectural Libraries\r | |
86 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
87 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
88 | CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r | |
89 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r | |
90 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r | |
91 | ArmGicArchLib|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf\r | |
92 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r | |
93 | ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf\r | |
94 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf\r | |
95 | \r | |
96 | PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf\r | |
97 | MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf\r | |
98 | ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf\r | |
99 | \r | |
100 | # ARM PL031 RTC Driver\r | |
101 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r | |
102 | TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r | |
103 | # ARM PL011 UART Driver\r | |
104 | PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf\r | |
105 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf\r | |
106 | \r | |
107 | #\r | |
108 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r | |
109 | # in the debugger will show load and unload commands for symbols. You can cut and paste this\r | |
110 | # into the command window to load symbols. We should be able to use a script to do this, but\r | |
111 | # the version of RVD I have does not support scripts accessing system memory.\r | |
112 | #\r | |
113 | #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
114 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r | |
115 | #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
116 | \r | |
117 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
118 | DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r | |
119 | \r | |
120 | # Flattened Device Tree (FDT) access library\r | |
121 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r | |
122 | \r | |
123 | # PCI Libraries\r | |
124 | PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r | |
125 | PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf\r | |
126 | PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r | |
127 | PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r | |
128 | PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r | |
129 | \r | |
130 | # USB Libraries\r | |
131 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r | |
132 | \r | |
133 | XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf\r | |
134 | \r | |
135 | #\r | |
136 | # CryptoPkg libraries needed by multiple firmware features\r | |
137 | #\r | |
138 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r | |
139 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r | |
140 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r | |
141 | \r | |
142 | #\r | |
143 | # Secure Boot dependencies\r | |
144 | #\r | |
145 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
146 | TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r | |
147 | AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r | |
148 | \r | |
149 | # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree\r | |
150 | PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r | |
151 | !else\r | |
152 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r | |
153 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
154 | !endif\r | |
155 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r | |
156 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r | |
157 | \r | |
158 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r | |
159 | \r | |
160 | [LibraryClasses.common.SEC]\r | |
161 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
162 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
163 | \r | |
164 | DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r | |
165 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r | |
166 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
167 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
168 | PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
169 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
170 | \r | |
171 | [LibraryClasses.common.PEI_CORE]\r | |
172 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
173 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
174 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
175 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
176 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
177 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
178 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
179 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
180 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
181 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
182 | \r | |
183 | PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
184 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r | |
185 | \r | |
186 | [LibraryClasses.common.PEIM]\r | |
187 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
188 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
189 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
190 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
191 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
192 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
193 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
194 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
195 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
196 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
197 | \r | |
198 | PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
199 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r | |
200 | \r | |
201 | [LibraryClasses.common.DXE_CORE]\r | |
202 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
203 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
204 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
205 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
206 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r | |
207 | \r | |
208 | [LibraryClasses.common.DXE_DRIVER]\r | |
209 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
210 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
211 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
212 | \r | |
213 | [LibraryClasses.common.UEFI_APPLICATION]\r | |
214 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
215 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
216 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
217 | \r | |
218 | [LibraryClasses.common.UEFI_DRIVER]\r | |
219 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
220 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
221 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
222 | \r | |
223 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
224 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
225 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
226 | !if $(TARGET) != RELEASE\r | |
227 | DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r | |
228 | !endif\r | |
229 | \r | |
230 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
231 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r | |
232 | !endif\r | |
233 | \r | |
234 | [LibraryClasses.ARM]\r | |
235 | ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r | |
236 | \r | |
237 | [BuildOptions]\r | |
238 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
239 | \r | |
240 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
241 | \r | |
242 | #\r | |
243 | # Disable deprecated APIs.\r | |
244 | #\r | |
245 | RVCT:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r | |
246 | GCC:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r | |
247 | \r | |
248 | ################################################################################\r | |
249 | #\r | |
250 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
251 | #\r | |
252 | ################################################################################\r | |
253 | \r | |
254 | [PcdsFeatureFlag.common]\r | |
255 | gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r | |
256 | \r | |
257 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r | |
258 | \r | |
259 | [PcdsFeatureFlag.AARCH64]\r | |
260 | #\r | |
261 | # Activate AcpiSdtProtocol\r | |
262 | #\r | |
263 | gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r | |
264 | \r | |
265 | [PcdsFixedAtBuild.common]\r | |
266 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r | |
267 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r | |
268 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r | |
269 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r | |
270 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r | |
271 | \r | |
272 | # DEBUG_ASSERT_ENABLED 0x01\r | |
273 | # DEBUG_PRINT_ENABLED 0x02\r | |
274 | # DEBUG_CODE_ENABLED 0x04\r | |
275 | # CLEAR_MEMORY_ENABLED 0x08\r | |
276 | # ASSERT_BREAKPOINT_ENABLED 0x10\r | |
277 | # ASSERT_DEADLOOP_ENABLED 0x20\r | |
278 | !if $(TARGET) == RELEASE\r | |
279 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r | |
280 | !else\r | |
281 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r | |
282 | !endif\r | |
283 | \r | |
284 | # DEBUG_INIT 0x00000001 // Initialization\r | |
285 | # DEBUG_WARN 0x00000002 // Warnings\r | |
286 | # DEBUG_LOAD 0x00000004 // Load events\r | |
287 | # DEBUG_FS 0x00000008 // EFI File system\r | |
288 | # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r | |
289 | # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r | |
290 | # DEBUG_INFO 0x00000040 // Informational debug messages\r | |
291 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r | |
292 | # DEBUG_VARIABLE 0x00000100 // Variable\r | |
293 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
294 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
295 | # DEBUG_NET 0x00004000 // SNP Driver\r | |
296 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r | |
297 | # DEBUG_LOADFILE 0x00020000 // LoadFile\r | |
298 | # DEBUG_EVENT 0x00080000 // Event messages\r | |
299 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r | |
300 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r | |
301 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r | |
302 | # // significantly impact boot performance\r | |
303 | # DEBUG_ERROR 0x80000000 // Error\r | |
304 | !if $(TARGET) != RELEASE\r | |
305 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)\r | |
306 | !endif\r | |
307 | \r | |
308 | #\r | |
309 | # Optional feature to help prevent EFI memory map fragments\r | |
310 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r | |
311 | # Values are in EFI Pages (4K). DXE Core will make sure that\r | |
312 | # at least this much of each type of memory can be allocated\r | |
313 | # from a single memory range. This way you only end up with\r | |
314 | # maximum of two fragments for each type in the memory map\r | |
315 | # (the memory used, and the free memory that was prereserved\r | |
316 | # but not used).\r | |
317 | #\r | |
318 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r | |
319 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r | |
320 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r | |
321 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
322 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600\r | |
323 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400\r | |
324 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500\r | |
325 | !else\r | |
326 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300\r | |
327 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150\r | |
328 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000\r | |
329 | !endif\r | |
330 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000\r | |
331 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r | |
332 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r | |
333 | \r | |
334 | #\r | |
335 | # Enable strict image permissions for all images. (This applies\r | |
336 | # only to images that were built with >= 4 KB section alignment.)\r | |
337 | #\r | |
338 | gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3\r | |
339 | \r | |
340 | #\r | |
341 | # Enable NX memory protection for all non-code regions, including OEM and OS\r | |
342 | # reserved ones, with the exception of LoaderData regions, of which OS loaders\r | |
343 | # (i.e., GRUB) may assume that its contents are executable.\r | |
344 | #\r | |
345 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1\r | |
346 | \r | |
347 | [Components.common]\r | |
348 | #\r | |
349 | # Ramdisk support\r | |
350 | #\r | |
351 | MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r | |
352 | \r | |
353 | #\r | |
354 | # UEFI application (Shell Embedded Boot Loader)\r | |
355 | #\r | |
356 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r | |
357 | <PcdsFixedAtBuild>\r | |
358 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
359 | }\r | |
360 | ShellPkg/Application/Shell/Shell.inf {\r | |
361 | <LibraryClasses>\r | |
362 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
363 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
364 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
365 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
366 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
367 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
368 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
369 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
370 | !if $(NETWORK_IP6_ENABLE) == TRUE\r | |
371 | NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r | |
372 | !endif\r | |
373 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r | |
374 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
375 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r | |
376 | \r | |
377 | <PcdsFixedAtBuild>\r | |
378 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
379 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
380 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
381 | }\r | |
382 | \r | |
383 | [Components.AARCH64]\r | |
384 | #\r | |
385 | # ACPI Support\r | |
386 | #\r | |
387 | MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {\r | |
388 | <LibraryClasses>\r | |
389 | NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf\r | |
390 | }\r | |
391 | \r | |
392 | #\r | |
393 | # EBC support\r | |
394 | #\r | |
395 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r |