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