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