]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/EmulatorPkg.dsc
EmulatorPkg/Win: Enable 64bit (SEC,PEI,DXE all run at 64bit)
[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 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
83 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
84 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
85 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
86 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
87 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
88 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
89 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
90 #
91 # Platform
92 #
93 PlatformBdsLib|EmulatorPkg/Library/EmuBdsLib/EmuBdsLib.inf
94 KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf
95
96 #
97 # Misc
98 #
99 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
100 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
101 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
102 PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf
103 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
104 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
105 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
106 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
107 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
108 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
109 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
110 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
111 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
112 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
113
114 [LibraryClasses.common.SEC]
115 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
116 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
117 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
118 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
119 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
120 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
121 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
122 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
123
124 [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
125 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
126 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
127 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
128 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
129 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
130 ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf
131 ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf
132 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
133 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
134 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
135
136
137 [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
138 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
139 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
140 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
141 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
142 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
143 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
144 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
145 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
146 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
147
148 [LibraryClasses.common.PEI_CORE]
149 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
150
151 [LibraryClasses.common.PEIM]
152 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
153
154 [LibraryClasses.common.DXE_CORE]
155 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
156 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
157 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
158 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
159 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
160 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
161 TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf
162 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
163
164 [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
165 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
166 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
167 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
168 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
169 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
170 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
171 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
172 TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf
173
174 [LibraryClasses.common.UEFI_DRIVER]
175 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
176
177 [LibraryClasses.common.UEFI_APPLICATION]
178 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
179
180
181 [PcdsFeatureFlag]
182 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
183 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
184 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
185 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
186
187 [PcdsFixedAtBuild]
188 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
189 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
190 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
191 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
192 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
193 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
194
195 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
196 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
197 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
198
199 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
200
201 !ifndef $(USE_OLD_SHELL)
202 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
203 !endif
204
205 #define BOOT_WITH_FULL_CONFIGURATION 0x00
206 #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
207 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
208 #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
209 #define BOOT_WITH_DEFAULT_SETTINGS 0x04
210 #define BOOT_ON_S4_RESUME 0x05
211 #define BOOT_ON_S5_RESUME 0x06
212 #define BOOT_ON_S2_RESUME 0x10
213 #define BOOT_ON_S3_RESUME 0x11
214 #define BOOT_ON_FLASH_UPDATE 0x12
215 #define BOOT_IN_RECOVERY_MODE 0x20
216 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
217
218 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
219
220 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
221 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
222 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
223 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."
224 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
225 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
226
227 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
228 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
229
230 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
231 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
232
233 [PcdsDynamicDefault.common.DEFAULT]
234 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
235 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
236 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
237
238 [PcdsDynamicHii.common.DEFAULT]
239 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
240 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
241
242
243 [Components]
244 !ifdef $(UNIX_SEC_BUILD)
245 ##
246 # Emulator, OS POSIX application
247 ##
248 EmulatorPkg/Unix/Host/Host.inf
249 !endif
250
251 !ifdef $(WIN_SEC_BUILD)
252 ##
253 # Emulator, OS WIN application
254 ##
255 EmulatorPkg/Win/Host/WinHost.inf
256 !endif
257
258 !ifndef $(SKIP_MAIN_BUILD)
259 #
260 # Generic SEC
261 #
262 EmulatorPkg/Sec/Sec.inf
263
264 ##
265 # PEI Phase modules
266 ##
267 MdeModulePkg/Core/Pei/PeiMain.inf
268 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
269 <LibraryClasses>
270 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
271 }
272 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
273 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
274
275 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
276 EmulatorPkg/BootModePei/BootModePei.inf
277 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
278 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
279 EmulatorPkg/AutoScanPei/AutoScanPei.inf
280 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
281 EmulatorPkg/FlashMapPei/FlashMapPei.inf
282 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
283 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
284
285 ##
286 # DXE Phase modules
287 ##
288 MdeModulePkg/Core/Dxe/DxeMain.inf {
289 <LibraryClasses>
290 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
291 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
292 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
293 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
294 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
295 }
296 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
297 <LibraryClasses>
298 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
299 }
300
301 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
302 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
303 <LibraryClasses>
304 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
305 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
306 }
307
308 MdeModulePkg/Universal/Metronome/Metronome.inf
309 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
310 EmulatorPkg/ResetRuntimeDxe/Reset.inf
311 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
312 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
313 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
314 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
315 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
316 EmulatorPkg/EmuThunkDxe/EmuThunk.inf
317 EmulatorPkg/CpuRuntimeDxe/Cpu.inf
318 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
319 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
320 EmulatorPkg/TimerDxe/Timer.inf
321
322
323 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
324 <LibraryClasses>
325 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
326 }
327 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
328 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
329 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
330 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
331 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
332 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
333 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
334 <LibraryClasses>
335 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
336 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
337 }
338
339 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
340 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
341 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
342 #{
343 # <LibraryClasses>
344 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
345 #}
346
347 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
348 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
349 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
350 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
351 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
352 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
353 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
354
355 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
356 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
357 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
358 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
359 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
360
361 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
362
363 #
364 # Network stack drivers
365 #
366 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
367 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
368 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
369 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
370 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
371 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
372 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
373 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
374 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
375
376 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
377 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
378 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
379 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
380 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
381 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
382 <LibraryClasses>
383 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
384 }
385
386 FatPkg/EnhancedFatDxe/Fat.inf
387
388 !ifndef $(USE_OLD_SHELL)
389 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
390 <PcdsFixedAtBuild>
391 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
392 }
393 ShellPkg/Application/Shell/Shell.inf {
394 <LibraryClasses>
395 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
396 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
397 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
398 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
399 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
400 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
401 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
402 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
403 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
404 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
405 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
406 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
407 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
408 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
409 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
410
411 <PcdsFixedAtBuild>
412 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
413 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
414 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
415 }
416 !endif
417
418 !endif
419
420 [BuildOptions]
421 MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-
422 MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-
423
424 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
425 MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
426 MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
427