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