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 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
126 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
127 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
128 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
130 !if $(SECURE_BOOT_ENABLE) == TRUE
131 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
132 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
133 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
134 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
135 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
136 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
137 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
138 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
140 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
143 [LibraryClasses.common.SEC]
144 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
145 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
146 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
147 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
148 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
149 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
150 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
151 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
153 [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
154 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
155 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
156 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
157 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
158 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
159 ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf
160 ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf
161 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
162 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
163 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
166 [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
167 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
168 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
169 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
170 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
171 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
172 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
173 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
174 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
175 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
177 [LibraryClasses.common.PEI_CORE]
178 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
180 [LibraryClasses.common.PEIM]
181 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
183 [LibraryClasses.common.DXE_CORE]
184 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
185 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
186 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
187 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
188 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
189 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
190 TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf
191 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
193 [LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
194 !if $(SECURE_BOOT_ENABLE) == TRUE
195 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
198 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
199 !if $(SECURE_BOOT_ENABLE) == TRUE
200 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
203 [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
204 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
205 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
206 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
207 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
208 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
209 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
210 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
211 TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf
214 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
215 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
216 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
219 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000
220 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
221 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
222 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
223 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
224 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
225 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
226 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
228 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
229 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
230 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
231 !if $(SECURE_BOOT_ENABLE) == TRUE
232 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
233 gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence|TRUE
236 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
238 # Change PcdBootManagerMenuFile to UiApp
239 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
242 #define BOOT_WITH_FULL_CONFIGURATION 0x00
243 #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
244 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
245 #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
246 #define BOOT_WITH_DEFAULT_SETTINGS 0x04
247 #define BOOT_ON_S4_RESUME 0x05
248 #define BOOT_ON_S5_RESUME 0x06
249 #define BOOT_ON_S2_RESUME 0x10
250 #define BOOT_ON_S3_RESUME 0x11
251 #define BOOT_ON_FLASH_UPDATE 0x12
252 #define BOOT_IN_RECOVERY_MODE 0x20
253 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
255 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
257 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
258 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
259 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
260 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."
261 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
262 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
264 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
265 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
267 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
268 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
270 !if $(REDFISH_ENABLE) == TRUE
271 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathMatchMode|DEVICE_PATH_MATCH_MAC_NODE
272 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathNum|1
274 # Below is the MAC address of network adapter on EDK2 Emulator platform.
275 # You can use ifconfig under EFI shell to get the MAC address of network adapter on EDK2 Emulator platform.
277 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePath|{DEVICE_PATH("MAC(000000000000,0x1)")}
278 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|False
279 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|False
282 [PcdsDynamicDefault.common.DEFAULT]
283 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
284 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
285 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
287 [PcdsDynamicHii.common.DEFAULT]
288 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
289 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
290 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
293 !if "IA32" in $(ARCH) || "X64" in $(ARCH)
294 !if "MSFT" in $(FAMILY) || $(WIN_HOST_BUILD) == TRUE
296 # Emulator, OS WIN application
297 # CLANGPDB is cross OS tool chain. It depends on WIN_HOST_BUILD flag
298 # to build WinHost application.
300 EmulatorPkg/Win/Host/WinHost.inf
303 # Emulator, OS POSIX application
305 EmulatorPkg/Unix/Host/Host.inf
309 !ifndef $(SKIP_MAIN_BUILD)
313 EmulatorPkg/Sec/Sec.inf
318 MdeModulePkg/Core/Pei/PeiMain.inf
319 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
321 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
323 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
324 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
326 EmulatorPkg/BootModePei/BootModePei.inf
327 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
328 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
329 EmulatorPkg/AutoScanPei/AutoScanPei.inf
330 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
331 EmulatorPkg/FlashMapPei/FlashMapPei.inf
332 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
333 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
338 MdeModulePkg/Core/Dxe/DxeMain.inf {
340 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
341 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
342 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
343 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
344 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
346 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
348 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
351 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
352 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
354 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
355 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
358 MdeModulePkg/Universal/Metronome/Metronome.inf
359 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
360 EmulatorPkg/ResetRuntimeDxe/Reset.inf
361 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
362 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
364 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
366 !if $(SECURE_BOOT_ENABLE) == TRUE
367 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
371 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
372 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
373 EmulatorPkg/EmuThunkDxe/EmuThunk.inf
374 EmulatorPkg/CpuRuntimeDxe/Cpu.inf
375 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
376 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
377 EmulatorPkg/TimerDxe/Timer.inf
379 !if $(SECURE_BOOT_ENABLE) == TRUE
380 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
383 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
385 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
387 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
388 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
389 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
390 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
391 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
392 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
393 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
395 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
396 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
399 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
400 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
401 !if "XCODE5" not in $(TOOL_CHAIN_TAG)
402 MdeModulePkg/Logo/LogoDxe.inf
404 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf
405 MdeModulePkg/Application/UiApp/UiApp.inf {
407 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
408 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
409 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
411 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
413 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
416 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
419 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
420 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
421 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
422 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
423 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
424 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
426 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
427 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
428 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
429 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
430 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
432 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
434 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
435 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
436 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
437 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
438 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
439 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
441 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
444 FatPkg/EnhancedFatDxe/Fat.inf
446 !if "XCODE5" not in $(TOOL_CHAIN_TAG)
447 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
449 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
452 ShellPkg/Application/Shell/Shell.inf {
454 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
455 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
456 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
457 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
458 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
459 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
460 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
461 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
462 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
463 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
464 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
465 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
466 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
467 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
468 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
469 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
472 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
473 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
474 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
479 !include NetworkPkg/Network.dsc.inc
481 !if $(REDFISH_ENABLE) == TRUE
482 EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.inf
484 !include RedfishPkg/Redfish.dsc.inc
488 # Disable deprecated APIs.
490 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
492 MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-
493 MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-
494 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
496 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
497 MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
498 MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
500 !if $(WIN_HOST_BUILD) == TRUE
502 # CLANGPDB tool chain depends on WIN_HOST_BUILD flag to generate the windows application.
504 GCC:*_CLANGPDB_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
505 GCC:DEBUG_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
506 GCC:NOOPT_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000