]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DuetPkg.dsc
add debug agent null instance in DSC file.
[mirror_edk2.git] / DuetPkg / DuetPkg.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
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
6dc19356 67 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
68\r
86c8520c
RN
69 #\r
70 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.\r
71 # If need status code output, do library instance overriden as below DxeMain.inf does\r
72 #\r
73 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
74 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
6dc19356 75\r
86c8520c
RN
76[LibraryClasses.common.DXE_CORE]\r
77 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
78 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
79 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
80 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
81 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
82\r
83[PcdsFixedAtBuild]\r
84 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0\r
85 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
86 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0\r
87\r
6bfbb5f0 88[PcdsFeatureFlag]\r
c943ee03
RN
89 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
90\r
23031904
RN
91[PcdsDynamicHii.common.DEFAULT]\r
92 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10 # Variable: L"Timeout"\r
93 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"ConOutConfig"|gDuetConsoleOutConfigGuid|0x0|80\r
94 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"ConOutConfig"|gDuetConsoleOutConfigGuid|0x4|25\r
95\r
86c8520c
RN
96###################################################################################################\r
97#\r
98# Components Section - list of the modules and components that will be processed by compilation\r
99# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
100#\r
101# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
102# into firmware volume images. This section is just a list of modules to compile from\r
103# source into UEFI-compliant binaries.\r
104# It is the FDF file that contains information on combining binary files into firmware\r
105# volume images, whose concept is beyond UEFI and is described in PI specification.\r
106# Binary modules do not need to be listed in this section, as they should be\r
107# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
108# Logo (Logo.bmp), and etc.\r
109# There may also be modules listed in this section that are not required in the FDF file,\r
110# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
111# generated for it, but the binary will not be put into any firmware volume.\r
112#\r
113###################################################################################################\r
114\r
6bfbb5f0 115[Components]\r
86c8520c
RN
116 DuetPkg/DxeIpl/DxeIpl.inf {\r
117 <LibraryClasses>\r
118 #\r
6dc19356 119 # If no following overriden for ReportStatusCodeLib library class,\r
86c8520c
RN
120 # All other module can *not* output debug information even they are use not NULL library\r
121 # instance for DebugLib and ReportStatusCodeLib\r
122 #\r
123 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
124 }\r
125\r
126 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
127 #\r
128 # Enable debug output for DxeCore module, this is a sample for how to enable debug output\r
129 # for a module. If need turn on debug output for other module, please copy following overriden\r
130 # PCD and library instance to other module's override section.\r
131 #\r
132 <PcdsFixedAtBuild>\r
133 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
134 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
135 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042\r
136 <LibraryClasses>\r
137 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
138 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf\r
139 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
140 }\r
91a6db79 141\r
86c8520c
RN
142 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
143 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
144 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
145 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
146\r
147 DuetPkg/FSVariable/FSVariable.inf\r
148 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
149 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
150 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
151 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
152 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
153 <LibraryClasses>\r
154 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
155 }\r
156 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
157 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
158\r
159 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
160 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
161 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
162 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
163 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
164\r
165\r
166 DuetPkg/SmbiosGenDxe/SmbiosGen.inf\r
167 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
168 DuetPkg/EfiLdr/EfiLdr.inf {\r
169 <LibraryClasses>\r
170 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
171 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
172 }\r
173 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
174 <LibraryClasses>\r
175 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
176 }\r
177 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
178 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
179 DuetPkg/CpuDxe/Cpu.inf\r
180 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
0e047a2a 181 DuetPkg/AcpiResetDxe/Reset.inf\r
86c8520c
RN
182 DuetPkg/LegacyMetronome/Metronome.inf\r
183\r
184 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
185 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
186 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
187 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
188 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
189 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
190\r
191 # IDE Support\r
192 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
193 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf\r
6dc19356 194\r
86c8520c
RN
195 # Usb Support\r
196 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
197 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
198 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
199 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
200 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
201\r
202 # ISA Support\r
203 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
204 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
205 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
206 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
207 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
208\r
209 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
210 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
211 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
212\r
213 # Bios Thunk\r
214 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf\r
215\r
216 #\r
217 # Sample Application\r
218 #\r
219 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
220\r
6bfbb5f0 221[BuildOptions]\r
86c8520c
RN
222 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR\r
223\r