]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # UEFI/PI Emulation Platform with UEFI HII interface supported.\r | |
3 | #\r | |
4 | # The Emulation Platform can be used to debug individual modules, prior to creating\r | |
5 | # a real platform. This also provides an example for how an DSC is created.\r | |
6 | #\r | |
7 | # Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>\r | |
8 | # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>\r | |
9 | # Copyright (c) Microsoft Corporation.\r | |
10 | #\r | |
11 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
12 | #\r | |
13 | ##\r | |
14 | \r | |
15 | [Defines]\r | |
16 | PLATFORM_NAME = EmulatorPkg\r | |
17 | PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D\r | |
18 | PLATFORM_VERSION = 0.3\r | |
19 | DSC_SPECIFICATION = 0x00010005\r | |
20 | OUTPUT_DIRECTORY = Build/Emulator$(ARCH)\r | |
21 | \r | |
22 | SUPPORTED_ARCHITECTURES = X64|IA32\r | |
23 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r | |
24 | SKUID_IDENTIFIER = DEFAULT\r | |
25 | FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf\r | |
26 | \r | |
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 | |
35 | DEFINE NETWORK_HTTP_ENABLE = FALSE\r | |
36 | DEFINE NETWORK_ISCSI_ENABLE = FALSE\r | |
37 | DEFINE SECURE_BOOT_ENABLE = FALSE\r | |
38 | \r | |
39 | #\r | |
40 | # Redfish definition\r | |
41 | #\r | |
42 | DEFINE REDFISH_ENABLE = FALSE\r | |
43 | \r | |
44 | [SkuIds]\r | |
45 | 0|DEFAULT\r | |
46 | \r | |
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 | |
66 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r | |
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 | |
78 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
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 | |
83 | SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf\r | |
84 | \r | |
85 | #\r | |
86 | # Generic Modules\r | |
87 | #\r | |
88 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r | |
89 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
90 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r | |
91 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r | |
92 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r | |
93 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r | |
94 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r | |
95 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r | |
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 | |
103 | PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf\r | |
104 | KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf\r | |
105 | !if $(REDFISH_ENABLE) == TRUE\r | |
106 | RedfishPlatformHostInterfaceLib|EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.inf\r | |
107 | RedfishPlatformCredentialLib|EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.inf\r | |
108 | !endif\r | |
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 | |
115 | PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf\r | |
116 | DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r | |
117 | LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r | |
118 | CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r | |
119 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r | |
120 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r | |
121 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r | |
122 | VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r | |
123 | SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r | |
124 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
125 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
126 | \r | |
127 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
128 | RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r | |
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 | |
137 | [LibraryClasses.common.SEC]\r | |
138 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r | |
139 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
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 | |
144 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
145 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r | |
146 | \r | |
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 | |
152 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r | |
153 | ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf\r | |
154 | ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf\r | |
155 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
156 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r | |
157 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r | |
158 | \r | |
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 | |
164 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r | |
165 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r | |
166 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
167 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r | |
168 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
169 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r | |
170 | \r | |
171 | [LibraryClasses.common.PEI_CORE]\r | |
172 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
173 | \r | |
174 | [LibraryClasses.common.PEIM]\r | |
175 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
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 | |
181 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r | |
182 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
183 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
184 | TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf\r | |
185 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
186 | \r | |
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 | |
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 | |
202 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
203 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r | |
204 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
205 | TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf\r | |
206 | \r | |
207 | [PcdsFeatureFlag]\r | |
208 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r | |
209 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE\r | |
210 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE\r | |
211 | \r | |
212 | [PcdsFixedAtBuild]\r | |
213 | gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000\r | |
214 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r | |
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 | |
220 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r | |
221 | \r | |
222 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000\r | |
223 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000\r | |
224 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"\r | |
225 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
226 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r | |
227 | gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence|TRUE\r | |
228 | !endif\r | |
229 | \r | |
230 | gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"\r | |
231 | \r | |
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 | |
235 | \r | |
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 | |
247 | gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0\r | |
248 | \r | |
249 | gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"\r | |
250 | \r | |
251 | # For a CD-ROM/DVD use L"diag.dmg:RO:2048"\r | |
252 | gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"\r | |
253 | gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"\r | |
254 | gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."\r | |
255 | gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"\r | |
256 | gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"\r | |
257 | \r | |
258 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"\r | |
259 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"\r | |
260 | \r | |
261 | # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r | |
262 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r | |
263 | \r | |
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 | |
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 | |
284 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10\r | |
285 | \r | |
286 | [Components]\r | |
287 | !if "IA32" in $(ARCH) || "X64" in $(ARCH)\r | |
288 | !if "MSFT" in $(FAMILY) || $(WIN_HOST_BUILD) == TRUE\r | |
289 | ##\r | |
290 | # Emulator, OS WIN application\r | |
291 | # CLANGPDB is cross OS tool chain. It depends on WIN_HOST_BUILD flag\r | |
292 | # to build WinHost application.\r | |
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 | |
301 | !endif\r | |
302 | \r | |
303 | !ifndef $(SKIP_MAIN_BUILD)\r | |
304 | #\r | |
305 | # Generic SEC\r | |
306 | #\r | |
307 | EmulatorPkg/Sec/Sec.inf\r | |
308 | \r | |
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 | |
318 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r | |
319 | \r | |
320 | EmulatorPkg/BootModePei/BootModePei.inf\r | |
321 | MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r | |
322 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r | |
323 | EmulatorPkg/AutoScanPei/AutoScanPei.inf\r | |
324 | EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf\r | |
325 | EmulatorPkg/FlashMapPei/FlashMapPei.inf\r | |
326 | EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf\r | |
327 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r | |
328 | \r | |
329 | ##\r | |
330 | # DXE Phase modules\r | |
331 | ##\r | |
332 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
333 | <LibraryClasses>\r | |
334 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
335 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r | |
336 | DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
337 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r | |
338 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
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 | |
348 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
349 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r | |
350 | }\r | |
351 | \r | |
352 | MdeModulePkg/Universal/Metronome/Metronome.inf\r | |
353 | EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf\r | |
354 | EmulatorPkg/ResetRuntimeDxe/Reset.inf\r | |
355 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r | |
356 | EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r | |
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 | |
365 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r | |
366 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r | |
367 | EmulatorPkg/EmuThunkDxe/EmuThunk.inf\r | |
368 | EmulatorPkg/CpuRuntimeDxe/Cpu.inf\r | |
369 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r | |
370 | EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf\r | |
371 | EmulatorPkg/TimerDxe/Timer.inf\r | |
372 | \r | |
373 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
374 | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r | |
375 | !endif\r | |
376 | \r | |
377 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r | |
378 | <LibraryClasses>\r | |
379 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
380 | }\r | |
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 | |
387 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r | |
388 | <LibraryClasses>\r | |
389 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
390 | SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf\r | |
391 | }\r | |
392 | \r | |
393 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r | |
394 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r | |
395 | !if "XCODE5" not in $(TOOL_CHAIN_TAG)\r | |
396 | MdeModulePkg/Logo/LogoDxe.inf\r | |
397 | !endif\r | |
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 | |
407 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r | |
408 | #{\r | |
409 | # <LibraryClasses>\r | |
410 | # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf\r | |
411 | #}\r | |
412 | \r | |
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 | |
419 | \r | |
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 | |
425 | \r | |
426 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r | |
427 | \r | |
428 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r | |
429 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
430 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r | |
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 | |
438 | FatPkg/EnhancedFatDxe/Fat.inf\r | |
439 | \r | |
440 | !if "XCODE5" not in $(TOOL_CHAIN_TAG)\r | |
441 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r | |
442 | <PcdsFixedAtBuild>\r | |
443 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
444 | }\r | |
445 | !endif\r | |
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 | |
457 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r | |
458 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
459 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
460 | # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r | |
461 | # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r | |
462 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r | |
463 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
464 | \r | |
465 | <PcdsFixedAtBuild>\r | |
466 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
467 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
468 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
469 | }\r | |
470 | \r | |
471 | !endif\r | |
472 | \r | |
473 | !include NetworkPkg/Network.dsc.inc\r | |
474 | \r | |
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 | |
480 | [BuildOptions]\r | |
481 | #\r | |
482 | # Disable deprecated APIs.\r | |
483 | #\r | |
484 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r | |
485 | \r | |
486 | MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-\r | |
487 | MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-\r | |
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 | |
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 | |
493 | \r | |
494 | !if $(WIN_HOST_BUILD) == TRUE\r | |
495 | #\r | |
496 | # CLANGPDB tool chain depends on WIN_HOST_BUILD flag to generate the windows application.\r | |
497 | #\r | |
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 | |
501 | !endif\r |