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