blob: 51b1079003dff8787d4df148a4d8c3c4b59cfde7 [file] [log] [blame]
Michael Casadevall6f5872b2014-09-18 18:11:24 +00001#
Ronald Cron04f1a702015-02-26 10:54:39 +00002# Copyright (c) 2011-2015, ARM Limited. All rights reserved.
Michael Casadevall6f5872b2014-09-18 18:11:24 +00003# Copyright (c) 2014, Linaro Limited. All rights reserved.
4#
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
9#
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.
12#
13#
14
Laszlo Ersekd3019912015-03-02 16:19:41 +000015[Defines]
16 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
17
Michael Casadevall6f5872b2014-09-18 18:11:24 +000018[LibraryClasses.common]
19!if $(TARGET) == RELEASE
20 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
21 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
22!else
23 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
24 UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
25!endif
26 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
27
28 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
29 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
30 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
31 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
32 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
33 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
34 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
35 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
36 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
37
38 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +000039 HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +000040 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
41 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
42 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
43 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
44 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
45 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
46 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
47 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
48
49 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
Laszlo Ersek1c5adbe2015-02-02 19:09:07 +000050 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +000051
52 #
53 # Allow dynamic PCDs
54 #
55 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
56
57 # 1/123 faster than Stm or Vstm version
58 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
59 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
60
61 # Networking Requirements
62 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
63 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
64 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
65 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
66
67 # ARM Architectural Libraries
68 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
69 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
70 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
71 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
72 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
73 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
74 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
75 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
76 ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
77 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
78
Olivier Martin7fbd1eb2015-05-29 13:50:43 +000079 PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
80 MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf
81 EfiResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +000082
83 # ARM PL031 RTC Driver
84 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
85 # ARM PL011 UART Driver
86 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +000087 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +000088 SerialPortExtLib|EmbeddedPkg/Library/SerialPortExtLibNull/SerialPortExtLibNull.inf
89
90 #
91 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
92 # in the debugger will show load and unload commands for symbols. You can cut and paste this
93 # into the command window to load symbols. We should be able to use a script to do this, but
94 # the version of RVD I have does not support scripts accessing system memory.
95 #
96 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
97 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
98 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
99
100 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
101 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
102
103 # BDS Libraries
104 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
105 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
106
Laszlo Ersek10233c92015-02-23 16:04:11 +0000107 # PCI Libraries
108 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +0000109 PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
Laszlo Ersek10233c92015-02-23 16:04:11 +0000110
Laszlo Erseke17b1db2015-02-23 16:04:30 +0000111 # USB Libraries
112 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
113
Ard Biesheuvel6abe83c2015-02-28 20:34:26 +0000114 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
115
Ard Biesheuvel80f882a2015-05-07 15:22:31 +0000116 #
117 # Secure Boot dependencies
118 #
119!if $(SECURE_BOOT_ENABLE) == TRUE
120 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
121 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
122 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
123 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
124
125 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
126 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
127!endif
128
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000129[LibraryClasses.common.SEC]
130 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
131 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
132 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
133
134 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
135 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +0000136 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000137 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
138 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
139 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
140 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
141
142[LibraryClasses.common.PEI_CORE]
143 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
144 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
145 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
146 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
147 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
148 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
149 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
150 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
151 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
152 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
153 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
154
155 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
156 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +0000157 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000158
159[LibraryClasses.common.PEIM]
160 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
161 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
162 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
163 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
164 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
165 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
166 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
167 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
168 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
169 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
170 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
171 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
172
173 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
174 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
Olivier Martin7fbd1eb2015-05-29 13:50:43 +0000175 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000176
177[LibraryClasses.common.DXE_CORE]
178 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
179 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
180 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
181 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
182 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
183 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
184 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
185 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
186
187[LibraryClasses.common.DXE_DRIVER]
188 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
189 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
190 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
191 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
192 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
193 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
194
195[LibraryClasses.common.UEFI_APPLICATION]
196 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
197 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
198 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
199 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
200
201[LibraryClasses.common.UEFI_DRIVER]
202 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
203 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
204 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
205 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
206 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
207 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
208
209[LibraryClasses.common.DXE_RUNTIME_DRIVER]
210 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
211 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
212 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
213
Ard Biesheuvel80f882a2015-05-07 15:22:31 +0000214!if $(SECURE_BOOT_ENABLE) == TRUE
215 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
216!endif
217
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000218[LibraryClasses.ARM]
219 #
220 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
221 # This library provides the instrinsic functions generate by a given compiler.
222 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
223 #
224 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
225
226 # Add support for GCC stack protector
227 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
228
229[LibraryClasses.AARCH64]
230 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
231
232
233[BuildOptions]
234 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
235
236 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
237
238################################################################################
239#
240# Pcd Section - list of all EDK II PCD Entries defined by this Platform
241#
242################################################################################
243
244[PcdsFeatureFlag.common]
245 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
246 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
247 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
248 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
249
250 #
251 # Control what commands are supported from the UI
252 # Turn these on and off to add features or save size
253 #
254 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
255 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
256 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
257 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
258 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
259 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
260 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
261
262 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
263
264 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
265 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
266
267 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
268
269 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
270
271[PcdsFixedAtBuild.common]
272 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Virtualization Platform"
273
274 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
275 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
276 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
277 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
278 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
279 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
280 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
281 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
282
283 # DEBUG_ASSERT_ENABLED 0x01
284 # DEBUG_PRINT_ENABLED 0x02
285 # DEBUG_CODE_ENABLED 0x04
286 # CLEAR_MEMORY_ENABLED 0x08
287 # ASSERT_BREAKPOINT_ENABLED 0x10
288 # ASSERT_DEADLOOP_ENABLED 0x20
289!if $(TARGET) == RELEASE
290 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
291!else
292 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
293!endif
294
295 # DEBUG_INIT 0x00000001 // Initialization
296 # DEBUG_WARN 0x00000002 // Warnings
297 # DEBUG_LOAD 0x00000004 // Load events
298 # DEBUG_FS 0x00000008 // EFI File system
299 # DEBUG_POOL 0x00000010 // Alloc & Free's
300 # DEBUG_PAGE 0x00000020 // Alloc & Free's
Laszlo Ersekd3019912015-03-02 16:19:41 +0000301 # DEBUG_INFO 0x00000040 // Informational debug messages
302 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000303 # DEBUG_VARIABLE 0x00000100 // Variable
304 # DEBUG_BM 0x00000400 // Boot Manager
305 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
306 # DEBUG_NET 0x00004000 // SNI Driver
307 # DEBUG_UNDI 0x00010000 // UNDI Driver
308 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
309 # DEBUG_EVENT 0x00080000 // Event messages
310 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
311 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
Laszlo Ersekd3019912015-03-02 16:19:41 +0000312 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
313 # // significantly impact boot performance
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000314 # DEBUG_ERROR 0x80000000 // Error
Laszlo Ersekd3019912015-03-02 16:19:41 +0000315 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000316
317 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
318
319 #
320 # Optional feature to help prevent EFI memory map fragments
321 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
322 # Values are in EFI Pages (4K). DXE Core will make sure that
323 # at least this much of each type of memory can be allocated
324 # from a single memory range. This way you only end up with
325 # maximum of two fragements for each type in the memory map
326 # (the memory used, and the free memory that was prereserved
327 # but not used).
328 #
329 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
330 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
331 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
332 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50
333 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
335 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
338
339 #
340 # ARM Pcds
341 #
342 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
343
Ard Biesheuvel80f882a2015-05-07 15:22:31 +0000344!if $(SECURE_BOOT_ENABLE) == TRUE
345 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
346 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
347 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
348 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
349!endif
350
Michael Casadevall6f5872b2014-09-18 18:11:24 +0000351[Components.common]
352 #
353 # Networking stack
354 #
355 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
356 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
357 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
358 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
359 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
360 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
361 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
362 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
363 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
364 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
365 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
366 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Laszlo Ersekda1ce6f2015-03-16 19:56:54 +0000367
368 #
369 # UEFI application (Shell Embedded Boot Loader)
370 #
371 ShellPkg/Application/Shell/Shell.inf {
372 <LibraryClasses>
373 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
374 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
375 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
376 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
377 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
378 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
379 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
380 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
381 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
382 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
383 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
384 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
385 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
386 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
387
388 <PcdsFixedAtBuild>
389 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
390 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
391 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
392 }