]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkgX64.dsc
EDK II Packages: Add Contributions.txt and License.txt files
[mirror_edk2.git] / DuetPkg / DuetPkgX64.dsc
1 ## @file
2 # An EFI/Framework Emulation Platform with UEFI HII interface supported.
3 #
4 # Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS,
5 # to help developing and debugging native EFI/UEFI drivers.
6 #
7 # Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
8 #
9 # This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 #
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 ##
18
19 ################################################################################
20 #
21 # Defines Section - statements that will be processed to create a Makefile.
22 #
23 ################################################################################
24 [Defines]
25 PLATFORM_NAME = DuetPkg
26 PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72
27 PLATFORM_VERSION = 0.4
28 DSC_SPECIFICATION = 0x00010005
29 OUTPUT_DIRECTORY = Build/DuetPkgX64
30 SUPPORTED_ARCHITECTURES = X64
31 BUILD_TARGETS = DEBUG
32 SKUID_IDENTIFIER = DEFAULT
33 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf
34
35 ################################################################################
36 #
37 # Library Class section - list of all Library Classes needed by this Platform.
38 #
39 ################################################################################
40 [LibraryClasses]
41 #
42 # Entry point
43 #
44 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
45 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
47 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
48 #
49 # Basic
50 #
51 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
52 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
53 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
54 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
55 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
56 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
57 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
58 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
59 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
60 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
61 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
62 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
63 #
64 # UEFI & PI
65 #
66 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
67 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
68 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
69 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
70 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
71 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
72 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
73 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
74 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
75 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
76
77 #
78 # Generic Modules
79 #
80 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
81 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
82 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
83 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
84 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
85 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
86 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
87 #
88 # Platform
89 #
90 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
91 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
92 #
93 # Misc
94 #
95 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
96 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
97 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
98 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
99 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
100 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
101 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
102 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
103 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
104 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
105 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
106
107
108 #
109 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.
110 # If need status code output, do library instance overriden as below DxeMain.inf does
111 #
112 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
113 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
114 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
115
116 [LibraryClasses.common.DXE_CORE]
117 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
118 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
119
120 ################################################################################
121 #
122 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
123 #
124 ################################################################################
125 [PcdsFixedAtBuild]
126 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0
127 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
128 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0
129 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
130
131 [PcdsFeatureFlag]
132 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
133
134 ###################################################################################################
135 #
136 # Components Section - list of the modules and components that will be processed by compilation
137 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
138 #
139 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
140 # into firmware volume images. This section is just a list of modules to compile from
141 # source into UEFI-compliant binaries.
142 # It is the FDF file that contains information on combining binary files into firmware
143 # volume images, whose concept is beyond UEFI and is described in PI specification.
144 # Binary modules do not need to be listed in this section, as they should be
145 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
146 # Logo (Logo.bmp), and etc.
147 # There may also be modules listed in this section that are not required in the FDF file,
148 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
149 # generated for it, but the binary will not be put into any firmware volume.
150 #
151 ###################################################################################################
152 [Components]
153 DuetPkg/DxeIpl/DxeIpl.inf {
154 <LibraryClasses>
155 #
156 # If no following overriden for ReportStatusCodeLib library class,
157 # All other module can *not* output debug information even they are use not NULL library
158 # instance for DebugLib and ReportStatusCodeLib
159 #
160 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
161 }
162
163 MdeModulePkg/Core/Dxe/DxeMain.inf {
164 #
165 # Enable debug output for DxeCore module, this is a sample for how to enable debug output
166 # for a module. If need turn on debug output for other module, please copy following overriden
167 # PCD and library instance to other module's override section.
168 #
169 <PcdsFixedAtBuild>
170 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
171 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
172 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
173 <LibraryClasses>
174 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
175 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
176 }
177
178 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
179 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
180 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
181 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
182
183 DuetPkg/FSVariable/FSVariable.inf
184 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
185 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
186 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
187 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
188 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
189 <LibraryClasses>
190 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
191 }
192 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
193 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
194
195 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
196 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
197 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
198 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
199
200
201 DuetPkg/SmbiosGenDxe/SmbiosGen.inf
202 #DuetPkg/FvbRuntimeService/DUETFwh.inf
203 DuetPkg/EfiLdr/EfiLdr.inf {
204 <LibraryClasses>
205 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
206 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
207 }
208 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
209 <LibraryClasses>
210 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
211 }
212 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
213 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
214 UefiCpuPkg/CpuDxe/CpuDxe.inf
215 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
216 DuetPkg/AcpiResetDxe/Reset.inf
217 DuetPkg/LegacyMetronome/Metronome.inf
218
219 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
220 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
221 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
222 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
223 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
224 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
225
226 # IDE/AHCI Support
227 DuetPkg/SataControllerDxe/SataControllerDxe.inf
228 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
229 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
230 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
231 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
232
233 # Usb Support
234 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
235 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
236 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
237 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
238 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
239
240 # ISA Support
241 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
242 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
243 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
244 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
245 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
246
247 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
248 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
249 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
250
251 # Bios Thunk
252 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
253
254 #
255 # Sample Application
256 #
257 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
258
259 ###################################################################################################
260 #
261 # BuildOptions Section - Define the module specific tool chain flags that should be used as
262 # the default flags for a module. These flags are appended to any
263 # standard flags that are defined by the build process. They can be
264 # applied for any modules or only those modules with the specific
265 # module style (EDK or EDKII) specified in [Components] section.
266 #
267 ###################################################################################################
268 [BuildOptions]
269 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
270