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 - 2021, 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_HTTP_ENABLE = FALSE
36 DEFINE NETWORK_ISCSI_ENABLE = FALSE
37 DEFINE SECURE_BOOT_ENABLE = FALSE
42 DEFINE REDFISH_ENABLE = FALSE
47 !include MdePkg/MdeLibs.dsc.inc
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
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 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
68 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
73 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
74 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
75 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
76 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
77 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
78 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
79 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
80 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
82 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
83 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
84 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
85 SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf
90 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
91 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
92 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
93 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
94 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
95 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
96 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
97 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
98 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
99 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
100 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
101 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
105 PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf
106 KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf
107 !if $(REDFISH_ENABLE) == TRUE
108 RedfishPlatformHostInterfaceLib|EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.inf
109 RedfishPlatformCredentialLib|EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.inf
114 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
115 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
116 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
117 PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf
118 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
119 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
120 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
121 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
122 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
123 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
124 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
125 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
126 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
127 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
129 !if $(SECURE_BOOT_ENABLE) == TRUE
130 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
131 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
132 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
133 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
134 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
135 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
136 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
138 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
141 [LibraryClasses.common.SEC]
142 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
143 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
144 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
145 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
146 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
147 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
148 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
149 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
151 [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
152 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
153 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
154 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
155 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
156 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
157 ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf
158 ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf
159 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
160 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
161 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
164 [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
165 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
166 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
167 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
168 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
169 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
170 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
171 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
172 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
173 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
175 [LibraryClasses.common.PEI_CORE]
176 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
178 [LibraryClasses.common.PEIM]
179 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
181 [LibraryClasses.common.DXE_CORE]
182 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
183 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
184 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
185 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
186 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
187 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
188 TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf
189 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
191 [LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
192 !if $(SECURE_BOOT_ENABLE) == TRUE
193 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
196 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
197 !if $(SECURE_BOOT_ENABLE) == TRUE
198 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
201 [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
202 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
203 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
204 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
205 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
206 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
207 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
208 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
209 TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf
212 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
213 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
214 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
217 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000
218 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
219 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
220 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
221 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
222 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
223 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
224 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
226 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
227 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
228 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
229 !if $(SECURE_BOOT_ENABLE) == TRUE
230 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
231 gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence|TRUE
234 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
236 # Change PcdBootManagerMenuFile to UiApp
237 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
240 #define BOOT_WITH_FULL_CONFIGURATION 0x00
241 #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
242 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
243 #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
244 #define BOOT_WITH_DEFAULT_SETTINGS 0x04
245 #define BOOT_ON_S4_RESUME 0x05
246 #define BOOT_ON_S5_RESUME 0x06
247 #define BOOT_ON_S2_RESUME 0x10
248 #define BOOT_ON_S3_RESUME 0x11
249 #define BOOT_ON_FLASH_UPDATE 0x12
250 #define BOOT_IN_RECOVERY_MODE 0x20
251 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
253 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
255 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
256 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
257 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
258 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."
259 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
260 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
262 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
263 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
265 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
266 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
268 !if $(REDFISH_ENABLE) == TRUE
269 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathMatchMode|DEVICE_PATH_MATCH_MAC_NODE
270 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathNum|1
272 # Below is the MAC address of network adapter on EDK2 Emulator platform.
273 # You can use ifconfig under EFI shell to get the MAC address of network adapter on EDK2 Emulator platform.
275 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePath|{DEVICE_PATH("MAC(000000000000,0x1)")}
276 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|False
277 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|False
280 [PcdsDynamicDefault.common.DEFAULT]
281 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
282 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
283 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
285 [PcdsDynamicHii.common.DEFAULT]
286 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
287 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
288 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
291 !if "IA32" in $(ARCH) || "X64" in $(ARCH)
292 !if "MSFT" in $(FAMILY) || $(WIN_HOST_BUILD) == TRUE
294 # Emulator, OS WIN application
295 # CLANGPDB is cross OS tool chain. It depends on WIN_HOST_BUILD flag
296 # to build WinHost application.
298 EmulatorPkg/Win/Host/WinHost.inf
301 # Emulator, OS POSIX application
303 EmulatorPkg/Unix/Host/Host.inf
307 !ifndef $(SKIP_MAIN_BUILD)
311 EmulatorPkg/Sec/Sec.inf
316 MdeModulePkg/Core/Pei/PeiMain.inf
317 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
319 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
321 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
322 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
324 EmulatorPkg/BootModePei/BootModePei.inf
325 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
326 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
327 EmulatorPkg/AutoScanPei/AutoScanPei.inf
328 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
329 EmulatorPkg/FlashMapPei/FlashMapPei.inf
330 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
331 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
336 MdeModulePkg/Core/Dxe/DxeMain.inf {
338 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
339 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
340 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
341 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
342 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
344 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
346 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
349 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
350 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
352 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
353 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
356 MdeModulePkg/Universal/Metronome/Metronome.inf
357 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
358 EmulatorPkg/ResetRuntimeDxe/Reset.inf
359 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
360 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
362 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
364 !if $(SECURE_BOOT_ENABLE) == TRUE
365 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
369 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
370 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
371 EmulatorPkg/EmuThunkDxe/EmuThunk.inf
372 EmulatorPkg/CpuRuntimeDxe/Cpu.inf
373 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
374 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
375 EmulatorPkg/TimerDxe/Timer.inf
377 !if $(SECURE_BOOT_ENABLE) == TRUE
378 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
381 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
383 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
385 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
386 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
387 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
388 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
389 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
390 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
391 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
393 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
394 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
397 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
398 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
399 !if "XCODE5" not in $(TOOL_CHAIN_TAG)
400 MdeModulePkg/Logo/LogoDxe.inf
402 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf
403 MdeModulePkg/Application/UiApp/UiApp.inf {
405 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
406 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
407 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
409 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
411 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
414 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
417 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
418 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
419 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
420 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
421 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
422 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
424 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
425 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
426 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
427 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
428 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
430 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
432 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
433 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
434 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
435 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
436 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
437 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
439 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
442 FatPkg/EnhancedFatDxe/Fat.inf
444 !if "XCODE5" not in $(TOOL_CHAIN_TAG)
445 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
447 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
450 ShellPkg/Application/Shell/Shell.inf {
452 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
453 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
454 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
455 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
456 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
457 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
458 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
459 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
460 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
461 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
462 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
463 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
464 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
465 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
466 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
467 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
470 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
471 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
472 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
477 !include NetworkPkg/Network.dsc.inc
479 !if $(REDFISH_ENABLE) == TRUE
480 EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.inf
482 !include RedfishPkg/Redfish.dsc.inc
486 # Disable deprecated APIs.
488 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
490 MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-
491 MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-
492 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
494 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
495 MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
496 MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
498 !if $(WIN_HOST_BUILD) == TRUE
500 # CLANGPDB tool chain depends on WIN_HOST_BUILD flag to generate the windows application.
502 GCC:*_CLANGPDB_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
503 GCC:DEBUG_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
504 GCC:NOOPT_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000