]> git.proxmox.com Git - mirror_edk2.git/blob - UnixPkg/UnixPkg.dsc
Update for NetworkPkg.
[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 - 2011, 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 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
106 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
107 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
108 SecDispatchTableLib|UnixPkg/Library/SecDispatchTableLib/SecDispatchTableLib.inf
109
110 [LibraryClasses.common.USER_DEFINED]
111 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
112 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
113 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
114 OemHookStatusCodeLib|UnixPkg/Library/PeiUnixOemHookStatusCodeLib/PeiUnixOemHookStatusCodeLib.inf
115 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
116
117 [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
118 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
119 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
120 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
121 PeCoffGetEntryPointLib|UnixPkg/Library/EdkUnixPeiPeCoffGetEntryPointLib/EdkUnixPeiPeCoffGetEntryPointLib.inf
122 PeCoffExtraActionLib|UnixPkg/Library/PeiUnixPeCoffExtraActionLib/PeiUnixPeCoffExtraActionLib.inf
123 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
124
125 [LibraryClasses.common.PEIM]
126 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
127 OemHookStatusCodeLib|UnixPkg/Library/PeiUnixOemHookStatusCodeLib/PeiUnixOemHookStatusCodeLib.inf
128
129 [LibraryClasses.common.PEI_CORE]
130 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
131
132 [LibraryClasses.common.DXE_CORE]
133 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
134 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
135 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
136 PeCoffExtraActionLib|UnixPkg/Library/DxeUnixPeCoffExtraActionLib/DxeUnixPeCoffExtraActionLib.inf
137 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
138
139 [LibraryClasses.common.DXE_SMM_DRIVER]
140 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
141 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
142 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
143 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
144 OemHookStatusCodeLib|UnixPkg/Library/DxeUnixOemHookStatusCodeLib/DxeUnixOemHookStatusCodeLib.inf
145 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
146
147 [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
148 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
149 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
150 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
151 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
152 UnixLib|UnixPkg/Library/DxeUnixLib/DxeUnixLib.inf
153 OemHookStatusCodeLib|UnixPkg/Library/DxeUnixOemHookStatusCodeLib/DxeUnixOemHookStatusCodeLib.inf
154 PeCoffExtraActionLib|UnixPkg/Library/DxeUnixPeCoffExtraActionLib/DxeUnixPeCoffExtraActionLib.inf
155
156 [LibraryClasses.common.UEFI_APPLICATION]
157 PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
158
159 [LibraryClasses.X64]
160 BaseLib|UnixPkg/Library/UnixBaseLib/UnixBaseLib.inf
161
162 ################################################################################
163 #
164 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
165 #
166 ################################################################################
167 [PcdsFeatureFlag]
168 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
169 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
170 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
171 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM|TRUE
172
173 [PcdsFixedAtBuild]
174 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
175 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
176 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
177 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
178 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
179 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
180 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize|0x002a0000
181 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareBlockSize|0x10000
182 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareVolume|L"../FV/FV_RECOVERY.fd"
183
184 ################################################################################
185 #
186 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
187 #
188 ################################################################################
189
190 [PcdsDynamicDefault.common.DEFAULT]
191 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
192 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
193 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
194
195 gEfiUnixPkgTokenSpaceGuid.PcdUnixConsole|L"Bus Driver Console Window"
196 gEfiUnixPkgTokenSpaceGuid.PcdUnixUga|L"UGA Window"
197 gEfiUnixPkgTokenSpaceGuid.PcdUnixFileSystem|L".!../../../../EdkShellBinPkg/Bin/Ia32/Apps"
198 gEfiUnixPkgTokenSpaceGuid.PcdUnixVirtualDisk|L"disk1.img:FW"
199 gEfiUnixPkgTokenSpaceGuid.PcdUnixPhysicalDisk|L"E:RW;245760;512"
200 gEfiUnixPkgTokenSpaceGuid.PcdUnixCpuModel|L"Intel(R) Processor Model"
201 gEfiUnixPkgTokenSpaceGuid.PcdUnixCpuSpeed|L"3000"
202 gEfiUnixPkgTokenSpaceGuid.PcdUnixMemorySize|L"128!128"
203 gEfiUnixPkgTokenSpaceGuid.PcdUnixSerialPort|L"/dev/ttyS0!/dev/ttyS1"
204 gEfiUnixPkgTokenSpaceGuid.PcdUnixNetworkInterface|L"en0"
205
206 [PcdsDynamicHii.common.DEFAULT]
207 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"SetupConsoleConfig"|gEfiGlobalVariableGuid|0x0|80
208 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"SetupConsoleConfig"|gEfiGlobalVariableGuid|0x4|25
209 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
210
211 ###################################################################################################
212 #
213 # Components Section - list of the modules and components that will be processed by compilation
214 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
215 #
216 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
217 # into firmware volume images. This section is just a list of modules to compile from
218 # source into UEFI-compliant binaries.
219 # It is the FDF file that contains information on combining binary files into firmware
220 # volume images, whose concept is beyond UEFI and is described in PI specification.
221 # Binary modules do not need to be listed in this section, as they should be
222 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
223 # Logo (Logo.bmp), and etc.
224 # There may also be modules listed in this section that are not required in the FDF file,
225 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
226 # generated for it, but the binary will not be put into any firmware volume.
227 #
228 ###################################################################################################
229 [Components]
230 ##
231 # SEC Phase modules
232 ##
233 UnixPkg/Sec/SecMain.inf
234
235 ##
236 # PEI Phase modules
237 ##
238 MdeModulePkg/Core/Pei/PeiMain.inf
239 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
240 <LibraryClasses>
241 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
242 }
243 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
244 UnixPkg/BootModePei/BootModePei.inf
245 UnixPkg/UnixFlashMapPei/FlashMap.inf
246 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
247 UnixPkg/UnixAutoScanPei/UnixAutoScan.inf
248 UnixPkg/UnixFirmwareVolumePei/UnixFwh.inf
249 UnixPkg/UnixThunkPpiToProtocolPei/UnixThunkPpiToProtocol.inf
250 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
251
252 ##
253 # DXE Phase modules
254 ##
255 MdeModulePkg/Core/Dxe/DxeMain.inf {
256 <LibraryClasses>
257 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
258 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
259 }
260 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
261 <LibraryClasses>
262 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
263 }
264
265 UnixPkg/MetronomeDxe/Metronome.inf
266 UnixPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
267 UnixPkg/ResetRuntimeDxe/Reset.inf
268 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
269 UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf
270 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
271 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
272 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
273 UnixPkg/UnixThunkDxe/UnixThunk.inf
274 UnixPkg/CpuRuntimeDxe/Cpu.inf
275 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
276 UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf
277 UnixPkg/TimerDxe/Timer.inf
278 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
279 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
280 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
281 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
282 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
283 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
284 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
285 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
286 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
287 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
288 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
289 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
290 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
291 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
292 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
293 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
294 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
295 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
296 UnixPkg/UnixBusDriverDxe/UnixBusDriver.inf
297
298 UnixPkg/UnixBlockIoDxe/UnixBlockIo.inf
299 UnixPkg/UnixSerialIoDxe/UnixSerialIo.inf
300 UnixPkg/UnixUgaDxe/UnixUga.inf
301 UnixPkg/UnixGopDxe/UnixGop.inf
302
303 UnixPkg/UnixConsoleDxe/UnixConsole.inf
304 UnixPkg/UnixSimpleFileSystemDxe/UnixSimpleFileSystem.inf
305 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
306
307 #
308 # Network stack drivers
309 #
310 !if $(NETWORK_SUPPORT)
311 UnixPkg/UnixSnpDxe/UnixSnpDxe.inf
312 !endif
313 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
314 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
315 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
316 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
317 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
318 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
319 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
320 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
321 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
322 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
323
324 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
325 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
326 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
327 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
328 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
329 <LibraryClasses>
330 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
331 }
332
333 !if $(COMPILE_BINS)
334 FatPkg/EnhancedFatDxe/Fat.inf
335 !endif
336