]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/EmulatorPkg.dsc
EmulatorPkg/PlatformBmLib: Fix GCC build failure
[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.PcdResetOnMemoryTypeInformationChange|FALSE
183 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
184 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
185 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
186 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
187 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
188
189 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000
190 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000
191 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"
192
193 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"
194
195 # Change PcdBootManagerMenuFile to UiApp
196 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
197
198 !ifndef $(USE_OLD_SHELL)
199 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
200 !endif
201
202 #define BOOT_WITH_FULL_CONFIGURATION 0x00
203 #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
204 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
205 #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
206 #define BOOT_WITH_DEFAULT_SETTINGS 0x04
207 #define BOOT_ON_S4_RESUME 0x05
208 #define BOOT_ON_S5_RESUME 0x06
209 #define BOOT_ON_S2_RESUME 0x10
210 #define BOOT_ON_S3_RESUME 0x11
211 #define BOOT_ON_FLASH_UPDATE 0x12
212 #define BOOT_IN_RECOVERY_MODE 0x20
213 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0
214
215 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"
216
217 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"
218 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"
219 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"
220 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."
221 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"
222 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"
223
224 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"
225 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"
226
227 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
228 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
229
230 [PcdsDynamicDefault.common.DEFAULT]
231 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
232 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
233 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
234
235 [PcdsDynamicHii.common.DEFAULT]
236 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80
237 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25
238 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
239
240 [Components]
241 !ifdef $(UNIX_SEC_BUILD)
242 ##
243 # Emulator, OS POSIX application
244 ##
245 EmulatorPkg/Unix/Host/Host.inf
246 !endif
247
248 !ifdef $(WIN_SEC_BUILD)
249 ##
250 # Emulator, OS WIN application
251 ##
252 EmulatorPkg/Win/Host/WinHost.inf
253 !endif
254
255 !ifndef $(SKIP_MAIN_BUILD)
256 #
257 # Generic SEC
258 #
259 EmulatorPkg/Sec/Sec.inf
260
261 ##
262 # PEI Phase modules
263 ##
264 MdeModulePkg/Core/Pei/PeiMain.inf
265 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
266 <LibraryClasses>
267 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
268 }
269 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
270 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
271
272 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
273 EmulatorPkg/BootModePei/BootModePei.inf
274 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
275 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
276 EmulatorPkg/AutoScanPei/AutoScanPei.inf
277 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
278 EmulatorPkg/FlashMapPei/FlashMapPei.inf
279 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
280 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
281
282 ##
283 # DXE Phase modules
284 ##
285 MdeModulePkg/Core/Dxe/DxeMain.inf {
286 <LibraryClasses>
287 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
288 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
289 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf
290 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
291 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
292 }
293 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
294 <LibraryClasses>
295 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
296 }
297
298 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
299 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
300 <LibraryClasses>
301 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
302 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf
303 }
304
305 MdeModulePkg/Universal/Metronome/Metronome.inf
306 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
307 EmulatorPkg/ResetRuntimeDxe/Reset.inf
308 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
309 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
310 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
311 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
312 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
313 EmulatorPkg/EmuThunkDxe/EmuThunk.inf
314 EmulatorPkg/CpuRuntimeDxe/Cpu.inf
315 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
316 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
317 EmulatorPkg/TimerDxe/Timer.inf
318
319
320 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
321 <LibraryClasses>
322 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
323 }
324 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
325 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
326 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
327 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
328 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
329 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
330 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
331 <LibraryClasses>
332 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
333 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
334 }
335
336 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
337 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
338 MdeModulePkg/Logo/LogoDxe.inf
339 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf
340 MdeModulePkg/Application/UiApp/UiApp.inf {
341 <LibraryClasses>
342 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
343 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
344 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
345 }
346 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
347
348 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
349 #{
350 # <LibraryClasses>
351 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf
352 #}
353
354 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
355 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
356 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
357 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
358 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
359 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
360 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
361
362 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
363 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
364 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
365 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
366 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
367
368 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
369
370 #
371 # Network stack drivers
372 #
373 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
374 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
375 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
376 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
377 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
378 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
379 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
380 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
381 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
382
383 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
384 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
385 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
386 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
387 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
388 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
389 <LibraryClasses>
390 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
391 }
392
393 FatPkg/EnhancedFatDxe/Fat.inf
394
395 !ifndef $(USE_OLD_SHELL)
396 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
397 <PcdsFixedAtBuild>
398 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
399 }
400 ShellPkg/Application/Shell/Shell.inf {
401 <LibraryClasses>
402 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
403 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
404 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
405 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
406 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
407 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
408 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
409 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
410 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
411 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
412 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
413 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
414 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
415 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
416 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
417
418 <PcdsFixedAtBuild>
419 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
420 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
421 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
422 }
423 !endif
424
425 !endif
426
427 [BuildOptions]
428 MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-
429 MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-
430
431 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
432 MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
433 MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
434