]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/EmulatorPkg.dsc
EmulatorPkg/Win: ReadKeyStrokeEx() always returns correct KeyState
[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 !if $(BUILD_32)
26 OUTPUT_DIRECTORY = Build/Emulator32
27 !else
28 OUTPUT_DIRECTORY = Build/Emulator
29 !endif
30
31 SUPPORTED_ARCHITECTURES = X64|IA32
32 BUILD_TARGETS = DEBUG|RELEASE
33 SKUID_IDENTIFIER = DEFAULT
34 FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf
35
36 [SkuIds]
37 0|DEFAULT
38
39 [LibraryClasses]
40 #
41 # Entry point
42 #
43 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
44 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
45 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
46 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
47 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
48 #
49 # Basic
50 #
51 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
52 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
53 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
54 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
55 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
56 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
57 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
58 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
59
60 #
61 # UEFI & PI
62 #
63 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
64 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
65 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
66 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
67 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
68 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
69 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
70 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
71
72 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
73 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
74 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
75 SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf
76
77 #
78 # Generic Modules
79 #
80 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
81 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
82 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
83 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
84 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
85 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
86 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
87 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
88 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
89 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
90 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
91 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
92 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
93 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
94 #
95 # Platform
96 #
97 PlatformBdsLib|EmulatorPkg/Library/EmuBdsLib/EmuBdsLib.inf
98 KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf
99
100 #
101 # Misc
102 #
103 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
104 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
105 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
106 PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf
107 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
108 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
109 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
110 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
111 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
112 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
113 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
114 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
115 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
116 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
117
118 [LibraryClasses.common.SEC]
119 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
120 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
121 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
122 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
123 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
124 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
125 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
126 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
127
128 [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]
129 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
130 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
131 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
132 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
133 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
134 ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf
135 ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf
136 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
137 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
138 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf
139
140
141 [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]
142 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
143 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
144 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
145 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf
146 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf
147 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
148 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
149 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
150 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf
151
152 [LibraryClasses.common.PEI_CORE]
153 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
154
155 [LibraryClasses.common.PEIM]
156 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
157
158 [LibraryClasses.common.DXE_CORE]
159 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
160 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
161 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
162 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
163 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
164 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
165 TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf
166 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
167
168 [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
169 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
170 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
171 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
172 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
173 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
174 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf
175 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
176 TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf
177
178 [LibraryClasses.common.UEFI_DRIVER]
179 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
180
181 [LibraryClasses.common.UEFI_APPLICATION]
182 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
183
184
185 [PcdsFeatureFlag]
186 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
187 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
188 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
189 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE
190
191 [PcdsFixedAtBuild]
192 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
193 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
194 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
195 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
196 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
197 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
198
199 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
200 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
201 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
202
203 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
204
205 !ifndef $(USE_OLD_SHELL)
206 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
207 !endif
208
209 #define BOOT_WITH_FULL_CONFIGURATION 0x00
210 #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
211 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
212 #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
213 #define BOOT_WITH_DEFAULT_SETTINGS 0x04
214 #define BOOT_ON_S4_RESUME 0x05
215 #define BOOT_ON_S5_RESUME 0x06
216 #define BOOT_ON_S2_RESUME 0x10
217 #define BOOT_ON_S3_RESUME 0x11
218 #define BOOT_ON_FLASH_UPDATE 0x12
219 #define BOOT_IN_RECOVERY_MODE 0x20
220 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
221
222 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
223
224 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
225 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
226 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
227 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."
228 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
229 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
230
231 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
232 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
233
234 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
235 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
236
237 [PcdsDynamicDefault.common.DEFAULT]
238 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
239 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
240 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
241
242 [PcdsDynamicHii.common.DEFAULT]
243 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
244 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
245
246
247 [Components]
248 !ifdef $(UNIX_SEC_BUILD)
249 ##
250 # Emulator, OS POSIX application
251 ##
252 EmulatorPkg/Unix/Host/Host.inf
253 !endif
254
255 !ifdef $(WIN_SEC_BUILD)
256 ##
257 # Emulator, OS WIN application
258 ##
259 EmulatorPkg/Win/Host/WinHost.inf
260 !endif
261
262 !ifndef $(SKIP_MAIN_BUILD)
263 #
264 # Generic SEC
265 #
266 EmulatorPkg/Sec/Sec.inf
267
268 ##
269 # PEI Phase modules
270 ##
271 MdeModulePkg/Core/Pei/PeiMain.inf
272 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
273 <LibraryClasses>
274 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
275 }
276 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
277 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
278
279 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
280 EmulatorPkg/BootModePei/BootModePei.inf
281 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
282 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
283 EmulatorPkg/AutoScanPei/AutoScanPei.inf
284 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
285 EmulatorPkg/FlashMapPei/FlashMapPei.inf
286 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
287 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
288
289 ##
290 # DXE Phase modules
291 ##
292 MdeModulePkg/Core/Dxe/DxeMain.inf {
293 <LibraryClasses>
294 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
295 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
296 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
297 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
298 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
299 }
300 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
301 <LibraryClasses>
302 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
303 }
304
305 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
306 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
307 <LibraryClasses>
308 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
309 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
310 }
311
312 MdeModulePkg/Universal/Metronome/Metronome.inf
313 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
314 EmulatorPkg/ResetRuntimeDxe/Reset.inf
315 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
316 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
317 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
318 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
319 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
320 EmulatorPkg/EmuThunkDxe/EmuThunk.inf
321 EmulatorPkg/CpuRuntimeDxe/Cpu.inf
322 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
323 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
324 EmulatorPkg/TimerDxe/Timer.inf
325
326
327 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
328 <LibraryClasses>
329 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
330 }
331 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
332 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
333 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
334 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
335 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
336 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
337 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
338 <LibraryClasses>
339 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
340 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
341 }
342
343 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
344 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
345 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
346 #{
347 # <LibraryClasses>
348 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
349 #}
350
351 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
352 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
353 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
354 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
355 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
356 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
357 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
358
359 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
360 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
361 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
362 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
363 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
364
365 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
366
367 #
368 # Network stack drivers
369 #
370 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
371 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
372 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
373 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
374 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
375 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
376 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
377 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
378 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
379
380 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
381 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
382 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
383 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
384 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
385 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
386 <LibraryClasses>
387 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
388 }
389
390 FatPkg/EnhancedFatDxe/Fat.inf
391
392 !ifndef $(USE_OLD_SHELL)
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 !endif
421
422 !endif
423
424 [BuildOptions]
425 MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-
426 MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-
427
428 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
429 MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
430 MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
431