]>
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, Intel Corporation. All rights reserved.\r | |
5 | #\r | |
6 | # This program and the accompanying materials\r | |
7 | # are licensed and made available under the terms and conditions of the BSD License\r | |
8 | # which accompanies this distribution. The full text of the license may be found at\r | |
9 | # http://opensource.org/licenses/bsd-license.php\r | |
10 | #\r | |
11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | #\r | |
14 | #\r | |
15 | \r | |
16 | [Defines]\r | |
17 | DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F\r | |
18 | DEFINE TTY_TERMINAL = FALSE\r | |
19 | \r | |
20 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r | |
21 | GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000\r | |
22 | GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000\r | |
23 | RVCT:*_*_ARM_DLINK_FLAGS = --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Align4K.sct\r | |
24 | \r | |
25 | [LibraryClasses.common]\r | |
26 | !if $(TARGET) == RELEASE\r | |
27 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
28 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
29 | !else\r | |
30 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
31 | UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r | |
32 | !endif\r | |
33 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
34 | \r | |
35 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
36 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
37 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
38 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
39 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
40 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
41 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
42 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
43 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
44 | \r | |
45 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
46 | HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf\r | |
47 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
48 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
49 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
50 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
51 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
52 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
53 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
54 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
55 | \r | |
56 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
57 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r | |
58 | \r | |
59 | #\r | |
60 | # Allow dynamic PCDs\r | |
61 | #\r | |
62 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
63 | \r | |
64 | # 1/123 faster than Stm or Vstm version\r | |
65 | #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
66 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r | |
67 | \r | |
68 | # Networking Requirements\r | |
69 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r | |
70 | DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r | |
71 | UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r | |
72 | IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r | |
73 | \r | |
74 | #\r | |
75 | # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.\r | |
76 | # This library provides the instrinsic functions such a compiler may generate calls to.\r | |
77 | #\r | |
78 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
79 | \r | |
80 | # Add support for GCC stack protector\r | |
81 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
82 | \r | |
83 | # ARM Architectural Libraries\r | |
84 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
85 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
86 | CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r | |
87 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r | |
88 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r | |
89 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r | |
90 | ArmGicArchLib|ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf\r | |
91 | ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.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 | EfiResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf\r | |
99 | \r | |
100 | # ARM PL031 RTC Driver\r | |
101 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r | |
102 | # ARM PL011 UART Driver\r | |
103 | PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf\r | |
104 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf\r | |
105 | \r | |
106 | #\r | |
107 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r | |
108 | # in the debugger will show load and unload commands for symbols. You can cut and paste this\r | |
109 | # into the command window to load symbols. We should be able to use a script to do this, but\r | |
110 | # the version of RVD I have does not support scripts accessing system memory.\r | |
111 | #\r | |
112 | #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
113 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r | |
114 | #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
115 | \r | |
116 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
117 | DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r | |
118 | \r | |
119 | # Flattened Device Tree (FDT) access library\r | |
120 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r | |
121 | \r | |
122 | # PCI Libraries\r | |
123 | PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r | |
124 | PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf\r | |
125 | \r | |
126 | # USB Libraries\r | |
127 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r | |
128 | \r | |
129 | XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf\r | |
130 | \r | |
131 | #\r | |
132 | # Secure Boot dependencies\r | |
133 | #\r | |
134 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
135 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r | |
136 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r | |
137 | TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r | |
138 | AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r | |
139 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r | |
140 | \r | |
141 | # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree\r | |
142 | PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r | |
143 | !else\r | |
144 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r | |
145 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
146 | !endif\r | |
147 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r | |
148 | \r | |
149 | [LibraryClasses.common.SEC]\r | |
150 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
151 | \r | |
152 | DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r | |
153 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf\r | |
154 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r | |
155 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
156 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
157 | PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
158 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
159 | \r | |
160 | [LibraryClasses.common.PEI_CORE]\r | |
161 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
162 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
163 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
164 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
165 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
166 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
167 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
168 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
169 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
170 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
171 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
172 | \r | |
173 | PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
174 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r | |
175 | \r | |
176 | [LibraryClasses.common.PEIM]\r | |
177 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
178 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
179 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
180 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
181 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
182 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
183 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
184 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
185 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
186 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r | |
187 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
188 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
189 | \r | |
190 | PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
191 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf\r | |
192 | \r | |
193 | [LibraryClasses.common.DXE_CORE]\r | |
194 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
195 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
196 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
197 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
198 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
199 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
200 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
201 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r | |
202 | \r | |
203 | [LibraryClasses.common.DXE_DRIVER]\r | |
204 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
205 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
206 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
207 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
208 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
209 | \r | |
210 | [LibraryClasses.common.UEFI_APPLICATION]\r | |
211 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
212 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
213 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
214 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
215 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
216 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
217 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
218 | \r | |
219 | [LibraryClasses.common.UEFI_DRIVER]\r | |
220 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
221 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
222 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
223 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
224 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
225 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
226 | \r | |
227 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
228 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
229 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
230 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
231 | \r | |
232 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
233 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r | |
234 | !endif\r | |
235 | \r | |
236 | [LibraryClasses.ARM]\r | |
237 | ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r | |
238 | \r | |
239 | [BuildOptions]\r | |
240 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
241 | \r | |
242 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
243 | \r | |
244 | ################################################################################\r | |
245 | #\r | |
246 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
247 | #\r | |
248 | ################################################################################\r | |
249 | \r | |
250 | [PcdsFeatureFlag.common]\r | |
251 | gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r | |
252 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r | |
253 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r | |
254 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r | |
255 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r | |
256 | \r | |
257 | #\r | |
258 | # Control what commands are supported from the UI\r | |
259 | # Turn these on and off to add features or save size\r | |
260 | #\r | |
261 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r | |
262 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r | |
263 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r | |
264 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r | |
265 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r | |
266 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r | |
267 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r | |
268 | \r | |
269 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r | |
270 | \r | |
271 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r | |
272 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r | |
273 | \r | |
274 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r | |
275 | \r | |
276 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r | |
277 | \r | |
278 | [PcdsFixedAtBuild.common]\r | |
279 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r | |
280 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r | |
281 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r | |
282 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r | |
283 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r | |
284 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r | |
285 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r | |
286 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r | |
287 | \r | |
288 | # DEBUG_ASSERT_ENABLED 0x01\r | |
289 | # DEBUG_PRINT_ENABLED 0x02\r | |
290 | # DEBUG_CODE_ENABLED 0x04\r | |
291 | # CLEAR_MEMORY_ENABLED 0x08\r | |
292 | # ASSERT_BREAKPOINT_ENABLED 0x10\r | |
293 | # ASSERT_DEADLOOP_ENABLED 0x20\r | |
294 | !if $(TARGET) == RELEASE\r | |
295 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r | |
296 | !else\r | |
297 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r | |
298 | !endif\r | |
299 | \r | |
300 | # DEBUG_INIT 0x00000001 // Initialization\r | |
301 | # DEBUG_WARN 0x00000002 // Warnings\r | |
302 | # DEBUG_LOAD 0x00000004 // Load events\r | |
303 | # DEBUG_FS 0x00000008 // EFI File system\r | |
304 | # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r | |
305 | # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r | |
306 | # DEBUG_INFO 0x00000040 // Informational debug messages\r | |
307 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r | |
308 | # DEBUG_VARIABLE 0x00000100 // Variable\r | |
309 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
310 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
311 | # DEBUG_NET 0x00004000 // SNP Driver\r | |
312 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r | |
313 | # DEBUG_LOADFILE 0x00020000 // LoadFile\r | |
314 | # DEBUG_EVENT 0x00080000 // Event messages\r | |
315 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r | |
316 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r | |
317 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r | |
318 | # // significantly impact boot performance\r | |
319 | # DEBUG_ERROR 0x80000000 // Error\r | |
320 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)\r | |
321 | \r | |
322 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r | |
323 | \r | |
324 | #\r | |
325 | # Optional feature to help prevent EFI memory map fragments\r | |
326 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r | |
327 | # Values are in EFI Pages (4K). DXE Core will make sure that\r | |
328 | # at least this much of each type of memory can be allocated\r | |
329 | # from a single memory range. This way you only end up with\r | |
330 | # maximum of two fragements for each type in the memory map\r | |
331 | # (the memory used, and the free memory that was prereserved\r | |
332 | # but not used).\r | |
333 | #\r | |
334 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r | |
335 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r | |
336 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r | |
337 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
338 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600\r | |
339 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400\r | |
340 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500\r | |
341 | !else\r | |
342 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300\r | |
343 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150\r | |
344 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000\r | |
345 | !endif\r | |
346 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000\r | |
347 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r | |
348 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r | |
349 | \r | |
350 | #\r | |
351 | # ARM Pcds\r | |
352 | #\r | |
353 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000\r | |
354 | \r | |
355 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
356 | # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r | |
357 | gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r | |
358 | gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r | |
359 | gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r | |
360 | !endif\r | |
361 | \r | |
362 | !if $(TTY_TERMINAL) == TRUE\r | |
363 | # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID\r | |
364 | gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}\r | |
365 | !endif\r | |
366 | \r | |
367 | [PcdsFixedAtBuild.ARM]\r | |
368 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|40\r | |
369 | \r | |
370 | [Components.common]\r | |
371 | #\r | |
372 | # Networking stack\r | |
373 | #\r | |
374 | MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r | |
375 | MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r | |
376 | MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r | |
377 | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r | |
378 | MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r | |
379 | MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r | |
380 | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r | |
381 | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r | |
382 | MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r | |
383 | MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r | |
384 | MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r | |
385 | \r | |
386 | #\r | |
387 | # UEFI application (Shell Embedded Boot Loader)\r | |
388 | #\r | |
389 | ShellPkg/Application/Shell/Shell.inf {\r | |
390 | <LibraryClasses>\r | |
391 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
392 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
393 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
394 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
395 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
396 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
397 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
398 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
399 | NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r | |
400 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r | |
401 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
402 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r | |
403 | \r | |
404 | <PcdsFixedAtBuild>\r | |
405 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
406 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
407 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
408 | }\r |