]> git.proxmox.com Git - mirror_edk2.git/blob - UnixPkg/UnixPkgX64.dsc
DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during boot
[mirror_edk2.git] / UnixPkg / UnixPkgX64.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 # Portions copywrite (c) 2010, Apple, Inc. All rights reserved.
9 #
10 # This program and the accompanying materials
11 # are licensed and made available under the terms and conditions of the BSD License
12 # which accompanies this distribution. The full text of the license may be found at
13 # http://opensource.org/licenses/bsd-license.php
14 #
15 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #
18 ##
19
20 ################################################################################
21 #
22 # Defines Section - statements that will be processed to create a Makefile.
23 #
24 ################################################################################
25 [Defines]
26 PLATFORM_NAME = Unix
27 PLATFORM_GUID = 7b3c1fb4-8986-11db-b5b2-0040d02b1835
28 PLATFORM_VERSION = 0.3
29 DSC_ SPECIFICATION = 0x00010005
30 OUTPUT_DIRECTORY = Build/UnixX64
31 SUPPORTED_ARCHITECTURES = X64
32 BUILD_TARGETS = DEBUG|RELEASE
33 SKUID_IDENTIFIER = DEFAULT
34 FLASH_DEFINITION = UnixPkg/UnixPkgX64.fdf
35
36 ################################################################################
37 #
38 # SKU Identification section - list of all SKU IDs supported by this Platform.
39 #
40 ################################################################################
41 [SkuIds]
42 0|DEFAULT
43
44 ################################################################################
45 #
46 # Library Class section - list of all Library Classes needed by this Platform.
47 #
48 ################################################################################
49 [LibraryClasses]
50 #
51 # Entry point
52 #
53 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
54 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
55 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
56 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
57 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
58 #
59 # Basic
60 #
61 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
62 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
63 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
64 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
65 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
66 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
67 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
68 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
69 #
70 # UEFI & PI
71 #
72 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
73 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
74 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
75 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
76 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
77 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
78 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
79 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
80 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
81 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
82 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
83 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
84 #
85 # Generic Modules
86 #
87 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
88 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
89 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
90 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
91 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
92 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
93 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
94 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
95 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
96 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
97 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
98 #
99 # Platform
100 #
101 PlatformBdsLib|UnixPkg/Library/UnixBdsLib/PlatformBds.inf
102 #
103 # Misc
104 #
105 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.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 # turn off CR3 write so that DXE IPL will not crash emulator
161 BaseLib|UnixPkg/Library/UnixBaseLib/UnixBaseLib.inf
162
163 ################################################################################
164 #
165 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
166 #
167 ################################################################################
168 [PcdsFeatureFlag]
169 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
170 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
171 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
172 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
173 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM|TRUE
174
175 [PcdsFixedAtBuild]
176 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
177 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
178 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
179 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
180 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
181 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize|0x002a0000
182 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareBlockSize|0x10000
183 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareVolume|L"../FV/FV_RECOVERY.fd"
184
185 ################################################################################
186 #
187 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
188 #
189 ################################################################################
190
191 [PcdsDynamicDefault.common.DEFAULT]
192 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
193 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
194 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
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 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEfiUnixSystemConfigGuid|0x0|80
208 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEfiUnixSystemConfigGuid|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 !if $(SEC_ONLY)
231 ##
232 # SEC Phase modules
233 ##
234 UnixPkg/Sec/SecMain.inf
235 !else
236 ##
237 # PEI Phase modules
238 ##
239 MdeModulePkg/Core/Pei/PeiMain.inf
240 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
241 <LibraryClasses>
242 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
243 }
244 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
245 UnixPkg/BootModePei/BootModePei.inf
246 UnixPkg/UnixFlashMapPei/FlashMap.inf
247 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
248 UnixPkg/UnixAutoScanPei/UnixAutoScan.inf
249 UnixPkg/UnixFirmwareVolumePei/UnixFwh.inf
250 UnixPkg/UnixThunkPpiToProtocolPei/UnixThunkPpiToProtocol.inf
251 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
252
253 ##
254 # DXE Phase modules
255 ##
256 MdeModulePkg/Core/Dxe/DxeMain.inf {
257 <LibraryClasses>
258 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
259 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
260 }
261 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
262 <LibraryClasses>
263 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
264 }
265
266 UnixPkg/MetronomeDxe/Metronome.inf
267 UnixPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
268 UnixPkg/ResetRuntimeDxe/Reset.inf
269 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
270 UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf
271 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
272 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
273 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
274 UnixPkg/UnixThunkDxe/UnixThunk.inf
275 UnixPkg/CpuRuntimeDxe/Cpu.inf
276 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
277 UnixPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf
278 UnixPkg/TimerDxe/Timer.inf
279 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
280 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
281 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
282 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
283 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
284 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
285 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
286 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
287 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
288 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
289 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
290 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
291 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
292 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
293 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
294 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
295 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
296 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
297 UnixPkg/UnixBusDriverDxe/UnixBusDriver.inf
298
299 UnixPkg/UnixBlockIoDxe/UnixBlockIo.inf
300 UnixPkg/UnixSerialIoDxe/UnixSerialIo.inf
301 UnixPkg/UnixUgaDxe/UnixUga.inf
302 UnixPkg/UnixGopDxe/UnixGop.inf
303 UnixPkg/UnixConsoleDxe/UnixConsole.inf
304 UnixPkg/UnixSimpleFileSystemDxe/UnixSimpleFileSystem.inf
305 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
306
307 #
308 # Network stack drivers
309 #
310 UnixPkg/UnixSnpDxe/UnixSnpDxe.inf
311 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
312 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
313 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
314 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
315 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
316 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
317 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
318 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
319 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
320 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
321
322 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
323 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
324 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
325 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
326 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
327 <LibraryClasses>
328 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
329 }
330
331 FatPkg/EnhancedFatDxe/Fat.inf
332 !endif