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