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