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