]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/EmbeddedPkg.dsc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.dsc
CommitLineData
1e57a462 1#/** @file\r
2# Embedded Package\r
3#\r
4#\r
edc37612 5# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>\r
04f1a709 6# Copyright (c) 2012-2015, ARM Ltd. All rights reserved.<BR>\r
2b18c281 7# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
1e57a462 8#\r
878b807a 9# SPDX-License-Identifier: BSD-2-Clause-Patent\r
1e57a462 10#\r
11#**/\r
12\r
13################################################################################\r
14#\r
15# Defines Section - statements that will be processed to create a Makefile.\r
16#\r
17################################################################################\r
18[Defines]\r
19 PLATFORM_NAME = Embedded\r
20 PLATFORM_GUID = 8DBB580B-CF89-4D57-95C6-DFE96C44686E\r
21 PLATFORM_VERSION = 0.1\r
22 DSC_SPECIFICATION = 0x00010005\r
23 OUTPUT_DIRECTORY = Build/Embedded\r
cb9ee5a1 24 SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64\r
a50aa9dd 25 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
1e57a462 26 SKUID_IDENTIFIER = DEFAULT\r
1e57a462 27\r
28\r
29################################################################################\r
30#\r
31# SKU Identification section - list of all SKU IDs supported by this\r
32# Platform.\r
33#\r
34################################################################################\r
35[SkuIds]\r
36 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.\r
37\r
38################################################################################\r
39#\r
40# Library Class section - list of all Library Classes needed by this Platform.\r
41#\r
42################################################################################\r
edc37612
DB
43\r
44!include MdePkg/MdeLibs.dsc.inc\r
45\r
1e57a462 46[LibraryClasses.common]\r
47# DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
48 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
49\r
3402aac7 50\r
fa74dd22 51 AndroidBootImgLib|EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf\r
1e57a462 52 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
53 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
54 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
55 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
56 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
57 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
3402aac7 58\r
2c1cc129 59 ReportStatusCodeLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
3402aac7 60\r
1e57a462 61 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
62 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
63 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
64 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
65 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
3402aac7 66\r
9db0a779 67 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
1e57a462 68 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
69 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
70 GdbSerialLib|EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
71\r
72\r
73 #\r
74 # Need to change this for IPF\r
75 #\r
76 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
3402aac7 77\r
1e57a462 78 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
79 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
80 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
1abf9f05 81 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
1e57a462 82 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
83 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
84 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
85 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
86\r
87 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
88 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
89 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
90\r
1e57a462 91 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
f6755908 92\r
3356211b 93 AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r
f6755908 94 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
1e57a462 95\r
3c1e53ce
RC
96 # Shell libraries\r
97 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
98 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
99 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
100\r
46f2c53b 101 # Networking Requirements\r
48f43c2c 102 !include NetworkPkg/NetworkLibs.dsc.inc\r
46f2c53b 103 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
3402aac7 104 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
46f2c53b 105\r
4c725c89
AB
106 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
107 DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf\r
108\r
fabeffb0
LL
109 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r
110\r
1e57a462 111[LibraryClasses.common.DXE_DRIVER]\r
112 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
f0b81665 113 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
1e57a462 114\r
115\r
116[LibraryClasses.common.UEFI_APPLICATION]\r
117 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
f0b81665 118 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
1e57a462 119\r
120[LibraryClasses.common.UEFI_DRIVER]\r
121 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
f0b81665 122 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
3402aac7 123\r
1e57a462 124[LibraryClasses.common.SEC]\r
125 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
126\r
35a3e762 127[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
f6755908
OM
128 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
129 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
1e57a462 130 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
1e57a462 131 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
132\r
bd1d0628
OM
133 # Add support for GCC stack protector\r
134 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
135\r
4af5227c 136 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
1e57a462 137\r
138################################################################################\r
139#\r
140# Pcd Section - list of all PCD Entries defined by this Platform\r
141#\r
142################################################################################\r
143\r
144[PcdsFeatureFlag.common]\r
145 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE\r
146 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE\r
147 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE\r
148 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE\r
3402aac7 149\r
1e57a462 150 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE\r
151\r
152\r
153[PcdsFixedAtBuild.common]\r
154 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
155 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
156 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
157 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
158 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
159 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
160 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
161 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
162 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0\r
163 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
164 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
165 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
166 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
167 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
168 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
169 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
3402aac7 170\r
1e57a462 171 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0\r
172 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0\r
173\r
174#\r
175# Optinal feature to help prevent EFI memory map fragments\r
176# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
3402aac7
RC
177# Values are in EFI Pages (4K). DXE Core will make sure that\r
178# at least this much of each type of memory can be allocated\r
1e57a462 179# from a single memory range. This way you only end up with\r
c6a72cd7 180# maximum of two fragments for each type in the memory map\r
1e57a462 181# (the memory used, and the free memory that was prereserved\r
182# but not used).\r
183#\r
184 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
185 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
186 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
187 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0\r
188 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0\r
189 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0\r
190 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0\r
191 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0\r
192 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
193\r
194#\r
195# Timer config for this platform\r
196#\r
197 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000\r
198 gEmbeddedTokenSpaceGuid.PcdTimerVector|7\r
199 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
200\r
f6755908 201[BuildOptions]\r
2b18c281 202 *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
1e57a462 203\r
204################################################################################\r
205#\r
206# Components Section - list of all Modules needed by this Platform\r
207#\r
208################################################################################\r
209[Components.common]\r
3402aac7
RC
210 EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf\r
211 EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
1e57a462 212 EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
213 EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
1e57a462 214 EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
215 EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
7385d254 216 EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf\r
723102c7 217 EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf\r
4c725c89 218 EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf\r
64a17fad 219 EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf\r
1e57a462 220\r
1e57a462 221 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r
1e57a462 222 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
223 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
1e57a462 224 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r
eff98cf9
OM
225 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf {\r
226 <LibraryClasses>\r
227 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
228 }\r
1e57a462 229\r
230 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
1e57a462 231\r
ff862823
AB
232 EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r
233 EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r
ff862823 234 EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
ff862823
AB
235 EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
236 EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
237\r
a7912d4a 238 EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf\r
f07cc458 239 EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf\r
e40fefaf 240 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf\r
f07cc458 241\r
49054b6b
AB
242 EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.inf {\r
243 <LibraryClasses>\r
244 DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf\r
245 }\r
246\r
5202e6c9
LL
247[Components.ARM, Components.AARCH64]\r
248 EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.inf\r
a64d5872 249 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf\r
5202e6c9
LL
250 EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r
251 EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf\r
252\r
cb9ee5a1 253[Components.IA32, Components.X64, Components.ARM]\r
35a3e762 254 EmbeddedPkg/GdbStub/GdbStub.inf\r