]> git.proxmox.com Git - mirror_edk2.git/blame - EmulatorPkg/EmulatorPkg.dsc
EmulatorPkg: add OrderedCollectionLib class resolution
[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
6e9f7e5e 7# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>\r
949f388f 8# Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>\r
61a85646 9# Copyright (c) Microsoft Corporation.\r
949f388f 10#\r
e3ba31da 11# SPDX-License-Identifier: BSD-2-Clause-Patent\r
949f388f 12#\r
13##\r
14\r
949f388f 15[Defines]\r
e23e488e 16 PLATFORM_NAME = EmulatorPkg\r
949f388f 17 PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D\r
18 PLATFORM_VERSION = 0.3\r
52cb711d 19 DSC_SPECIFICATION = 0x00010005\r
f89c018f 20 OUTPUT_DIRECTORY = Build/Emulator$(ARCH)\r
e7523e06 21\r
112a857f 22 SUPPORTED_ARCHITECTURES = X64|IA32\r
57c320c9 23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
949f388f 24 SKUID_IDENTIFIER = DEFAULT\r
e23e488e 25 FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf\r
949f388f 26\r
3b7a897c
FS
27\r
28 #\r
29 # Network definition\r
30 #\r
31 DEFINE NETWORK_SNP_ENABLE = FALSE\r
32 DEFINE NETWORK_IP6_ENABLE = FALSE\r
33 DEFINE NETWORK_TLS_ENABLE = FALSE\r
34 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r
4b69fab6 35 DEFINE NETWORK_HTTP_ENABLE = FALSE\r
3b7a897c 36 DEFINE NETWORK_ISCSI_ENABLE = FALSE\r
7faece69 37 DEFINE SECURE_BOOT_ENABLE = FALSE\r
3b7a897c 38\r
484e869d
AC
39 #\r
40 # Redfish definition\r
41 #\r
42 DEFINE REDFISH_ENABLE = FALSE\r
43\r
949f388f 44[SkuIds]\r
45 0|DEFAULT\r
46\r
949f388f 47[LibraryClasses]\r
48 #\r
49 # Entry point\r
50 #\r
51 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
52 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
53 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
54 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
55 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
56 #\r
57 # Basic\r
58 #\r
59 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
60 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
61 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
62 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
63 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
64 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
65 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
d773459e 66 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
949f388f 67\r
68 #\r
69 # UEFI & PI\r
70 #\r
71 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
72 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
73 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
74 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
75 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
76 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
77 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
0108a91c 78 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
949f388f 79\r
80 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
81 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
82 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
63f9b9b9 83 SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf\r
84\r
949f388f 85 #\r
86 # Generic Modules\r
87 #\r
88 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
949f388f 89 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
e0123894
RN
90 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
91 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
92 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
44b5d55d
MK
93 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
94 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
9a25ad8b 95 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
949f388f 96 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
97 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
98 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
99 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
100 #\r
101 # Platform\r
102 #\r
e0123894 103 PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf\r
bb89ec1a 104 KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf\r
484e869d
AC
105 !if $(REDFISH_ENABLE) == TRUE\r
106 RedfishPlatformHostInterfaceLib|EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.inf\r
c88736f8 107 RedfishPlatformCredentialLib|EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.inf\r
484e869d 108 !endif\r
949f388f 109 #\r
110 # Misc\r
111 #\r
112 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
113 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
114 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
bb89ec1a 115 PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf\r
7bbe0b3e 116 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
7f5d7425 117 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
5d81a9b3 118 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
c8f451eb 119 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
b6e3355a 120 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
61a85646
BB
121 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r
122 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
3df29b5d 123 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r
fdd8463d
RN
124 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
125 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
949f388f 126\r
7faece69 127!if $(SECURE_BOOT_ENABLE) == TRUE\r
ea9af514 128 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
7faece69
DRW
129 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
130 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
131 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
132 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
133!else\r
134 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
135!endif\r
136\r
65e3f333 137[LibraryClasses.common.SEC]\r
bb89ec1a 138 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r
65e3f333 139 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
bb89ec1a 140 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r
141 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r
142 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r
143 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r
1453e773 144 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
bb89ec1a 145 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r
65e3f333 146\r
949f388f 147[LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]\r
148 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
149 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
150 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
151 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
bb89ec1a 152 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r
153 ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf\r
154 ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf\r
65e3f333 155 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
bb89ec1a 156 PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r
157 PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r
65e3f333 158\r
949f388f 159\r
160[LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]\r
161 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
162 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
163 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
bb89ec1a 164 PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r
165 PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r
949f388f 166 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
bb89ec1a 167 SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r
1453e773 168 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
bb89ec1a 169 TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r
949f388f 170\r
171[LibraryClasses.common.PEI_CORE]\r
172 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
949f388f 173\r
174[LibraryClasses.common.PEIM]\r
175 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
949f388f 176\r
177[LibraryClasses.common.DXE_CORE]\r
178 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
179 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
180 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
bb89ec1a 181 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r
949f388f 182 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
183 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
bb89ec1a 184 TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf\r
185 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r
949f388f 186\r
7faece69
DRW
187[LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r
188!if $(SECURE_BOOT_ENABLE) == TRUE\r
189 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
190!endif\r
191\r
192[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
193!if $(SECURE_BOOT_ENABLE) == TRUE\r
194 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
195!endif\r
196\r
949f388f 197[LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r
198 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
199 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
200 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
201 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
bb89ec1a 202 EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r
203 PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r
1453e773 204 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
bb89ec1a 205 TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf\r
949f388f 206\r
949f388f 207[PcdsFeatureFlag]\r
208 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
949f388f 209 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE\r
1fc93083 210 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE\r
949f388f 211\r
212[PcdsFixedAtBuild]\r
cf320090 213 gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000\r
df1b7575 214 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
949f388f 215 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040\r
216 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r
217 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r
218 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0\r
219 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0\r
6e9f7e5e 220 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
949f388f 221\r
bb89ec1a 222 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000\r
223 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000\r
224 gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"\r
7faece69
DRW
225!if $(SECURE_BOOT_ENABLE) == TRUE\r
226 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
227 gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence|TRUE\r
228!endif\r
d18d8a1d 229\r
59ad461d 230 gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"\r
72a44be9 231\r
e0123894
RN
232 # Change PcdBootManagerMenuFile to UiApp\r
233 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
234\r
72a44be9 235\r
949f388f 236#define BOOT_WITH_FULL_CONFIGURATION 0x00\r
237#define BOOT_WITH_MINIMAL_CONFIGURATION 0x01\r
238#define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02\r
239#define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03\r
240#define BOOT_WITH_DEFAULT_SETTINGS 0x04\r
241#define BOOT_ON_S4_RESUME 0x05\r
242#define BOOT_ON_S5_RESUME 0x06\r
243#define BOOT_ON_S2_RESUME 0x10\r
244#define BOOT_ON_S3_RESUME 0x11\r
245#define BOOT_ON_FLASH_UPDATE 0x12\r
246#define BOOT_IN_RECOVERY_MODE 0x20\r
bb89ec1a 247 gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0\r
d18d8a1d 248\r
bb89ec1a 249 gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"\r
949f388f 250\r
5dcda296 251 # For a CD-ROM/DVD use L"diag.dmg:RO:2048"\r
bb89ec1a 252 gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"\r
253 gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"\r
033949a8 254 gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."\r
bb89ec1a 255 gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"\r
256 gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"\r
949f388f 257\r
bb89ec1a 258 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"\r
259 gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"\r
949f388f 260\r
1c145953 261 # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r
7e284acb 262 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r
263\r
484e869d
AC
264!if $(REDFISH_ENABLE) == TRUE\r
265 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathMatchMode|DEVICE_PATH_MATCH_MAC_NODE\r
266 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathNum|1\r
267 #\r
268 # Below is the MAC address of network adapter on EDK2 Emulator platform.\r
269 # You can use ifconfig under EFI shell to get the MAC address of network adapter on EDK2 Emulator platform.\r
270 #\r
271 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePath|{DEVICE_PATH("MAC(000000000000,0x1)")}\r
272 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|False\r
273 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|False\r
274!endif\r
275\r
949f388f 276[PcdsDynamicDefault.common.DEFAULT]\r
277 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r
278 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r
279 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
280\r
281[PcdsDynamicHii.common.DEFAULT]\r
282 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80\r
283 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25\r
e0123894 284 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10\r
949f388f 285\r
949f388f 286[Components]\r
50509ec6 287!if "IA32" in $(ARCH) || "X64" in $(ARCH)\r
2737037a 288 !if "MSFT" in $(FAMILY) || $(WIN_HOST_BUILD) == TRUE\r
50509ec6
MK
289 ##\r
290 # Emulator, OS WIN application\r
0b9ad0bc 291 # CLANGPDB is cross OS tool chain. It depends on WIN_HOST_BUILD flag\r
2737037a 292 # to build WinHost application.\r
50509ec6
MK
293 ##\r
294 EmulatorPkg/Win/Host/WinHost.inf\r
295 !else\r
296 ##\r
297 # Emulator, OS POSIX application\r
298 ##\r
299 EmulatorPkg/Unix/Host/Host.inf\r
300 !endif\r
3c859dfe
RN
301!endif\r
302\r
53a6813f 303!ifndef $(SKIP_MAIN_BUILD)\r
65e3f333 304 #\r
305 # Generic SEC\r
306 #\r
bb89ec1a 307 EmulatorPkg/Sec/Sec.inf\r
65e3f333 308\r
949f388f 309 ##\r
310 # PEI Phase modules\r
311 ##\r
312 MdeModulePkg/Core/Pei/PeiMain.inf\r
313 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
314 <LibraryClasses>\r
315 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
316 }\r
317 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
d18d8a1d 318 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
319\r
bb89ec1a 320 EmulatorPkg/BootModePei/BootModePei.inf\r
94c4575c 321 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
949f388f 322 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
bb89ec1a 323 EmulatorPkg/AutoScanPei/AutoScanPei.inf\r
324 EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf\r
325 EmulatorPkg/FlashMapPei/FlashMapPei.inf\r
326 EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf\r
45aee4c8 327 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
949f388f 328\r
329 ##\r
330 # DXE Phase modules\r
331 ##\r
332 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
333 <LibraryClasses>\r
1453e773 334 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
bed0bbc3 335 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r
336 DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r
949f388f 337 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
7bbe0b3e 338 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
949f388f 339 }\r
340 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
341 <LibraryClasses>\r
342 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
343 }\r
344\r
345 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
346 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {\r
347 <LibraryClasses>\r
1453e773 348 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
d18d8a1d 349 SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r
949f388f 350 }\r
351\r
1ef41207 352 MdeModulePkg/Universal/Metronome/Metronome.inf\r
bb89ec1a 353 EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf\r
354 EmulatorPkg/ResetRuntimeDxe/Reset.inf\r
949f388f 355 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
bb89ec1a 356 EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
7faece69
DRW
357\r
358 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
359 <LibraryClasses>\r
360!if $(SECURE_BOOT_ENABLE) == TRUE\r
361 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
362!endif\r
363 }\r
364\r
949f388f 365 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
366 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
bb89ec1a 367 EmulatorPkg/EmuThunkDxe/EmuThunk.inf\r
368 EmulatorPkg/CpuRuntimeDxe/Cpu.inf\r
949f388f 369 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
63f9b9b9 370 EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf\r
bb89ec1a 371 EmulatorPkg/TimerDxe/Timer.inf\r
949f388f 372\r
7faece69
DRW
373!if $(SECURE_BOOT_ENABLE) == TRUE\r
374 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
375!endif\r
949f388f 376\r
1432065e
SZ
377 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
378 <LibraryClasses>\r
379 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
380 }\r
949f388f 381 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
382 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
383 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
384 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
385 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
386 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
9fffd8e2 387 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r
7e284acb 388 <LibraryClasses>\r
389 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
d18d8a1d 390 SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf\r
7e284acb 391 }\r
d18d8a1d 392\r
949f388f 393 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
e0123894 394 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
6ed2c8be 395!if "XCODE5" not in $(TOOL_CHAIN_TAG)\r
e0123894 396 MdeModulePkg/Logo/LogoDxe.inf\r
6ed2c8be 397!endif\r
e0123894
RN
398 MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf\r
399 MdeModulePkg/Application/UiApp/UiApp.inf {\r
400 <LibraryClasses>\r
401 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
402 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
403 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
404 }\r
405 MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf\r
406\r
d18d8a1d 407 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
5dcda296 408 #{\r
d18d8a1d 409 # <LibraryClasses>\r
bb89ec1a 410 # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf\r
5dcda296 411 #}\r
d18d8a1d 412\r
949f388f 413 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
414 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
415 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
416 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
417 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
418 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
949f388f 419\r
bb89ec1a 420 EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf\r
421 EmulatorPkg/EmuGopDxe/EmuGopDxe.inf\r
422 EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf\r
423 EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf\r
424 EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf\r
949f388f 425\r
949f388f 426 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
427\r
949f388f 428 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
429 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
9a25ad8b 430 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
949f388f 431 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
432 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
433 MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {\r
434 <LibraryClasses>\r
435 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
436 }\r
437\r
949f388f 438 FatPkg/EnhancedFatDxe/Fat.inf\r
72a44be9 439\r
6ed2c8be 440!if "XCODE5" not in $(TOOL_CHAIN_TAG)\r
fdd8463d
RN
441 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
442 <PcdsFixedAtBuild>\r
443 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
444 }\r
6ed2c8be 445!endif\r
72a44be9 446 ShellPkg/Application/Shell/Shell.inf {\r
447 <LibraryClasses>\r
448 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
449 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
450 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
451 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
452 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
453 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
454 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
455 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
456 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
130e929f 457 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
45aee4c8 458 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
72a44be9 459 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
3f2035e7 460# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
461# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
9fe7c61b
JJ
462 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
463 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
5dcda296 464\r
72a44be9 465 <PcdsFixedAtBuild>\r
466 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
467 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
468 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
469 }\r
72a44be9 470\r
53a6813f 471!endif\r
472\r
3b7a897c
FS
473!include NetworkPkg/Network.dsc.inc\r
474\r
484e869d
AC
475!if $(REDFISH_ENABLE) == TRUE\r
476 EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.inf\r
477!endif\r
478!include RedfishPkg/Redfish.dsc.inc\r
479\r
0d9b5c46 480[BuildOptions]\r
9e3ab94d
MK
481 #\r
482 # Disable deprecated APIs.\r
483 #\r
484 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
485\r
0d9b5c46
RN
486 MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-\r
487 MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-\r
0b9ad0bc 488 GCC:DEBUG_CLANGPDB_*_CC_FLAGS =-O0 -Wno-unused-command-line-argument -Wno-incompatible-pointer-types -Wno-enum-conversion -Wno-incompatible-pointer-types -Wno-sometimes-uninitialized -Wno-constant-conversion -Wno-main-return-type\r
0d9b5c46
RN
489\r
490 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r
491 MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r
492 MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r
2737037a
LG
493\r
494!if $(WIN_HOST_BUILD) == TRUE\r
495 #\r
0b9ad0bc 496 # CLANGPDB tool chain depends on WIN_HOST_BUILD flag to generate the windows application.\r
2737037a 497 #\r
0b9ad0bc
LG
498 GCC:*_CLANGPDB_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r
499 GCC:DEBUG_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r
500 GCC:NOOPT_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r
2737037a 501!endif\r