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