]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r | |
3 | #\r | |
4 | # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>\r | |
5 | # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r | |
6 | # Copyright (c) Microsoft Corporation.\r | |
7 | #\r | |
8 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
9 | #\r | |
10 | ##\r | |
11 | \r | |
12 | ################################################################################\r | |
13 | #\r | |
14 | # Defines Section - statements that will be processed to create a Makefile.\r | |
15 | #\r | |
16 | ################################################################################\r | |
17 | [Defines]\r | |
18 | PLATFORM_NAME = Microvm\r | |
19 | PLATFORM_GUID = 55a5d2cc-6ca6-47d1-8f4f-5588d7705194\r | |
20 | PLATFORM_VERSION = 0.1\r | |
21 | DSC_SPECIFICATION = 0x00010005\r | |
22 | OUTPUT_DIRECTORY = Build/MicrovmX64\r | |
23 | SUPPORTED_ARCHITECTURES = X64\r | |
24 | BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r | |
25 | SKUID_IDENTIFIER = DEFAULT\r | |
26 | FLASH_DEFINITION = OvmfPkg/Microvm/MicrovmX64.fdf\r | |
27 | \r | |
28 | #\r | |
29 | # Defines for default states. These can be changed on the command line.\r | |
30 | # -D FLAG=VALUE\r | |
31 | #\r | |
32 | DEFINE SECURE_BOOT_ENABLE = FALSE\r | |
33 | DEFINE SMM_REQUIRE = FALSE\r | |
34 | DEFINE SOURCE_DEBUG_ENABLE = FALSE\r | |
35 | DEFINE TPM_ENABLE = FALSE\r | |
36 | DEFINE TPM_CONFIG_ENABLE = FALSE\r | |
37 | \r | |
38 | #\r | |
39 | # Network definition\r | |
40 | #\r | |
41 | DEFINE NETWORK_TLS_ENABLE = FALSE\r | |
42 | DEFINE NETWORK_IP6_ENABLE = FALSE\r | |
43 | DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r | |
44 | DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE\r | |
45 | DEFINE NETWORK_ISCSI_ENABLE = TRUE\r | |
46 | \r | |
47 | !include NetworkPkg/NetworkDefines.dsc.inc\r | |
48 | \r | |
49 | #\r | |
50 | # Device drivers\r | |
51 | #\r | |
52 | DEFINE PVSCSI_ENABLE = TRUE\r | |
53 | DEFINE MPT_SCSI_ENABLE = TRUE\r | |
54 | DEFINE LSI_SCSI_ENABLE = FALSE\r | |
55 | \r | |
56 | #\r | |
57 | # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r | |
58 | # one of the supported values, in place of any of the convenience macros, is\r | |
59 | # permitted.\r | |
60 | #\r | |
61 | !ifdef $(FD_SIZE_1MB)\r | |
62 | DEFINE FD_SIZE_IN_KB = 1024\r | |
63 | !else\r | |
64 | !ifdef $(FD_SIZE_2MB)\r | |
65 | DEFINE FD_SIZE_IN_KB = 2048\r | |
66 | !else\r | |
67 | !ifdef $(FD_SIZE_4MB)\r | |
68 | DEFINE FD_SIZE_IN_KB = 4096\r | |
69 | !else\r | |
70 | DEFINE FD_SIZE_IN_KB = 4096\r | |
71 | !endif\r | |
72 | !endif\r | |
73 | !endif\r | |
74 | \r | |
75 | [BuildOptions]\r | |
76 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
77 | INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r | |
78 | MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r | |
79 | !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"\r | |
80 | GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r | |
81 | !endif\r | |
82 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
83 | MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r | |
84 | GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r | |
85 | INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r | |
86 | !endif\r | |
87 | RELEASE_*_*_GENFW_FLAGS = --zero\r | |
88 | \r | |
89 | #\r | |
90 | # Disable deprecated APIs.\r | |
91 | #\r | |
92 | MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r | |
93 | INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r | |
94 | GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r | |
95 | \r | |
96 | !include NetworkPkg/NetworkBuildOptions.dsc.inc\r | |
97 | \r | |
98 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r | |
99 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r | |
100 | XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r | |
101 | XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r | |
102 | CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r | |
103 | \r | |
104 | # Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r | |
105 | # protection of DXE_SMM_DRIVER/SMM_CORE modules\r | |
106 | [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r | |
107 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r | |
108 | XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r | |
109 | XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r | |
110 | CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r | |
111 | \r | |
112 | ################################################################################\r | |
113 | #\r | |
114 | # SKU Identification section - list of all SKU IDs supported by this Platform.\r | |
115 | #\r | |
116 | ################################################################################\r | |
117 | [SkuIds]\r | |
118 | 0|DEFAULT\r | |
119 | \r | |
120 | ################################################################################\r | |
121 | #\r | |
122 | # Library Class section - list of all Library Classes needed by this Platform.\r | |
123 | #\r | |
124 | ################################################################################\r | |
125 | \r | |
126 | !include MdePkg/MdeLibs.dsc.inc\r | |
127 | \r | |
128 | [LibraryClasses]\r | |
129 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
130 | TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r | |
131 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf\r | |
132 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
133 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r | |
134 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
135 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r | |
136 | TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r | |
137 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r | |
138 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
139 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
140 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
141 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
142 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r | |
143 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
144 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
145 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
146 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
147 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r | |
148 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r | |
149 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r | |
150 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
151 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
152 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
153 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
154 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r | |
155 | PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r | |
156 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r | |
157 | PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r | |
158 | PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r | |
159 | PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r | |
160 | PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r | |
161 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r | |
162 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
163 | SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r | |
164 | MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r | |
165 | MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf\r | |
166 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
167 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
168 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
169 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
170 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
171 | DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r | |
172 | NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r | |
173 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
174 | UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r | |
175 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
176 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r | |
177 | SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r | |
178 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf\r | |
179 | QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf\r | |
180 | VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r | |
181 | LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r | |
182 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf\r | |
183 | LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r | |
184 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r | |
185 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r | |
186 | \r | |
187 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
188 | PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r | |
189 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r | |
190 | !else\r | |
191 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
192 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
193 | !endif\r | |
194 | \r | |
195 | LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r | |
196 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
197 | \r | |
198 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r | |
199 | !if $(NETWORK_TLS_ENABLE) == TRUE\r | |
200 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r | |
201 | !else\r | |
202 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r | |
203 | !endif\r | |
204 | RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r | |
205 | \r | |
206 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
207 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r | |
208 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r | |
209 | VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r | |
210 | \r | |
211 | \r | |
212 | #\r | |
213 | # Network libraries\r | |
214 | #\r | |
215 | !include NetworkPkg/NetworkLibs.dsc.inc\r | |
216 | \r | |
217 | !if $(NETWORK_TLS_ENABLE) == TRUE\r | |
218 | TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r | |
219 | !endif\r | |
220 | \r | |
221 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
222 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r | |
223 | S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r | |
224 | SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r | |
225 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r | |
226 | \r | |
227 | Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf\r | |
228 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r | |
229 | \r | |
230 | [LibraryClasses.common]\r | |
231 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r | |
232 | VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf\r | |
233 | SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r | |
234 | PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r | |
235 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r | |
236 | VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf\r | |
237 | \r | |
238 | [LibraryClasses.common.SEC]\r | |
239 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r | |
240 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
241 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
242 | !else\r | |
243 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r | |
244 | !endif\r | |
245 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
246 | ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r | |
247 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
248 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r | |
249 | !endif\r | |
250 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
251 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
252 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r | |
253 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
254 | !if $(TOOL_CHAIN_TAG) == "XCODE5"\r | |
255 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf\r | |
256 | !else\r | |
257 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r | |
258 | !endif\r | |
259 | VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf\r | |
260 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf\r | |
261 | \r | |
262 | [LibraryClasses.common.PEI_CORE]\r | |
263 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
264 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r | |
265 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
266 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
267 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
268 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
269 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
270 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
271 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
272 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
273 | !else\r | |
274 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
275 | !endif\r | |
276 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
277 | \r | |
278 | [LibraryClasses.common.PEIM]\r | |
279 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
280 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r | |
281 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
282 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
283 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
284 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
285 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
286 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
287 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
288 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
289 | !else\r | |
290 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
291 | !endif\r | |
292 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
293 | ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r | |
294 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
295 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
296 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r | |
297 | !endif\r | |
298 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r | |
299 | MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r | |
300 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r | |
301 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
302 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r | |
303 | \r | |
304 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf\r | |
305 | \r | |
306 | [LibraryClasses.common.DXE_CORE]\r | |
307 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
308 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
309 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
310 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
311 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
312 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
313 | !else\r | |
314 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
315 | !endif\r | |
316 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
317 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
318 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r | |
319 | !endif\r | |
320 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r | |
321 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
322 | \r | |
323 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
324 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
325 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf\r | |
326 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
327 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
328 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
329 | ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r | |
330 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
331 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
332 | !else\r | |
333 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
334 | !endif\r | |
335 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
336 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r | |
337 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r | |
338 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r | |
339 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r | |
340 | \r | |
341 | [LibraryClasses.common.UEFI_DRIVER]\r | |
342 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
343 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf\r | |
344 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
345 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
346 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
347 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
348 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
349 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
350 | !else\r | |
351 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
352 | !endif\r | |
353 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r | |
354 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r | |
355 | \r | |
356 | [LibraryClasses.common.DXE_DRIVER]\r | |
357 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
358 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf\r | |
359 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
360 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
361 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
362 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r | |
363 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
364 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
365 | !else\r | |
366 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
367 | !endif\r | |
368 | PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r | |
369 | PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r | |
370 | QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r | |
371 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r | |
372 | LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r | |
373 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
374 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r | |
375 | !endif\r | |
376 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r | |
377 | MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r | |
378 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r | |
379 | QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf\r | |
380 | \r | |
381 | [LibraryClasses.common.UEFI_APPLICATION]\r | |
382 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
383 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf\r | |
384 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
385 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
386 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
387 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
388 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
389 | !else\r | |
390 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
391 | !endif\r | |
392 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r | |
393 | \r | |
394 | [LibraryClasses.common.DXE_SMM_DRIVER]\r | |
395 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
396 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf\r | |
397 | MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r | |
398 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
399 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
400 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r | |
401 | MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r | |
402 | SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r | |
403 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
404 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
405 | !else\r | |
406 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
407 | !endif\r | |
408 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r | |
409 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
410 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r | |
411 | !endif\r | |
412 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r | |
413 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r | |
414 | \r | |
415 | [LibraryClasses.common.SMM_CORE]\r | |
416 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
417 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf\r | |
418 | SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r | |
419 | MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r | |
420 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
421 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
422 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r | |
423 | SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r | |
424 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
425 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
426 | !else\r | |
427 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
428 | !endif\r | |
429 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r | |
430 | \r | |
431 | ################################################################################\r | |
432 | #\r | |
433 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r | |
434 | #\r | |
435 | ################################################################################\r | |
436 | [PcdsFeatureFlag]\r | |
437 | gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r | |
438 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r | |
439 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r | |
440 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r | |
441 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r | |
442 | gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r | |
443 | \r | |
444 | [PcdsFixedAtBuild]\r | |
445 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r | |
446 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r | |
447 | gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r | |
448 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r | |
449 | !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r | |
450 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r | |
451 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r | |
452 | !if $(NETWORK_TLS_ENABLE) == FALSE\r | |
453 | # match PcdFlashNvStorageVariableSize purely for convenience\r | |
454 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r | |
455 | !endif\r | |
456 | !endif\r | |
457 | !if $(FD_SIZE_IN_KB) == 4096\r | |
458 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r | |
459 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r | |
460 | !if $(NETWORK_TLS_ENABLE) == FALSE\r | |
461 | # match PcdFlashNvStorageVariableSize purely for convenience\r | |
462 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r | |
463 | !endif\r | |
464 | !endif\r | |
465 | !if $(NETWORK_TLS_ENABLE) == TRUE\r | |
466 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r | |
467 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r | |
468 | !endif\r | |
469 | \r | |
470 | gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r | |
471 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r | |
472 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r | |
473 | \r | |
474 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r | |
475 | \r | |
476 | # DEBUG_INIT 0x00000001 // Initialization\r | |
477 | # DEBUG_WARN 0x00000002 // Warnings\r | |
478 | # DEBUG_LOAD 0x00000004 // Load events\r | |
479 | # DEBUG_FS 0x00000008 // EFI File system\r | |
480 | # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r | |
481 | # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r | |
482 | # DEBUG_INFO 0x00000040 // Informational debug messages\r | |
483 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r | |
484 | # DEBUG_VARIABLE 0x00000100 // Variable\r | |
485 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
486 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
487 | # DEBUG_NET 0x00004000 // SNP Driver\r | |
488 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r | |
489 | # DEBUG_LOADFILE 0x00020000 // LoadFile\r | |
490 | # DEBUG_EVENT 0x00080000 // Event messages\r | |
491 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r | |
492 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r | |
493 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r | |
494 | # // significantly impact boot performance\r | |
495 | # DEBUG_ERROR 0x80000000 // Error\r | |
496 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r | |
497 | \r | |
498 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
499 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r | |
500 | !else\r | |
501 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r | |
502 | !endif\r | |
503 | \r | |
504 | # This PCD is used to set the base address of the PCI express hierarchy. It\r | |
505 | # is only consulted when OVMF runs on Q35. In that case it is programmed into\r | |
506 | # the PCIEXBAR register.\r | |
507 | #\r | |
508 | # On Q35 machine types that QEMU intends to support in the long term, QEMU\r | |
509 | # never lets the RAM below 4 GB exceed 2816 MB.\r | |
510 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r | |
511 | \r | |
512 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r | |
513 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r | |
514 | !endif\r | |
515 | \r | |
516 | #\r | |
517 | # The NumberOfPages values below are ad-hoc. They are updated sporadically at\r | |
518 | # best (please refer to git-blame for past updates). The values capture a set\r | |
519 | # of BIN hints that made sense at a particular time, for some (now likely\r | |
520 | # unknown) workloads / boot paths.\r | |
521 | #\r | |
522 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80\r | |
523 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10\r | |
524 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80\r | |
525 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100\r | |
526 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100\r | |
527 | \r | |
528 | #\r | |
529 | # Network Pcds\r | |
530 | #\r | |
531 | !include NetworkPkg/NetworkPcds.dsc.inc\r | |
532 | \r | |
533 | gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000\r | |
534 | \r | |
535 | # IRQs 5, 9, 10, 11 are level-triggered\r | |
536 | gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r | |
537 | \r | |
538 | # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r | |
539 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r | |
540 | \r | |
541 | # microvm serial port^M\r | |
542 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r | |
543 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF}\r | |
544 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8\r | |
545 | \r | |
546 | ################################################################################\r | |
547 | #\r | |
548 | # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r | |
549 | #\r | |
550 | ################################################################################\r | |
551 | \r | |
552 | [PcdsDynamicDefault]\r | |
553 | # only set when\r | |
554 | # ($(SMM_REQUIRE) == FALSE)\r | |
555 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r | |
556 | \r | |
557 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r | |
558 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r | |
559 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r | |
560 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r | |
561 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r | |
562 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r | |
563 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r | |
564 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r | |
565 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r | |
566 | gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r | |
567 | gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r | |
568 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r | |
569 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r | |
570 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r | |
571 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r | |
572 | \r | |
573 | gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000\r | |
574 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r | |
575 | \r | |
576 | # Set video resolution for text setup.\r | |
577 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r | |
578 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r | |
579 | \r | |
580 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r | |
581 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r | |
582 | gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r | |
583 | \r | |
584 | # Noexec settings for DXE.\r | |
585 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r | |
586 | \r | |
587 | # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r | |
588 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r | |
589 | gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0\r | |
590 | \r | |
591 | # Set memory encryption mask\r | |
592 | gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r | |
593 | \r | |
594 | # Set SEV-ES defaults\r | |
595 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0\r | |
596 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0\r | |
597 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0\r | |
598 | \r | |
599 | gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r | |
600 | \r | |
601 | # IPv4 and IPv6 PXE Boot support.\r | |
602 | gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01\r | |
603 | gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01\r | |
604 | \r | |
605 | # Set ConfidentialComputing defaults\r | |
606 | gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0\r | |
607 | \r | |
608 | ################################################################################\r | |
609 | #\r | |
610 | # Components Section - list of all EDK II Modules needed by this Platform.\r | |
611 | #\r | |
612 | ################################################################################\r | |
613 | [Components]\r | |
614 | OvmfPkg/ResetVector/ResetVector.inf\r | |
615 | \r | |
616 | #\r | |
617 | # SEC Phase modules\r | |
618 | #\r | |
619 | OvmfPkg/Sec/SecMain.inf {\r | |
620 | <LibraryClasses>\r | |
621 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
622 | }\r | |
623 | \r | |
624 | #\r | |
625 | # PEI Phase modules\r | |
626 | #\r | |
627 | MdeModulePkg/Core/Pei/PeiMain.inf\r | |
628 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r | |
629 | <LibraryClasses>\r | |
630 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
631 | }\r | |
632 | MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r | |
633 | <LibraryClasses>\r | |
634 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
635 | }\r | |
636 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r | |
637 | <LibraryClasses>\r | |
638 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
639 | }\r | |
640 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r | |
641 | \r | |
642 | OvmfPkg/PlatformPei/PlatformPei.inf\r | |
643 | UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r | |
644 | UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r | |
645 | \r | |
646 | #\r | |
647 | # DXE Phase modules\r | |
648 | #\r | |
649 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
650 | <LibraryClasses>\r | |
651 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
652 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
653 | }\r | |
654 | \r | |
655 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r | |
656 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r | |
657 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r | |
658 | <LibraryClasses>\r | |
659 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
660 | }\r | |
661 | \r | |
662 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r | |
663 | \r | |
664 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r | |
665 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r | |
666 | OvmfPkg/XenTimerDxe/XenTimerDxe.inf\r | |
667 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r | |
668 | UefiCpuPkg/CpuDxe/CpuDxe.inf\r | |
669 | OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r | |
670 | OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r | |
671 | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r | |
672 | <LibraryClasses>\r | |
673 | PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf\r | |
674 | PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r | |
675 | NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r | |
676 | }\r | |
677 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r | |
678 | <LibraryClasses>\r | |
679 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
680 | }\r | |
681 | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r | |
682 | MdeModulePkg/Universal/Metronome/Metronome.inf\r | |
683 | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r | |
684 | MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r | |
685 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r | |
686 | <LibraryClasses>\r | |
687 | XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r | |
688 | }\r | |
689 | MdeModulePkg/Logo/LogoDxe.inf\r | |
690 | MdeModulePkg/Application/UiApp/UiApp.inf {\r | |
691 | <LibraryClasses>\r | |
692 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r | |
693 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r | |
694 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r | |
695 | }\r | |
696 | OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {\r | |
697 | <LibraryClasses>\r | |
698 | NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf\r | |
699 | }\r | |
700 | OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r | |
701 | OvmfPkg/Virtio10Dxe/Virtio10.inf\r | |
702 | OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r | |
703 | OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r | |
704 | OvmfPkg/VirtioRngDxe/VirtioRng.inf\r | |
705 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r | |
706 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r | |
707 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
708 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
709 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
710 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r | |
711 | <LibraryClasses>\r | |
712 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
713 | }\r | |
714 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r | |
715 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r | |
716 | <LibraryClasses>\r | |
717 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
718 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
719 | }\r | |
720 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r | |
721 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
722 | MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r | |
723 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
724 | FatPkg/EnhancedFatDxe/Fat.inf\r | |
725 | MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r | |
726 | OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf\r | |
727 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r | |
728 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r | |
729 | OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r | |
730 | MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r | |
731 | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r | |
732 | MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r | |
733 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
734 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r | |
735 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r | |
736 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r | |
737 | \r | |
738 | OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r | |
739 | OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r | |
740 | OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r | |
741 | \r | |
742 | #\r | |
743 | # ISA Support\r | |
744 | #\r | |
745 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r | |
746 | \r | |
747 | #\r | |
748 | # device tree\r | |
749 | #\r | |
750 | EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf\r | |
751 | OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf\r | |
752 | \r | |
753 | #\r | |
754 | # SMBIOS Support\r | |
755 | #\r | |
756 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r | |
757 | <LibraryClasses>\r | |
758 | NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r | |
759 | }\r | |
760 | OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r | |
761 | \r | |
762 | #\r | |
763 | # ACPI Support\r | |
764 | #\r | |
765 | MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r | |
766 | OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r | |
767 | MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r | |
768 | MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r | |
769 | MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r | |
770 | \r | |
771 | #\r | |
772 | # Network Support\r | |
773 | #\r | |
774 | !include NetworkPkg/NetworkComponents.dsc.inc\r | |
775 | \r | |
776 | NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {\r | |
777 | <LibraryClasses>\r | |
778 | NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf\r | |
779 | }\r | |
780 | \r | |
781 | !if $(NETWORK_TLS_ENABLE) == TRUE\r | |
782 | NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r | |
783 | <LibraryClasses>\r | |
784 | NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r | |
785 | }\r | |
786 | !endif\r | |
787 | OvmfPkg/VirtioNetDxe/VirtioNet.inf\r | |
788 | \r | |
789 | #\r | |
790 | # Usb Support\r | |
791 | #\r | |
792 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r | |
793 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r | |
794 | MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r | |
795 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r | |
796 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r | |
797 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r | |
798 | \r | |
799 | !if $(TOOL_CHAIN_TAG) != "XCODE5"\r | |
800 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r | |
801 | <PcdsFixedAtBuild>\r | |
802 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
803 | }\r | |
804 | ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {\r | |
805 | <PcdsFixedAtBuild>\r | |
806 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
807 | }\r | |
808 | OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r | |
809 | <PcdsFixedAtBuild>\r | |
810 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
811 | }\r | |
812 | !endif\r | |
813 | ShellPkg/Application/Shell/Shell.inf {\r | |
814 | <LibraryClasses>\r | |
815 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
816 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
817 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
818 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
819 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
820 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
821 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
822 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
823 | !if $(NETWORK_IP6_ENABLE) == TRUE\r | |
824 | NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r | |
825 | !endif\r | |
826 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r | |
827 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
828 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r | |
829 | \r | |
830 | <PcdsFixedAtBuild>\r | |
831 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
832 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
833 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
834 | }\r | |
835 | \r | |
836 | OvmfPkg/PlatformDxe/Platform.inf\r | |
837 | OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r | |
838 | \r | |
839 | #\r | |
840 | # Variable driver stack (non-SMM)\r | |
841 | #\r | |
842 | OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r | |
843 | OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r | |
844 | <LibraryClasses>\r | |
845 | PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r | |
846 | }\r | |
847 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r | |
848 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r | |
849 | <LibraryClasses>\r | |
850 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
851 | }\r |