]> git.proxmox.com Git - mirror_edk2.git/blob - UnixPkg/UnixPkg.dsc
Prevent infinite recursion when ASSERT(), DEBUG(), or any other use of ReportStatusCo...
[mirror_edk2.git] / UnixPkg / UnixPkg.dsc
1 ## @file
2 #
3 # EFI/Framework Emulation Platform with UEFI HII interface supported.
4 #
5 # The Emulation Platform can be used to debug individual modules, prior to creating
6 # a real platform. This also provides an example for how an DSC is created.
7 # Copyright (c) 2006 - 2010, 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 = Unix
26 PLATFORM_GUID = 7b3c1fb4-8986-11db-b5b2-0040d02b1835
27 PLATFORM_VERSION = 0.3
28 DSC_ SPECIFICATION = 0x00010005
29 OUTPUT_DIRECTORY = Build/Unix
30 SUPPORTED_ARCHITECTURES = IA32
31 BUILD_TARGETS = DEBUG|RELEASE
32 SKUID_IDENTIFIER = DEFAULT
33 FLASH_DEFINITION = UnixPkg/UnixPkg.fdf
34
35 ################################################################################
36 #
37 # SKU Identification section - list of all SKU IDs supported by this Platform.
38 #
39 ################################################################################
40 [SkuIds]
41 0|DEFAULT
42
43 ################################################################################
44 #
45 # Library Class section - list of all Library Classes needed by this Platform.
46 #
47 ################################################################################
48 [LibraryClasses]
49 #
50 # Entry point
51 #
52 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
53 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
54 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
55 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
56 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
57 #
58 # Basic
59 #
60 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
61 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
62 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
63 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
64 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
65 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
66 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
67 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
68 #
69 # UEFI & PI
70 #
71 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
72 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
73 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
74 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
75 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
76 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
77 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
78 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
79 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
80 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
81 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
82 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
83 #
84 # Generic Modules
85 #
86 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
87 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
88 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
89 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
90 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
91 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
92 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
93 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
94 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
95 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
96 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
97 #
98 # Platform
99 #
100 PlatformBdsLib|UnixPkg/Library/UnixBdsLib/PlatformBds.inf
101 #
102 # Misc
103 #
104 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
105 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
106 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
107 SecDispatchTableLib|UnixPkg/Library/SecDispatchTableLib/SecDispatchTableLib.inf
108
109 [LibraryClasses.common.USER_DEFINED]
110 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
111 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
112 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
113 OemHookStatusCodeLib|UnixPkg/Library/PeiUnixOemHookStatusCodeLib/PeiUnixOemHookStatusCodeLib.inf
114 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
115
116 [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
117 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
118 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
119 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
120 PeCoffGetEntryPointLib|UnixPkg/Library/EdkUnixPeiPeCoffGetEntryPointLib/EdkUnixPeiPeCoffGetEntryPointLib.inf
121 PeCoffExtraActionLib|UnixPkg/Library/PeiUnixPeCoffExtraActionLib/PeiUnixPeCoffExtraActionLib.inf
122 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
123
124 [LibraryClasses.common.PEIM]
125 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
126 OemHookStatusCodeLib|UnixPkg/Library/PeiUnixOemHookStatusCodeLib/PeiUnixOemHookStatusCodeLib.inf
127
128 [LibraryClasses.common.PEI_CORE]
129 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
130
131 [LibraryClasses.common.DXE_CORE]
132 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
133 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
134 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
135 PeCoffExtraActionLib|UnixPkg/Library/DxeUnixPeCoffExtraActionLib/DxeUnixPeCoffExtraActionLib.inf
136 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
137
138 [LibraryClasses.common.DXE_SMM_DRIVER]
139 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
140 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
141 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
142 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
143 OemHookStatusCodeLib|UnixPkg/Library/DxeUnixOemHookStatusCodeLib/DxeUnixOemHookStatusCodeLib.inf
144 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
145
146 [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
147 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
148 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
149 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
150 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
151 UnixLib|UnixPkg/Library/DxeUnixLib/DxeUnixLib.inf
152 OemHookStatusCodeLib|UnixPkg/Library/DxeUnixOemHookStatusCodeLib/DxeUnixOemHookStatusCodeLib.inf
153 PeCoffExtraActionLib|UnixPkg/Library/DxeUnixPeCoffExtraActionLib/DxeUnixPeCoffExtraActionLib.inf
154
155 [LibraryClasses.common.UEFI_APPLICATION]
156 PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
157
158 [LibraryClasses.X64]
159 BaseLib|UnixPkg/Library/UnixBaseLib/UnixBaseLib.inf
160
161 ################################################################################
162 #
163 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
164 #
165 ################################################################################
166 [PcdsFeatureFlag]
167 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
168 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
169 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
170 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM|TRUE
171
172 [PcdsFixedAtBuild]
173 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
174 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
175 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
176 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
177 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
178 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize|0x002a0000
179 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareBlockSize|0x10000
180 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareVolume|L"../FV/FV_RECOVERY.fd"
181
182 ################################################################################
183 #
184 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
185 #
186 ################################################################################
187
188 [PcdsDynamicDefault.common.DEFAULT]
189 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
190 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
191 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
192
193 gEfiUnixPkgTokenSpaceGuid.PcdUnixConsole|L"Bus Driver Console Window"
194 gEfiUnixPkgTokenSpaceGuid.PcdUnixUga|L"UGA Window"
195 gEfiUnixPkgTokenSpaceGuid.PcdUnixFileSystem|L".!../../../../EdkShellBinPkg/Bin/Ia32/Apps"
196 gEfiUnixPkgTokenSpaceGuid.PcdUnixVirtualDisk|L"disk1.img:FW"
197 gEfiUnixPkgTokenSpaceGuid.PcdUnixPhysicalDisk|L"E:RW;245760;512"
198 gEfiUnixPkgTokenSpaceGuid.PcdUnixCpuModel|L"Intel(R) Processor Model"
199 gEfiUnixPkgTokenSpaceGuid.PcdUnixCpuSpeed|L"3000"
200 gEfiUnixPkgTokenSpaceGuid.PcdUnixMemorySize|L"128!128"
201 gEfiUnixPkgTokenSpaceGuid.PcdUnixSerialPort|L"/dev/ttyS0!/dev/ttyS1"
202
203 [PcdsDynamicHii.common.DEFAULT]
204 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEfiUnixSystemConfigGuid|0x0|80
205 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEfiUnixSystemConfigGuid|0x4|25
206 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
207
208 ###################################################################################################
209 #
210 # Components Section - list of the modules and components that will be processed by compilation
211 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
212 #
213 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
214 # into firmware volume images. This section is just a list of modules to compile from
215 # source into UEFI-compliant binaries.
216 # It is the FDF file that contains information on combining binary files into firmware
217 # volume images, whose concept is beyond UEFI and is described in PI specification.
218 # Binary modules do not need to be listed in this section, as they should be
219 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
220 # Logo (Logo.bmp), and etc.
221 # There may also be modules listed in this section that are not required in the FDF file,
222 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
223 # generated for it, but the binary will not be put into any firmware volume.
224 #
225 ###################################################################################################
226 [Components]
227 ##
228 # SEC Phase modules
229 ##
230 UnixPkg/Sec/SecMain.inf
231
232 ##
233 # PEI Phase modules
234 ##
235 MdeModulePkg/Core/Pei/PeiMain.inf
236 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
237 <LibraryClasses>
238 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
239 }
240 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
241 UnixPkg/BootModePei/BootModePei.inf
242 UnixPkg/UnixFlashMapPei/FlashMap.inf
243 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
244 UnixPkg/UnixAutoScanPei/UnixAutoScan.inf
245 UnixPkg/UnixFirmwareVolumePei/UnixFwh.inf
246 UnixPkg/UnixThunkPpiToProtocolPei/UnixThunkPpiToProtocol.inf
247 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
248
249 ##
250 # DXE Phase modules
251 ##
252 MdeModulePkg/Core/Dxe/DxeMain.inf {
253 <LibraryClasses>
254 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
255 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
256 }
257 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
258 <LibraryClasses>
259 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
260 }
261
262 UnixPkg/MetronomeDxe/Metronome.inf
263 UnixPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
264 UnixPkg/ResetRuntimeDxe/Reset.inf
265 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
266 UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf
267 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
268 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
269 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
270 UnixPkg/UnixThunkDxe/UnixThunk.inf
271 UnixPkg/CpuRuntimeDxe/Cpu.inf
272 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
273 UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf
274 UnixPkg/TimerDxe/Timer.inf
275 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
276 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
277 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
278 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
279 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
280 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
281 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
282 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
283 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
284 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
285 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
286 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
287 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
288 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
289 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
290 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
291 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
292 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
293 UnixPkg/UnixBusDriverDxe/UnixBusDriver.inf
294
295 UnixPkg/UnixBlockIoDxe/UnixBlockIo.inf
296 UnixPkg/UnixSerialIoDxe/UnixSerialIo.inf
297 UnixPkg/UnixUgaDxe/UnixUga.inf
298 UnixPkg/UnixConsoleDxe/UnixConsole.inf
299 UnixPkg/UnixSimpleFileSystemDxe/UnixSimpleFileSystem.inf
300 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
301
302 #
303 # Network stack drivers
304 # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.
305 #
306 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
307 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
308 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
309 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
310 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
311 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
312 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
313 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
314 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
315 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
316
317 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
318 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
319 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
320 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
321 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
322 <LibraryClasses>
323 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
324 }
325
326 #FatPkg/EnhancedFatDxe/Fat.inf
327