Clean up DEC files:
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dsc
1 ## @file
2 # EFI/PI Reference Module Package for All Architectures
3 #
4 # Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
5 #
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
10 #
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.
13 #
14 ##
15
16 [Defines]
17 PLATFORM_NAME = MdeModule
18 PLATFORM_GUID = 587CE499-6CBE-43cd-94E2-186218569478
19 PLATFORM_VERSION = 0.91
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/MdeModule
22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC|ARM
23 BUILD_TARGETS = DEBUG|RELEASE
24 SKUID_IDENTIFIER = DEFAULT
25
26 [LibraryClasses]
27 #
28 # Entry point
29 #
30 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
31 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
32 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
33 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
34 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
35 #
36 # Basic
37 #
38 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
39 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
40 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
41 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
42 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
43 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
44 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
45 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
46 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
47 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
48 #
49 # UEFI & PI
50 #
51 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
52 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
53 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
54 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
55 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
56 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
57 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
58 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
59 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
60 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
61 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
62 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
63 #
64 # Generic Modules
65 #
66 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
67 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
68 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
69 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
70 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
71 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
72 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
73 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
74 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
75 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
76 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
77 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
78 PalLib|MdePkg/Library/BasePalLibNull/BasePalLibNull.inf
79 #
80 # Misc
81 #
82 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
83 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
84 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
85 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
86 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
87 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
88 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
89
90 [LibraryClasses.EBC.PEIM]
91 IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
92
93 [LibraryClasses.common.PEI_CORE]
94 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
95 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
96
97 [LibraryClasses.common.PEIM]
98 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
99 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
100 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
101
102 [LibraryClasses.common.DXE_CORE]
103 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
104 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
105 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
106
107 [LibraryClasses.common.DXE_DRIVER]
108 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
109 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
110
111 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
112 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
113 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
114 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
115
116 [LibraryClasses.common.SMM_CORE]
117 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
118 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
119
120 [LibraryClasses.common.DXE_SMM_DRIVER]
121 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
122 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
123 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
124 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
125
126 [LibraryClasses.common.UEFI_DRIVER]
127 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
128 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
129 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
130
131 [LibraryClasses.common.UEFI_APPLICATION]
132 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
133 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
134 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
135
136 [LibraryClasses.ARM]
137 #
138 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
139 # This library provides the instrinsic functions generate by a given compiler.
140 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
141 #
142 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
143
144
145 [PcdsFeatureFlag]
146 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
147 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
148 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
149 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|FALSE
150 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|FALSE
151
152 [PcdsFixedAtBuild]
153 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
154 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
155 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
156 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
157 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|28
158
159 [PcdsFixedAtBuild.IPF]
160 gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000
161
162 ###################################################################################################
163 #
164 # Components Section - list of the modules and components that will be processed by compilation
165 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
166 #
167 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
168 # into firmware volume images. This section is just a list of modules to compile from
169 # source into UEFI-compliant binaries.
170 # It is the FDF file that contains information on combining binary files into firmware
171 # volume images, whose concept is beyond UEFI and is described in PI specification.
172 # Binary modules do not need to be listed in this section, as they should be
173 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
174 # Logo (Logo.bmp), and etc.
175 # There may also be modules listed in this section that are not required in the FDF file,
176 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
177 # generated for it, but the binary will not be put into any firmware volume.
178 #
179 ###################################################################################################
180
181 [Components]
182 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
183
184 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
185 MdeModulePkg/Bus/Pci/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupportDxe.inf
186 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
187 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
188 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
189 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
190 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
191 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
192 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
193 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
194 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
195 MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointerDxe.inf
196 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
197
198 MdeModulePkg/Core/Dxe/DxeMain.inf {
199 <LibraryClasses>
200 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
201 }
202 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
203 MdeModulePkg/Core/Pei/PeiMain.inf
204 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
205
206 MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
207 MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
208 MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
209 MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
210 MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
211 MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
212 MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
213 MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
214 MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
215 MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
216 MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
217 MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf
218 MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf
219 MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
220 MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
221 MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
222 MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
223 MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
224 MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
225 MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
226 MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
227 MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
228 MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.inf
229
230 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
231 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
232 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
233 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
234 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
235 MdeModulePkg/Universal/DebugPortDxe/DebugPortDxe.inf
236 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
237 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
238 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
239 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
240 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
241 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
242 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
243 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
244 MdeModulePkg/Universal/Metronome/Metronome.inf
245 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
246 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
247
248 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
249 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
250 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
251 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
252 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
253 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
254 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
255 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
256 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
257 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
258 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
259 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
260
261 MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2Pei.inf
262 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
263 MdeModulePkg/Universal/PCD/Pei/Pcd.inf
264 MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
265
266 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
267 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
268
269 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
270 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
271 MdeModulePkg/Application/VariableInfo/VariableInfo.inf
272 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
273 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
274 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
275 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
276
277 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
278 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
279 MdeModulePkg/Universal/HiiResourcesSampleDxe/HiiResourcesSampleDxe.inf
280 MdeModulePkg/Universal/LegacyRegion2Dxe/LegacyRegion2Dxe.inf
281
282 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
283 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
284
285 [Components.IA32, Components.X64, Components.IPF]
286 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
287 MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf
288 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
289
290 [Components.IA32, Components.X64, Components.Ebc]
291 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
292 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
293
294 [Components.IA32, Components.X64]
295 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
296 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
297 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
298 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
299 MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
300 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf
301 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
302 MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
303 MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
304 MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf
305