2 # UEFI/PI Emulation Platform with UEFI HII interface supported.
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.
7 # Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
8 # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>
9 # Copyright (c) Microsoft Corporation.
11 # SPDX-License-Identifier: BSD-2-Clause-Patent
16 PLATFORM_NAME = EmulatorPkg
17 PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D
18 PLATFORM_VERSION = 0.3
19 DSC_SPECIFICATION = 0x00010005
20 OUTPUT_DIRECTORY = Build/Emulator$(ARCH)
22 SUPPORTED_ARCHITECTURES = X64|IA32
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25 FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf
31 DEFINE NETWORK_SNP_ENABLE = FALSE
32 DEFINE NETWORK_IP6_ENABLE = FALSE
33 DEFINE NETWORK_TLS_ENABLE = FALSE
34 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
35 DEFINE NETWORK_ISCSI_ENABLE = FALSE
36 DEFINE SECURE_BOOT_ENABLE = FALSE
45 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
46 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
47 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
48 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
49 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
53 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
54 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
55 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
56 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
57 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
58 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
59 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
60 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
65 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
66 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
67 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
68 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
69 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
70 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
71 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
72 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
74 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
75 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
76 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
77 SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf
82 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
83 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
84 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
85 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
86 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
87 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
88 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
89 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
90 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
91 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
92 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
93 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
97 PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf
98 KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf
103 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
104 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
105 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
106 PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf
107 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
108 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
109 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
110 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
111 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
112 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
113 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
114 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
115 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
116 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
118 !if $(SECURE_BOOT_ENABLE) == TRUE
119 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
120 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
121 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
122 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
123 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
125 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
128 [LibraryClasses.common.SEC]
129 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
130 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
131 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
132 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
133 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
134 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
135 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
136 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
138 [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
139 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
140 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
141 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
142 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
143 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
144 ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf
145 ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf
146 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
147 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
148 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
151 [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
152 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
153 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
154 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
155 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
156 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
157 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
158 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
159 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
160 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
162 [LibraryClasses.common.PEI_CORE]
163 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
165 [LibraryClasses.common.PEIM]
166 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
168 [LibraryClasses.common.DXE_CORE]
169 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
170 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
171 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
172 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
173 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
174 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
175 TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf
176 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
178 [LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
179 !if $(SECURE_BOOT_ENABLE) == TRUE
180 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
183 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
184 !if $(SECURE_BOOT_ENABLE) == TRUE
185 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
188 [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
189 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
190 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
191 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
192 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
193 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
194 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
195 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
196 TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf
199 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
200 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
201 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
204 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000
205 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
206 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
207 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
208 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
209 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
210 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
211 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
213 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
214 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
215 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
216 !if $(SECURE_BOOT_ENABLE) == TRUE
217 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
218 gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence|TRUE
221 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
223 # Change PcdBootManagerMenuFile to UiApp
224 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
227 #define BOOT_WITH_FULL_CONFIGURATION 0x00
228 #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
229 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
230 #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
231 #define BOOT_WITH_DEFAULT_SETTINGS 0x04
232 #define BOOT_ON_S4_RESUME 0x05
233 #define BOOT_ON_S5_RESUME 0x06
234 #define BOOT_ON_S2_RESUME 0x10
235 #define BOOT_ON_S3_RESUME 0x11
236 #define BOOT_ON_FLASH_UPDATE 0x12
237 #define BOOT_IN_RECOVERY_MODE 0x20
238 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
240 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
242 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
243 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
244 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
245 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."
246 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
247 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
249 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
250 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
252 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
253 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
255 [PcdsDynamicDefault.common.DEFAULT]
256 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
257 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
258 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
260 [PcdsDynamicHii.common.DEFAULT]
261 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
262 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
263 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
266 !if "IA32" in $(ARCH) || "X64" in $(ARCH)
267 !if "MSFT" in $(FAMILY) || $(WIN_HOST_BUILD) == TRUE
269 # Emulator, OS WIN application
270 # CLANGPDB is cross OS tool chain. It depends on WIN_HOST_BUILD flag
271 # to build WinHost application.
273 EmulatorPkg/Win/Host/WinHost.inf
276 # Emulator, OS POSIX application
278 EmulatorPkg/Unix/Host/Host.inf
282 !ifndef $(SKIP_MAIN_BUILD)
286 EmulatorPkg/Sec/Sec.inf
291 MdeModulePkg/Core/Pei/PeiMain.inf
292 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
294 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
296 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
297 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
299 EmulatorPkg/BootModePei/BootModePei.inf
300 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
301 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
302 EmulatorPkg/AutoScanPei/AutoScanPei.inf
303 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
304 EmulatorPkg/FlashMapPei/FlashMapPei.inf
305 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
306 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
311 MdeModulePkg/Core/Dxe/DxeMain.inf {
313 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
314 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
315 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
316 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
317 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
319 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
321 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
324 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
325 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
327 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
328 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
331 MdeModulePkg/Universal/Metronome/Metronome.inf
332 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
333 EmulatorPkg/ResetRuntimeDxe/Reset.inf
334 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
335 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
337 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
339 !if $(SECURE_BOOT_ENABLE) == TRUE
340 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
344 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
345 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
346 EmulatorPkg/EmuThunkDxe/EmuThunk.inf
347 EmulatorPkg/CpuRuntimeDxe/Cpu.inf
348 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
349 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
350 EmulatorPkg/TimerDxe/Timer.inf
352 !if $(SECURE_BOOT_ENABLE) == TRUE
353 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
356 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
358 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
360 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
361 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
362 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
363 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
364 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
365 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
366 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
368 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
369 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
372 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
373 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
374 !if "XCODE5" not in $(TOOL_CHAIN_TAG)
375 MdeModulePkg/Logo/LogoDxe.inf
377 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf
378 MdeModulePkg/Application/UiApp/UiApp.inf {
380 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
381 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
382 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
384 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
386 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
389 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
392 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
393 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
394 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
395 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
396 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
397 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
399 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
400 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
401 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
402 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
403 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
405 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
407 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
408 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
409 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
410 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
411 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
412 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
414 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
417 FatPkg/EnhancedFatDxe/Fat.inf
419 !if "XCODE5" not in $(TOOL_CHAIN_TAG)
420 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
422 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
425 ShellPkg/Application/Shell/Shell.inf {
427 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
428 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
429 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
430 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
431 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
432 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
433 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
434 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
435 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
436 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
437 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
438 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
439 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
440 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
441 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
444 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
445 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
446 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
451 !include NetworkPkg/Network.dsc.inc
455 # Disable deprecated APIs.
457 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
459 MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-
460 MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-
461 GCC:DEBUG_CLANGPDB_*_CC_FLAGS =-O0 -Wno-unused-command-line-argument -Wno-incompatible-pointer-types -Wno-enum-conversion -Wno-incompatible-pointer-types -Wno-sometimes-uninitialized -Wno-constant-conversion -Wno-main-return-type
463 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
464 MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
465 MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
467 !if $(WIN_HOST_BUILD) == TRUE
469 # CLANGPDB tool chain depends on WIN_HOST_BUILD flag to generate the windows application.
471 GCC:*_CLANGPDB_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
472 GCC:DEBUG_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
473 GCC:NOOPT_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000