]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/EmulatorPkg.dsc
EmulatorPkg: Disable TftpDynamicCommand and LogoDxe for XCODE5
[mirror_edk2.git] / EmulatorPkg / EmulatorPkg.dsc
1 ## @file
2 # UEFI/PI Emulation Platform with UEFI HII interface supported.
3 #
4 # The Emulation Platform can be used to debug individual modules, prior to creating
5 # a real platform. This also provides an example for how an DSC is created.
6 #
7 # Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
8 # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>
9 #
10 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 #
12 ##
13
14 [Defines]
15 PLATFORM_NAME = EmulatorPkg
16 PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D
17 PLATFORM_VERSION = 0.3
18 DSC_SPECIFICATION = 0x00010005
19 OUTPUT_DIRECTORY = Build/Emulator$(ARCH)
20
21 SUPPORTED_ARCHITECTURES = X64|IA32
22 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
23 SKUID_IDENTIFIER = DEFAULT
24 FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf
25
26
27 #
28 # Network definition
29 #
30 DEFINE NETWORK_SNP_ENABLE = FALSE
31 DEFINE NETWORK_IP6_ENABLE = FALSE
32 DEFINE NETWORK_TLS_ENABLE = FALSE
33 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
34 DEFINE NETWORK_ISCSI_ENABLE = FALSE
35
36 [SkuIds]
37 0|DEFAULT
38
39 [LibraryClasses]
40 #
41 # Entry point
42 #
43 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
44 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
45 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
47 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
48 #
49 # Basic
50 #
51 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
52 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
53 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
54 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
55 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
56 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
57 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
58 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
59
60 #
61 # UEFI & PI
62 #
63 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
64 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
65 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
66 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
67 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
68 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
69 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
70 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
71
72 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
73 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
74 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
75 SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf
76
77 #
78 # Generic Modules
79 #
80 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
81 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
82 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
83 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
84 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
85 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
86 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
87 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
88 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
89 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
90 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
91 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
92 #
93 # Platform
94 #
95 PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf
96 KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf
97
98 #
99 # Misc
100 #
101 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
102 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
103 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
104 PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf
105 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
106 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
107 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
108 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
109 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
110 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
111 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
112 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
113 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
114
115 [LibraryClasses.common.SEC]
116 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
117 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
118 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
119 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
120 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
121 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
122 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
123 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
124
125 [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
126 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
127 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
128 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
129 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
130 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
131 ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf
132 ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf
133 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
134 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
135 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
136
137
138 [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
139 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
140 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
141 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
142 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
143 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
144 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
145 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
146 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
147 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
148
149 [LibraryClasses.common.PEI_CORE]
150 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
151
152 [LibraryClasses.common.PEIM]
153 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
154
155 [LibraryClasses.common.DXE_CORE]
156 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
157 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
158 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
159 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
160 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
161 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
162 TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf
163 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
164
165 [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
166 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
167 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
168 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
169 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
170 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
171 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
172 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
173 TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf
174
175 [PcdsFeatureFlag]
176 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
177 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
178 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
179 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
180
181 [PcdsFixedAtBuild]
182 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000
183 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
184 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
185 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
186 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
187 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
188 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
189
190 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
191 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
192 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
193
194 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
195
196 # Change PcdBootManagerMenuFile to UiApp
197 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
198
199
200 #define BOOT_WITH_FULL_CONFIGURATION 0x00
201 #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
202 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
203 #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
204 #define BOOT_WITH_DEFAULT_SETTINGS 0x04
205 #define BOOT_ON_S4_RESUME 0x05
206 #define BOOT_ON_S5_RESUME 0x06
207 #define BOOT_ON_S2_RESUME 0x10
208 #define BOOT_ON_S3_RESUME 0x11
209 #define BOOT_ON_FLASH_UPDATE 0x12
210 #define BOOT_IN_RECOVERY_MODE 0x20
211 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
212
213 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
214
215 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
216 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
217 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
218 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."
219 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
220 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
221
222 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
223 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
224
225 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
226 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
227
228 [PcdsDynamicDefault.common.DEFAULT]
229 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
230 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
231 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
232
233 [PcdsDynamicHii.common.DEFAULT]
234 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
235 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
236 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
237
238 [Components]
239 !if "IA32" in $(ARCH) || "X64" in $(ARCH)
240 !if "MSFT" in $(FAMILY)
241 ##
242 # Emulator, OS WIN application
243 ##
244 EmulatorPkg/Win/Host/WinHost.inf
245 !else
246 ##
247 # Emulator, OS POSIX application
248 ##
249 EmulatorPkg/Unix/Host/Host.inf
250 !endif
251 !endif
252
253 !ifndef $(SKIP_MAIN_BUILD)
254 #
255 # Generic SEC
256 #
257 EmulatorPkg/Sec/Sec.inf
258
259 ##
260 # PEI Phase modules
261 ##
262 MdeModulePkg/Core/Pei/PeiMain.inf
263 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
264 <LibraryClasses>
265 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
266 }
267 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
268 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
269
270 EmulatorPkg/BootModePei/BootModePei.inf
271 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
272 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
273 EmulatorPkg/AutoScanPei/AutoScanPei.inf
274 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
275 EmulatorPkg/FlashMapPei/FlashMapPei.inf
276 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
277 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
278
279 ##
280 # DXE Phase modules
281 ##
282 MdeModulePkg/Core/Dxe/DxeMain.inf {
283 <LibraryClasses>
284 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
285 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
286 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
287 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
288 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
289 }
290 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
291 <LibraryClasses>
292 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
293 }
294
295 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
296 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
297 <LibraryClasses>
298 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
299 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
300 }
301
302 MdeModulePkg/Universal/Metronome/Metronome.inf
303 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
304 EmulatorPkg/ResetRuntimeDxe/Reset.inf
305 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
306 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
307 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
308 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
309 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
310 EmulatorPkg/EmuThunkDxe/EmuThunk.inf
311 EmulatorPkg/CpuRuntimeDxe/Cpu.inf
312 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
313 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
314 EmulatorPkg/TimerDxe/Timer.inf
315
316
317 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
318 <LibraryClasses>
319 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
320 }
321 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
322 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
323 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
324 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
325 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
326 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
327 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
328 <LibraryClasses>
329 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
330 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
331 }
332
333 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
334 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
335 !if "XCODE5" not in $(TOOL_CHAIN_TAG)
336 MdeModulePkg/Logo/LogoDxe.inf
337 !endif
338 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf
339 MdeModulePkg/Application/UiApp/UiApp.inf {
340 <LibraryClasses>
341 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
342 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
343 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
344 }
345 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
346
347 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
348 #{
349 # <LibraryClasses>
350 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
351 #}
352
353 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
354 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
355 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
356 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
357 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
358 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
359
360 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
361 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
362 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
363 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
364 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
365
366 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
367
368 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
369 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
370 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
371 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
372 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
373 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
374 <LibraryClasses>
375 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
376 }
377
378 FatPkg/EnhancedFatDxe/Fat.inf
379
380 !if "XCODE5" not in $(TOOL_CHAIN_TAG)
381 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
382 <PcdsFixedAtBuild>
383 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
384 }
385 !endif
386 ShellPkg/Application/Shell/Shell.inf {
387 <LibraryClasses>
388 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
389 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
390 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
391 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
392 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
393 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
394 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
395 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
396 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
397 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
398 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
399 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
400 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
401 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
402 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
403
404 <PcdsFixedAtBuild>
405 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
406 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
407 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
408 }
409
410 !endif
411
412 !include NetworkPkg/Network.dsc.inc
413
414 [BuildOptions]
415 #
416 # Disable deprecated APIs.
417 #
418 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
419
420 MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-
421 MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-
422
423 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
424 MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
425 MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000