]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DuetPkg.dsc
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
[mirror_edk2.git] / DuetPkg / DuetPkg.dsc
CommitLineData
6bfbb5f0 1## @file\r
9f485cc7 2# An EFI/Framework Emulation Platform with UEFI HII interface supported. \r
3#\r
4# Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS, \r
5# to help developing and debugging native EFI/UEFI drivers.\r
6# \r
6bfbb5f0 7# Copyright (c) 2010 - 2010, 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
RN
18\r
19[Defines]\r
20 PLATFORM_NAME = DuetPkg\r
21 PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72\r
22 PLATFORM_VERSION = 0.3\r
23 DSC_SPECIFICATION = 0x00010005\r
24 OUTPUT_DIRECTORY = Build/DuetPkg\r
25 SUPPORTED_ARCHITECTURES = IA32|X64\r
26 BUILD_TARGETS = DEBUG\r
27 SKUID_IDENTIFIER = DEFAULT\r
28 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf\r
29\r
6bfbb5f0 30[LibraryClasses]\r
86c8520c
RN
31 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
32 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
33 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
34 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
35 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
36 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
37 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
38 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
39 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
40 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
41 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
42 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
43 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
44 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
45 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
46 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
47 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
48 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf\r
49 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
50 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
51 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
52 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
53 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
54 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
55 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
56 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
57 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
58 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
59 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
0e047a2a
RN
60 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
61 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
86c8520c
RN
62 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf\r
63 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
64 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
65 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
66 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
67 \r
68 #\r
69 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.\r
70 # If need status code output, do library instance overriden as below DxeMain.inf does\r
71 #\r
72 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
73 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
74 \r
75[LibraryClasses.common.DXE_CORE]\r
76 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
77 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
78 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
79 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
80 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
81\r
82[PcdsFixedAtBuild]\r
83 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0\r
84 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
85 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0\r
86\r
6bfbb5f0 87[PcdsFeatureFlag]\r
c943ee03
RN
88 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
89\r
23031904
RN
90[PcdsDynamicHii.common.DEFAULT]\r
91 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10 # Variable: L"Timeout"\r
92 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"ConOutConfig"|gDuetConsoleOutConfigGuid|0x0|80\r
93 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"ConOutConfig"|gDuetConsoleOutConfigGuid|0x4|25\r
94\r
86c8520c
RN
95###################################################################################################\r
96#\r
97# Components Section - list of the modules and components that will be processed by compilation\r
98# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
99#\r
100# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
101# into firmware volume images. This section is just a list of modules to compile from\r
102# source into UEFI-compliant binaries.\r
103# It is the FDF file that contains information on combining binary files into firmware\r
104# volume images, whose concept is beyond UEFI and is described in PI specification.\r
105# Binary modules do not need to be listed in this section, as they should be\r
106# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
107# Logo (Logo.bmp), and etc.\r
108# There may also be modules listed in this section that are not required in the FDF file,\r
109# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
110# generated for it, but the binary will not be put into any firmware volume.\r
111#\r
112###################################################################################################\r
113\r
6bfbb5f0 114[Components]\r
86c8520c
RN
115 DuetPkg/DxeIpl/DxeIpl.inf {\r
116 <LibraryClasses>\r
117 #\r
118 # If no following overriden for ReportStatusCodeLib library class, \r
119 # All other module can *not* output debug information even they are use not NULL library\r
120 # instance for DebugLib and ReportStatusCodeLib\r
121 #\r
122 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
123 }\r
124\r
125 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
126 #\r
127 # Enable debug output for DxeCore module, this is a sample for how to enable debug output\r
128 # for a module. If need turn on debug output for other module, please copy following overriden\r
129 # PCD and library instance to other module's override section.\r
130 #\r
131 <PcdsFixedAtBuild>\r
132 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
133 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
134 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042\r
135 <LibraryClasses>\r
136 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
137 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf\r
138 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
139 }\r
91a6db79 140\r
86c8520c
RN
141 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
142 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
143 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
144 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
145\r
146 DuetPkg/FSVariable/FSVariable.inf\r
147 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
148 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
149 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
150 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
151 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
152 <LibraryClasses>\r
153 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
154 }\r
155 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
156 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
157\r
158 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
159 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
160 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
161 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
162 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
163\r
164\r
165 DuetPkg/SmbiosGenDxe/SmbiosGen.inf\r
166 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
167 DuetPkg/EfiLdr/EfiLdr.inf {\r
168 <LibraryClasses>\r
169 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
170 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
171 }\r
172 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
173 <LibraryClasses>\r
174 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
175 }\r
176 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
177 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
178 DuetPkg/CpuDxe/Cpu.inf\r
179 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
0e047a2a 180 DuetPkg/AcpiResetDxe/Reset.inf\r
86c8520c
RN
181 DuetPkg/LegacyMetronome/Metronome.inf\r
182\r
183 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
184 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
185 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
186 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
187 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
188 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
189\r
190 # IDE Support\r
191 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
192 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf\r
193 \r
194 # Usb Support\r
195 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
196 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
197 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
198 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
199 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
200\r
201 # ISA Support\r
202 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
203 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
204 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
205 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
206 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
207\r
208 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
209 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
210 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
211\r
212 # Bios Thunk\r
213 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf\r
214\r
215 #\r
216 # Sample Application\r
217 #\r
218 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
219\r
6bfbb5f0 220[BuildOptions]\r
86c8520c
RN
221 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR\r
222\r