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