A few more header fixes
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.dsc
1 #/** @file
2 # Embedded Package
3 #
4 #
5 # Copyright (c) 2007, Intel Corporation
6 #
7 # All rights reserved. This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 #**/
16
17 ################################################################################
18 #
19 # Defines Section - statements that will be processed to create a Makefile.
20 #
21 ################################################################################
22 [Defines]
23 PLATFORM_NAME = Embedded
24 PLATFORM_GUID = 8DBB580B-CF89-4D57-95C6-DFE96C44686E
25 PLATFORM_VERSION = 0.1
26 DSC_SPECIFICATION = 0x00010005
27 OUTPUT_DIRECTORY = Build/Embedded
28 SUPPORTED_ARCHITECTURES = IA32|X64|IPF|ARM
29 BUILD_TARGETS = DEBUG|RELEASE
30 SKUID_IDENTIFIER = DEFAULT
31 FLASH_DEFINITION = EmbeddedPkg/EmbeddedPkg.fdf
32
33
34 ################################################################################
35 #
36 # SKU Identification section - list of all SKU IDs supported by this
37 # Platform.
38 #
39 ################################################################################
40 [SkuIds]
41 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
42
43 ################################################################################
44 #
45 # Library Class section - list of all Library Classes needed by this Platform.
46 #
47 ################################################################################
48 [LibraryClasses.common]
49 # DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
50 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
51
52
53 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
54 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
55 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
56 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
57 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
58 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
59 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
60
61 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
62
63 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
64
65 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
66 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
67 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
68 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
69 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
70
71 SerialPortLib|EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.inf
72 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
73 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
74 GdbSerialLib|EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf
75
76
77 #
78 # Need to change this for IPF
79 #
80 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
81
82 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
83 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
84 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
85 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
86 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
87 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
88 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
89
90 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
91 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
92 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
93
94
95 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
96 EblCmdLib|EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf
97
98 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
99
100
101 [LibraryClasses.common.DXE_DRIVER]
102 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
103 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
104
105
106 [LibraryClasses.common.UEFI_APPLICATION]
107 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
108 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
109
110 [LibraryClasses.common.UEFI_DRIVER]
111 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
112 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
113
114 [LibraryClasses.common.SEC]
115 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
116
117 [LibraryClasses.ARM]
118 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
119
120 ################################################################################
121 #
122 # Pcd Section - list of all PCD Entries defined by this Platform
123 #
124 ################################################################################
125
126 [PcdsFeatureFlag.common]
127 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE
128 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE
129 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE
130 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE
131
132 #
133 # Control what commands are supported from the UI
134 # Turn these on and off to add features or save size
135 #
136 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
137 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
138 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
139 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
140 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
141 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
142 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
143
144 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE
145
146
147 [PcdsFixedAtBuild.common]
148 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
149 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
150 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
151 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
152 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
153 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
154 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
155 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
156 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0
157 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
158 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
159 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000
160 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
161 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
162 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
163 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000
164 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""|VOID*|2
165 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
166 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
167
168 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0
169 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0
170 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0
171 gEmbeddedTokenSpaceGuid.PcdPrePiTempMemorySize|0
172 gEmbeddedTokenSpaceGuid.PcdPrePiBfvBaseAddress|0
173 gEmbeddedTokenSpaceGuid.PcdPrePiBfvSize|0
174
175 #
176 # Optinal feature to help prevent EFI memory map fragments
177 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
178 # Values are in EFI Pages (4K). DXE Core will make sure that
179 # at least this much of each type of memory can be allocated
180 # from a single memory range. This way you only end up with
181 # maximum of two fragements for each type in the memory map
182 # (the memory used, and the free memory that was prereserved
183 # but not used).
184 #
185 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
186 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
187 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
188 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0
189 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0
190 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0
191 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0
192 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0
193 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
194
195 #
196 # Timer config for this platform
197 #
198 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000
199 gEmbeddedTokenSpaceGuid.PcdTimerVector|7
200 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
201
202
203 [PcdsFixedAtBuild.ARM]
204 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
205 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
206
207 [PcdsFixedAtBuild.IA32]
208 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|36
209 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16
210
211 [PcdsFixedAtBuild.X64]
212 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|52
213 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16
214
215
216
217 [PcdsFixedAtBuild.IPF]
218 gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000
219
220 #
221 # This makes it so you can source level debug with NT32. VC++ debugger limitiation!
222 #
223 #[BuildOptions]
224 # DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /SUBSYSTEM:CONSOLE
225 # RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096
226 # *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006
227
228
229 ################################################################################
230 #
231 # Components Section - list of all Modules needed by this Platform
232 #
233 ################################################################################
234 [Components.common]
235 EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
236 EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf
237 EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
238 EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf # ApplePkg
239 EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf # ApplePkg
240 EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
241 EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
242 EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.inf
243 EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
244 EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
245
246 ####ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf ???
247
248
249 EmbeddedPkg/Ebl/Ebl.inf
250 #### EmbeddedPkg/EblExternCmd/EblExternCmd.inf
251 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
252 EmbeddedPkg/GdbStub/GdbStub.inf
253 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
254 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
255 EmbeddedPkg/SerialDxe/SerialDxe.inf
256 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
257 EmbeddedPkg/TemplateBds/TemplateBds.inf
258 EmbeddedPkg/TemplateCpuDxe/TemplateCpuDxe.inf
259 EmbeddedPkg/TemplateMetronomeDxe/TemplateMetronomeDxe.inf
260 EmbeddedPkg/TemplateSec/TemplateSec.inf
261 EmbeddedPkg/TemplateTimerDxe/TemplateTimerDxe.inf
262
263
264
265