2 # Copyright (c) 2011-2015, ARM Limited. All rights reserved.
3 # Copyright (c) 2014, Linaro Limited. All rights reserved.
4 # Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
18 DEFINE TTY_TERMINAL = FALSE
20 [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
21 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
23 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
24 GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
25 GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
26 RVCT:*_*_ARM_DLINK_FLAGS = --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Align4K.sct
28 [LibraryClasses.common]
29 !if $(TARGET) == RELEASE
30 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
32 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
34 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
36 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
37 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
38 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
39 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
40 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
41 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
42 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
43 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
44 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf
45 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
46 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
48 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
49 HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf
50 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
51 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
52 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
53 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
54 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
55 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
56 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
57 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
58 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
59 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
60 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
61 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
63 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
64 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
67 # Ramdisk Requirements
69 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
73 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
75 # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below
76 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
78 # Networking Requirements
79 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
80 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
81 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
82 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
83 !if $(NETWORK_IP6_ENABLE) == TRUE
84 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
86 !if $(HTTP_BOOT_ENABLE) == TRUE
87 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
91 # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.
92 # This library provides the instrinsic functions such a compiler may generate calls to.
94 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
96 # Add support for GCC stack protector
97 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
99 # ARM Architectural Libraries
100 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
101 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
102 CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
103 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
104 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
105 ArmGicArchLib|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf
106 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
107 ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
108 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
110 PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
111 MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf
112 ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf
114 # ARM PL031 RTC Driver
115 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
116 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
117 # ARM PL011 UART Driver
118 PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
119 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf
122 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
123 # in the debugger will show load and unload commands for symbols. You can cut and paste this
124 # into the command window to load symbols. We should be able to use a script to do this, but
125 # the version of RVD I have does not support scripts accessing system memory.
127 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
128 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
129 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
131 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
132 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
134 # Flattened Device Tree (FDT) access library
135 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
138 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
139 PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
140 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
141 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
142 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
145 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
147 XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
150 # CryptoPkg libraries needed by multiple firmware features
152 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
153 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
154 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
157 # Secure Boot dependencies
159 !if $(SECURE_BOOT_ENABLE) == TRUE
160 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
161 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
163 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
164 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
166 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
167 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
169 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
170 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
172 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
174 [LibraryClasses.common.SEC]
175 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
176 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
178 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
179 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
180 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
181 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
182 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
183 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
184 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
186 [LibraryClasses.common.PEI_CORE]
187 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
188 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
189 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
190 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
191 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
192 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
193 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
194 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
195 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
196 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
197 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
199 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
200 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
202 [LibraryClasses.common.PEIM]
203 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
204 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
205 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
206 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
207 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
208 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
209 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
210 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
211 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
212 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
213 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
215 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
216 SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
218 [LibraryClasses.common.DXE_CORE]
219 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
220 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
221 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
222 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
223 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
224 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
226 [LibraryClasses.common.DXE_DRIVER]
227 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
228 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
229 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
231 [LibraryClasses.common.UEFI_APPLICATION]
232 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
233 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
234 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
235 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
237 [LibraryClasses.common.UEFI_DRIVER]
238 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
239 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
240 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
241 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
243 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
244 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
245 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
246 !if $(TARGET) != RELEASE
247 DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
250 !if $(SECURE_BOOT_ENABLE) == TRUE
251 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
255 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
258 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
260 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
263 # Disable deprecated APIs.
265 RVCT:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
266 GCC:*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
268 ################################################################################
270 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
272 ################################################################################
274 [PcdsFeatureFlag.common]
275 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
277 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
278 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
280 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
282 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
284 [PcdsFeatureFlag.AARCH64]
286 # Activate AcpiSdtProtocol
288 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
290 [PcdsFixedAtBuild.common]
291 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
292 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
293 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
294 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
295 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
296 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
297 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
299 # DEBUG_ASSERT_ENABLED 0x01
300 # DEBUG_PRINT_ENABLED 0x02
301 # DEBUG_CODE_ENABLED 0x04
302 # CLEAR_MEMORY_ENABLED 0x08
303 # ASSERT_BREAKPOINT_ENABLED 0x10
304 # ASSERT_DEADLOOP_ENABLED 0x20
305 !if $(TARGET) == RELEASE
306 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
308 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
311 # DEBUG_INIT 0x00000001 // Initialization
312 # DEBUG_WARN 0x00000002 // Warnings
313 # DEBUG_LOAD 0x00000004 // Load events
314 # DEBUG_FS 0x00000008 // EFI File system
315 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
316 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
317 # DEBUG_INFO 0x00000040 // Informational debug messages
318 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
319 # DEBUG_VARIABLE 0x00000100 // Variable
320 # DEBUG_BM 0x00000400 // Boot Manager
321 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
322 # DEBUG_NET 0x00004000 // SNP Driver
323 # DEBUG_UNDI 0x00010000 // UNDI Driver
324 # DEBUG_LOADFILE 0x00020000 // LoadFile
325 # DEBUG_EVENT 0x00080000 // Event messages
326 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
327 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
328 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
329 # // significantly impact boot performance
330 # DEBUG_ERROR 0x80000000 // Error
331 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
334 # Optional feature to help prevent EFI memory map fragments
335 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
336 # Values are in EFI Pages (4K). DXE Core will make sure that
337 # at least this much of each type of memory can be allocated
338 # from a single memory range. This way you only end up with
339 # maximum of two fragements for each type in the memory map
340 # (the memory used, and the free memory that was prereserved
343 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
344 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
345 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
346 !if $(SECURE_BOOT_ENABLE) == TRUE
347 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
348 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
349 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
351 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
352 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
353 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
355 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
356 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
357 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
359 !if $(SECURE_BOOT_ENABLE) == TRUE
360 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
361 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
362 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
363 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
366 !if $(TTY_TERMINAL) == TRUE
367 # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID
368 gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}
372 # Enable strict image permissions for all images. (This applies
373 # only to images that were built with >= 4 KB section alignment.)
375 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3
378 # Enable NX memory protection for all non-code regions, including OEM and OS
379 # reserved ones, with the exception of LoaderData regions, of which OS loaders
380 # (i.e., GRUB) may assume that its contents are executable.
382 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1
385 # Enable the non-executable DXE stack. (This gets set up by DxeIpl)
387 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
393 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
396 # UEFI application (Shell Embedded Boot Loader)
398 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
400 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
402 ShellPkg/Application/Shell/Shell.inf {
404 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
405 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
406 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
407 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
408 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
409 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
410 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
411 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
412 !if $(NETWORK_IP6_ENABLE) == TRUE
413 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
415 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
416 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
417 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
420 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
421 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
422 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
429 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {
431 NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
437 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf