]>
Commit | Line | Data |
---|---|---|
7b202cb0 | 1 | ## @file\r |
49ba9447 | 2 | # EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r |
3 | #\r | |
d4ab7201 | 4 | # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>\r |
a6d594c5 | 5 | # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r |
435a05af | 6 | # Copyright (c) Microsoft Corporation.\r |
49ba9447 | 7 | #\r |
b26f0cf9 | 8 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
49ba9447 | 9 | #\r |
7b202cb0 | 10 | ##\r |
49ba9447 | 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 = Ovmf\r | |
19 | PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r | |
20 | PLATFORM_VERSION = 0.1\r | |
713b7b5e | 21 | DSC_SPECIFICATION = 0x00010005\r |
49ba9447 | 22 | OUTPUT_DIRECTORY = Build/OvmfX64\r |
23 | SUPPORTED_ARCHITECTURES = X64\r | |
27214228 | 24 | BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r |
49ba9447 | 25 | SKUID_IDENTIFIER = DEFAULT\r |
7416f4eb | 26 | FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf\r |
49ba9447 | 27 | \r |
e05061c5 | 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 | |
1f695483 | 33 | DEFINE SMM_REQUIRE = FALSE\r |
46bb8120 | 34 | DEFINE SOURCE_DEBUG_ENABLE = FALSE\r |
b4757580 GH |
35 | \r |
36 | !include OvmfPkg/OvmfTpmDefines.dsc.inc\r | |
e05061c5 | 37 | \r |
63119504 FS |
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 | |
0cbf1b77 | 45 | DEFINE NETWORK_ISCSI_ENABLE = TRUE\r |
63119504 FS |
46 | \r |
47 | !include NetworkPkg/NetworkDefines.dsc.inc\r | |
48 | \r | |
478c07d4 LA |
49 | #\r |
50 | # Device drivers\r | |
51 | #\r | |
52 | DEFINE PVSCSI_ENABLE = TRUE\r | |
feec20b2 | 53 | DEFINE MPT_SCSI_ENABLE = TRUE\r |
e94d04a0 | 54 | DEFINE LSI_SCSI_ENABLE = FALSE\r |
478c07d4 | 55 | \r |
21027073 LE |
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 | |
b24fca05 LE |
66 | !else\r |
67 | !ifdef $(FD_SIZE_4MB)\r | |
68 | DEFINE FD_SIZE_IN_KB = 4096\r | |
21027073 | 69 | !else\r |
1c47fcd4 | 70 | DEFINE FD_SIZE_IN_KB = 4096\r |
21027073 LE |
71 | !endif\r |
72 | !endif\r | |
b24fca05 | 73 | !endif\r |
21027073 | 74 | \r |
0bc7e56d | 75 | [BuildOptions]\r |
152d9a6b | 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 | |
0769224a | 79 | !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"\r |
4a8266f5 | 80 | GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r |
4a64cbda | 81 | !endif\r |
46bb8120 | 82 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r |
bbcafc44 | 83 | MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r |
84 | GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r | |
85 | INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r | |
86 | !endif\r | |
f037af6e | 87 | RELEASE_*_*_GENFW_FLAGS = --zero\r |
0bc7e56d | 88 | \r |
b78736bd LE |
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 | |
2b80269d MX |
96 | #\r |
97 | # Add TDX_GUEST_SUPPORTED\r | |
98 | #\r | |
99 | MSFT:*_*_*_CC_FLAGS = /D TDX_GUEST_SUPPORTED\r | |
100 | INTEL:*_*_*_CC_FLAGS = /D TDX_GUEST_SUPPORTED\r | |
101 | GCC:*_*_*_CC_FLAGS = -D TDX_GUEST_SUPPORTED\r | |
102 | \r | |
0cbf1b77 ZG |
103 | !include NetworkPkg/NetworkBuildOptions.dsc.inc\r |
104 | \r | |
ddd89cd5 AB |
105 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r |
106 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r | |
4fb393aa VC |
107 | XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r |
108 | XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r | |
0769224a | 109 | CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r |
ddd89cd5 | 110 | \r |
2f790bcb JY |
111 | # Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r |
112 | # protection of DXE_SMM_DRIVER/SMM_CORE modules\r | |
113 | [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r | |
114 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r | |
4fb393aa VC |
115 | XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r |
116 | XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r | |
0769224a | 117 | CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r |
2f790bcb | 118 | \r |
49ba9447 | 119 | ################################################################################\r |
120 | #\r | |
121 | # SKU Identification section - list of all SKU IDs supported by this Platform.\r | |
122 | #\r | |
123 | ################################################################################\r | |
124 | [SkuIds]\r | |
125 | 0|DEFAULT\r | |
126 | \r | |
127 | ################################################################################\r | |
128 | #\r | |
129 | # Library Class section - list of all Library Classes needed by this Platform.\r | |
130 | #\r | |
131 | ################################################################################\r | |
d4ab7201 DB |
132 | \r |
133 | !include MdePkg/MdeLibs.dsc.inc\r | |
134 | \r | |
7b202cb0 | 135 | [LibraryClasses]\r |
49ba9447 | 136 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
170ef2d9 | 137 | TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r |
d70cdcf0 | 138 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf\r |
49ba9447 | 139 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r |
4a8266f5 | 140 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r |
49ba9447 | 141 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r |
7fc21c29 | 142 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r |
cd473d41 | 143 | TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r |
7fc21c29 | 144 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r |
49ba9447 | 145 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r |
146 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
147 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
148 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
49ba9447 | 149 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r |
150 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
151 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
152 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
79c098b6 | 153 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r |
79c098b6 | 154 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r |
a3cd5cd5 | 155 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r |
79c098b6 | 156 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r |
49ba9447 | 157 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r |
158 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
cd455669 | 159 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r |
49ba9447 | 160 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
161 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r | |
c47ed6fc | 162 | PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r |
49ba9447 | 163 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r |
75f45331 | 164 | PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r |
e9b2cf7b LE |
165 | PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r |
166 | PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r | |
167 | PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r | |
97353a9c | 168 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r |
1630c6df | 169 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r |
49ba9447 | 170 | SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r |
171 | MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r | |
030f71df | 172 | MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf\r |
86fef5b4 | 173 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r |
174 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
175 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
176 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
177 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
5c3481b0 | 178 | DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r |
14b21de9 | 179 | NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r |
ae591c14 | 180 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r |
284af948 | 181 | UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r |
8273af4e | 182 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r |
689562cd | 183 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r |
b043ebc2 | 184 | SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r |
fee47a26 | 185 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf\r |
611c7f11 | 186 | QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf\r |
263559b8 | 187 | VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r |
3c0a051f | 188 | LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r |
b97dc4b9 | 189 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf\r |
67d86594 | 190 | !if $(SMM_REQUIRE) == FALSE\r |
6a7cba79 | 191 | LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r |
67d86594 | 192 | !endif\r |
56af21cb | 193 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r |
ead94b1f | 194 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r |
c6efcc2a | 195 | \r |
46bb8120 | 196 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r |
c6efcc2a | 197 | PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r |
198 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r | |
199 | !else\r | |
42a83e80 | 200 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r |
201 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
c6efcc2a | 202 | !endif\r |
152d9a6b | 203 | \r |
decb365b | 204 | LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r |
8cee3de7 | 205 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r |
206 | \r | |
8cee3de7 | 207 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r |
63119504 | 208 | !if $(NETWORK_TLS_ENABLE) == TRUE\r |
8cee3de7 | 209 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r |
df453e1b LE |
210 | !else\r |
211 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r | |
212 | !endif\r | |
a09df5d2 | 213 | RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r |
6d0f8941 GL |
214 | \r |
215 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
216 | PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r | |
285542eb | 217 | AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r |
3d427c5f GB |
218 | SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf\r |
219 | SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf\r | |
285542eb | 220 | !else\r |
285542eb | 221 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r |
8cee3de7 | 222 | !endif\r |
68ef1ad7 | 223 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r |
435a05af BB |
224 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r |
225 | VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r | |
8cee3de7 | 226 | \r |
32e22f20 | 227 | \r |
63119504 FS |
228 | #\r |
229 | # Network libraries\r | |
230 | #\r | |
231 | !include NetworkPkg/NetworkLibs.dsc.inc\r | |
ab44a6e8 | 232 | \r |
63119504 | 233 | !if $(NETWORK_TLS_ENABLE) == TRUE\r |
315d9d08 GL |
234 | TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r |
235 | !endif\r | |
236 | \r | |
984ba6a4 | 237 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
b1163623 | 238 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r |
b017b1b2 LE |
239 | S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r |
240 | SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r | |
48cc4d0c | 241 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r |
b017b1b2 | 242 | \r |
b4757580 | 243 | !include OvmfPkg/OvmfTpmLibs.dsc.inc\r |
6cf1880f | 244 | \r |
8cee3de7 | 245 | [LibraryClasses.common]\r |
8cee3de7 | 246 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r |
61bacc0f | 247 | VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf\r |
2b80269d MX |
248 | TdxLib|MdePkg/Library/TdxLib/TdxLib.inf\r |
249 | TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLib.inf\r | |
152d9a6b | 250 | \r |
49ba9447 | 251 | [LibraryClasses.common.SEC]\r |
170ef2d9 | 252 | TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r |
c90decb9 | 253 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r |
b90aefa9 | 254 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r |
49ba9447 | 255 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
b90aefa9 | 256 | !else\r |
c9eb56e5 | 257 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r |
b90aefa9 | 258 | !endif\r |
abec2e51 | 259 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r |
fcd7e677 | 260 | ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r |
46bb8120 | 261 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r |
c6efcc2a | 262 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r |
263 | !endif\r | |
42a83e80 | 264 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r |
265 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
266 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r | |
267 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
b304d280 TL |
268 | !if $(TOOL_CHAIN_TAG) == "XCODE5"\r |
269 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf\r | |
270 | !else\r | |
85a32c71 | 271 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r |
b304d280 | 272 | !endif\r |
5667dc43 | 273 | VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf\r |
85b8eac5 | 274 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf\r |
49ba9447 | 275 | \r |
276 | [LibraryClasses.common.PEI_CORE]\r | |
49ba9447 | 277 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r |
278 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r | |
279 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
280 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
281 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
abec2e51 | 282 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r |
1630c6df | 283 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r |
49ba9447 | 284 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
b90aefa9 | 285 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r |
49ba9447 | 286 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
b90aefa9 | 287 | !else\r |
288 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
289 | !endif\r | |
49ba9447 | 290 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r |
291 | \r | |
292 | [LibraryClasses.common.PEIM]\r | |
49ba9447 | 293 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r |
294 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r | |
295 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
296 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
297 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
abec2e51 | 298 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r |
1630c6df | 299 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r |
49ba9447 | 300 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
b90aefa9 | 301 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r |
49ba9447 | 302 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
b90aefa9 | 303 | !else\r |
304 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
305 | !endif\r | |
49ba9447 | 306 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r |
0ed73bcd | 307 | ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r |
49ba9447 | 308 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r |
46bb8120 | 309 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r |
c6efcc2a | 310 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r |
311 | !endif\r | |
f0e6a56a | 312 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r |
f4c59f42 | 313 | MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r |
b7f2e82c | 314 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r |
639c7dd8 | 315 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r |
fee47a26 | 316 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r |
57bcfc3b | 317 | PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf\r |
49ba9447 | 318 | \r |
b4757580 | 319 | !include OvmfPkg/OvmfTpmLibsPeim.dsc.inc\r |
6cf1880f | 320 | \r |
b97dc4b9 TL |
321 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf\r |
322 | \r | |
49ba9447 | 323 | [LibraryClasses.common.DXE_CORE]\r |
49ba9447 | 324 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r |
325 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
326 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
abec2e51 | 327 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
b90aefa9 | 328 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r |
49ba9447 | 329 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
b90aefa9 | 330 | !else\r |
331 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
332 | !endif\r | |
49ba9447 | 333 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r |
46bb8120 | 334 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r |
c6efcc2a | 335 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r |
336 | !endif\r | |
85a32c71 | 337 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r |
c075d250 | 338 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r |
49ba9447 | 339 | \r |
340 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
988e5986 | 341 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r |
170ef2d9 | 342 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r |
93f6df5f | 343 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r |
49ba9447 | 344 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
345 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
346 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
abec2e51 | 347 | ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r |
b90aefa9 | 348 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r |
49ba9447 | 349 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
b90aefa9 | 350 | !else\r |
351 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
352 | !endif\r | |
49ba9447 | 353 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r |
8cee3de7 | 354 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r |
c47ed6fc | 355 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r |
b7f2e82c | 356 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r |
435a05af | 357 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r |
05a757c9 KQ |
358 | !if $(SMM_REQUIRE) == TRUE\r |
359 | MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r | |
360 | !endif\r | |
49ba9447 | 361 | \r |
362 | [LibraryClasses.common.UEFI_DRIVER]\r | |
988e5986 GS |
363 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r |
364 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r | |
93f6df5f | 365 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r |
49ba9447 | 366 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
367 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
368 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
abec2e51 | 369 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
b90aefa9 | 370 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r |
49ba9447 | 371 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
b90aefa9 | 372 | !else\r |
373 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
374 | !endif\r | |
49ba9447 | 375 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r |
c47ed6fc | 376 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r |
49ba9447 | 377 | \r |
378 | [LibraryClasses.common.DXE_DRIVER]\r | |
988e5986 | 379 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r |
170ef2d9 | 380 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r |
93f6df5f | 381 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r |
49ba9447 | 382 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
49ba9447 | 383 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
abec2e51 | 384 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
49ba9447 | 385 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r |
b90aefa9 | 386 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r |
49ba9447 | 387 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
b90aefa9 | 388 | !else\r |
389 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
390 | !endif\r | |
79c098b6 | 391 | PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r |
77874cee | 392 | PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r |
d85c5e31 | 393 | QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r |
85a32c71 | 394 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r |
67d86594 LE |
395 | !if $(SMM_REQUIRE) == TRUE\r |
396 | LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r | |
397 | !else\r | |
6a7cba79 | 398 | LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r |
67d86594 | 399 | !endif\r |
46bb8120 | 400 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r |
34511266 JJ |
401 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r |
402 | !endif\r | |
c47ed6fc | 403 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r |
f4c59f42 | 404 | MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r |
b7f2e82c | 405 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r |
de7c6081 | 406 | QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf\r |
b4757580 GH |
407 | \r |
408 | !include OvmfPkg/OvmfTpmLibsDxe.dsc.inc\r | |
49ba9447 | 409 | \r |
86fef5b4 | 410 | [LibraryClasses.common.UEFI_APPLICATION]\r |
988e5986 GS |
411 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r |
412 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r | |
93f6df5f | 413 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r |
86fef5b4 | 414 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
415 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
79c098b6 | 416 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
b90aefa9 | 417 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r |
86fef5b4 | 418 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
b90aefa9 | 419 | !else\r |
420 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
421 | !endif\r | |
c47ed6fc | 422 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r |
86fef5b4 | 423 | \r |
988e5986 GS |
424 | [LibraryClasses.common.DXE_SMM_DRIVER]\r |
425 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
426 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r | |
93f6df5f | 427 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r |
67d86594 | 428 | MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r |
fc5b5e5c | 429 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
67d86594 LE |
430 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
431 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r | |
8b3dcd2f | 432 | MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r |
8dbe742d LE |
433 | SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r |
434 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
435 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
436 | !else\r | |
437 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
438 | !endif\r | |
c30ff8f4 | 439 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r |
46bb8120 | 440 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r |
cbd5d723 MK |
441 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r |
442 | !endif\r | |
46df0216 | 443 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r |
c47ed6fc | 444 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r |
988e5986 GS |
445 | \r |
446 | [LibraryClasses.common.SMM_CORE]\r | |
447 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
448 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r | |
93f6df5f | 449 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r |
f25cb158 LE |
450 | SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r |
451 | MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r | |
452 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
453 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
454 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r | |
455 | SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r | |
456 | !ifdef $(DEBUG_ON_SERIAL_PORT)\r | |
457 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
458 | !else\r | |
459 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r | |
460 | !endif\r | |
c47ed6fc | 461 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r |
988e5986 | 462 | \r |
49ba9447 | 463 | ################################################################################\r |
464 | #\r | |
465 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r | |
466 | #\r | |
467 | ################################################################################\r | |
7b202cb0 | 468 | [PcdsFeatureFlag]\r |
eccc28bf | 469 | gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r |
8fa729a8 LG |
470 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r |
471 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r | |
8fa729a8 LG |
472 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r |
473 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r | |
259d8714 | 474 | gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r |
50f911d2 LE |
475 | !ifdef $(CSM_ENABLE)\r |
476 | gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE\r | |
477 | !endif\r | |
1f695483 LE |
478 | !if $(SMM_REQUIRE) == TRUE\r |
479 | gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r | |
49df3fce | 480 | gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE\r |
d511d6e0 | 481 | gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE\r |
1f695483 | 482 | !endif\r |
8fa729a8 | 483 | \r |
7b202cb0 | 484 | [PcdsFixedAtBuild]\r |
e6d3b270 | 485 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r |
d42fdd6f | 486 | !if $(SMM_REQUIRE) == FALSE\r |
670a64e7 | 487 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r |
d42fdd6f | 488 | !endif\r |
49ba9447 | 489 | gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r |
d3f3c942 | 490 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r |
88a30bbc | 491 | !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r |
fd4ba547 | 492 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r |
f5404a3e | 493 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r |
63119504 | 494 | !if $(NETWORK_TLS_ENABLE) == FALSE\r |
c95e6d09 | 495 | # match PcdFlashNvStorageVariableSize purely for convenience\r |
62f43f7c | 496 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r |
88a30bbc | 497 | !endif\r |
9c7d0d49 | 498 | !endif\r |
88a30bbc LE |
499 | !if $(FD_SIZE_IN_KB) == 4096\r |
500 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r | |
501 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r | |
63119504 | 502 | !if $(NETWORK_TLS_ENABLE) == FALSE\r |
c95e6d09 | 503 | # match PcdFlashNvStorageVariableSize purely for convenience\r |
62f43f7c | 504 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r |
88a30bbc | 505 | !endif\r |
9c7d0d49 | 506 | !endif\r |
63119504 | 507 | !if $(NETWORK_TLS_ENABLE) == TRUE\r |
9c7d0d49 LE |
508 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r |
509 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r | |
510 | !endif\r | |
49ba9447 | 511 | \r |
49ba9447 | 512 | gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r |
7fe5022f MT |
513 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r |
514 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r | |
49ba9447 | 515 | \r |
49ba9447 | 516 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r |
cf23c02a LE |
517 | \r |
518 | # DEBUG_INIT 0x00000001 // Initialization\r | |
519 | # DEBUG_WARN 0x00000002 // Warnings\r | |
520 | # DEBUG_LOAD 0x00000004 // Load events\r | |
521 | # DEBUG_FS 0x00000008 // EFI File system\r | |
522 | # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r | |
523 | # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r | |
524 | # DEBUG_INFO 0x00000040 // Informational debug messages\r | |
525 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r | |
526 | # DEBUG_VARIABLE 0x00000100 // Variable\r | |
527 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
528 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
529 | # DEBUG_NET 0x00004000 // SNP Driver\r | |
530 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r | |
531 | # DEBUG_LOADFILE 0x00020000 // LoadFile\r | |
532 | # DEBUG_EVENT 0x00080000 // Event messages\r | |
533 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r | |
534 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r | |
535 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r | |
536 | # // significantly impact boot performance\r | |
537 | # DEBUG_ERROR 0x80000000 // Error\r | |
49ba9447 | 538 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r |
cf23c02a | 539 | \r |
46bb8120 | 540 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r |
c6efcc2a | 541 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r |
542 | !else\r | |
49ba9447 | 543 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r |
c6efcc2a | 544 | !endif\r |
545 | \r | |
7b8fe635 LE |
546 | # This PCD is used to set the base address of the PCI express hierarchy. It\r |
547 | # is only consulted when OVMF runs on Q35. In that case it is programmed into\r | |
548 | # the PCIEXBAR register.\r | |
eb4d62b0 LE |
549 | #\r |
550 | # On Q35 machine types that QEMU intends to support in the long term, QEMU\r | |
b07de097 LE |
551 | # never lets the RAM below 4 GB exceed 2816 MB.\r |
552 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r | |
7b8fe635 | 553 | \r |
46bb8120 | 554 | !if $(SOURCE_DEBUG_ENABLE) == TRUE\r |
c6efcc2a | 555 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r |
670a64e7 | 556 | !endif\r |
49ba9447 | 557 | \r |
8db87f98 LE |
558 | #\r |
559 | # The NumberOfPages values below are ad-hoc. They are updated sporadically at\r | |
560 | # best (please refer to git-blame for past updates). The values capture a set\r | |
561 | # of BIN hints that made sense at a particular time, for some (now likely\r | |
562 | # unknown) workloads / boot paths.\r | |
563 | #\r | |
7b6327ff LE |
564 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80\r |
565 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10\r | |
566 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80\r | |
567 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100\r | |
568 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100\r | |
8db87f98 | 569 | \r |
2b80269d MX |
570 | #\r |
571 | # TDX need 1G PageTable support\r | |
572 | gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r | |
573 | \r | |
63119504 FS |
574 | #\r |
575 | # Network Pcds\r | |
576 | #\r | |
577 | !include NetworkPkg/NetworkPcds.dsc.inc\r | |
4b2fb798 | 578 | \r |
2912341c LE |
579 | gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000\r |
580 | \r | |
9b1e3788 | 581 | !if $(SMM_REQUIRE) == TRUE\r |
0d0c245d | 582 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r |
9b1e3788 PB |
583 | !endif\r |
584 | \r | |
7ca126ff | 585 | # IRQs 5, 9, 10, 11 are level-triggered\r |
c0185243 | 586 | gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r |
7ca126ff | 587 | \r |
79c098b6 RN |
588 | # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r |
589 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r | |
590 | \r | |
49ba9447 | 591 | ################################################################################\r |
592 | #\r | |
593 | # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r | |
594 | #\r | |
595 | ################################################################################\r | |
596 | \r | |
7b202cb0 | 597 | [PcdsDynamicDefault]\r |
5e167d7e LE |
598 | # only set when\r |
599 | # ($(SMM_REQUIRE) == FALSE)\r | |
77ba993c | 600 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r |
5e167d7e | 601 | \r |
b0ed7ebd | 602 | !if $(SMM_REQUIRE) == FALSE\r |
e3130268 | 603 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r |
2b20a34f | 604 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r |
605 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r | |
27f58ea1 | 606 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r |
607 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r | |
b0ed7ebd | 608 | !endif\r |
862ea6e8 GH |
609 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280\r |
610 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800\r | |
a1726e30 | 611 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r |
929804b1 | 612 | gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0\r |
d55004da | 613 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r |
c4df7fd0 LE |
614 | gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r |
615 | gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r | |
03845e90 LE |
616 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r |
617 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r | |
7e5b1b67 | 618 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r |
c7341877 DW |
619 | !ifdef $(CSM_ENABLE)\r |
620 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x0\r | |
621 | !else\r | |
7e5b1b67 | 622 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r |
c7341877 | 623 | !endif\r |
27f58ea1 | 624 | \r |
86a9c7a7 | 625 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r |
49ba9447 | 626 | \r |
848834cb | 627 | # Set video resolution for text setup.\r |
86a9c7a7 RN |
628 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r |
629 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r | |
848834cb | 630 | \r |
37baf06b | 631 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r |
c3db5a8c | 632 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r |
6fbef93e | 633 | gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r |
37baf06b | 634 | \r |
d26753f8 | 635 | # Noexec settings for DXE.\r |
d20b06a3 | 636 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r |
d26753f8 | 637 | \r |
45a70db3 LE |
638 | # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r |
639 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r | |
83357313 | 640 | gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0\r |
45a70db3 | 641 | \r |
13b5d743 BS |
642 | # Set memory encryption mask\r |
643 | gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r | |
644 | \r | |
fd306d1d MX |
645 | # Set Tdx shared bit mask\r |
646 | gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0\r | |
647 | \r | |
cf845a74 | 648 | # Set SEV-ES defaults\r |
449a6e49 TL |
649 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0\r |
650 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0\r | |
cf845a74 TL |
651 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0\r |
652 | \r | |
22d7be69 | 653 | !if $(SMM_REQUIRE) == TRUE\r |
966dbaf4 | 654 | gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8\r |
d74d56fc | 655 | gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE\r |
22d7be69 LE |
656 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r |
657 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r | |
658 | !endif\r | |
659 | \r | |
6041ac65 | 660 | gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r |
6041ac65 | 661 | \r |
b4757580 | 662 | !include OvmfPkg/OvmfTpmPcds.dsc.inc\r |
6cf1880f | 663 | \r |
b8b890ca LE |
664 | # IPv4 and IPv6 PXE Boot support.\r |
665 | gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01\r | |
666 | gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01\r | |
667 | \r | |
504ae26b BS |
668 | # Set ConfidentialComputing defaults\r |
669 | gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0\r | |
670 | \r | |
f55477fe | 671 | [PcdsDynamicHii]\r |
b4757580 | 672 | !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc\r |
f55477fe | 673 | \r |
49ba9447 | 674 | ################################################################################\r |
675 | #\r | |
676 | # Components Section - list of all EDK II Modules needed by this Platform.\r | |
677 | #\r | |
678 | ################################################################################\r | |
7b202cb0 | 679 | [Components]\r |
497cbb53 JJ |
680 | OvmfPkg/ResetVector/ResetVector.inf\r |
681 | \r | |
49ba9447 | 682 | #\r |
683 | # SEC Phase modules\r | |
684 | #\r | |
c1c2669c | 685 | OvmfPkg/Sec/SecMain.inf {\r |
686 | <LibraryClasses>\r | |
d2daa3db | 687 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r |
2b80269d | 688 | NULL|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf\r |
c1c2669c | 689 | }\r |
49ba9447 | 690 | \r |
691 | #\r | |
692 | # PEI Phase modules\r | |
693 | #\r | |
694 | MdeModulePkg/Core/Pei/PeiMain.inf\r | |
695 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r | |
696 | <LibraryClasses>\r | |
697 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
698 | }\r | |
fbce1fe9 LE |
699 | MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r |
700 | <LibraryClasses>\r | |
701 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
702 | }\r | |
703 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r | |
704 | <LibraryClasses>\r | |
705 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
706 | }\r | |
639c7dd8 | 707 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r |
77ba993c | 708 | \r |
639c7dd8 | 709 | OvmfPkg/PlatformPei/PlatformPei.inf\r |
5fb6fc0f LE |
710 | UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r |
711 | <LibraryClasses>\r | |
67d86594 LE |
712 | !if $(SMM_REQUIRE) == TRUE\r |
713 | LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r | |
714 | !endif\r | |
5fb6fc0f | 715 | }\r |
9d560947 | 716 | !if $(SMM_REQUIRE) == TRUE\r |
89465fe9 LE |
717 | MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r |
718 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r | |
639c7dd8 | 719 | OvmfPkg/SmmAccess/SmmAccessPei.inf\r |
9d560947 | 720 | !endif\r |
639c7dd8 | 721 | UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r |
49ba9447 | 722 | \r |
b4757580 | 723 | !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc\r |
6cf1880f | 724 | \r |
49ba9447 | 725 | #\r |
726 | # DXE Phase modules\r | |
727 | #\r | |
728 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
729 | <LibraryClasses>\r | |
d2daa3db | 730 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r |
5c3481b0 | 731 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r |
49ba9447 | 732 | }\r |
733 | \r | |
a6d594c5 CS |
734 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r |
735 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r | |
49ba9447 | 736 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r |
737 | <LibraryClasses>\r | |
738 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
739 | }\r | |
c1c2669c | 740 | \r |
49ba9447 | 741 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r |
8cee3de7 | 742 | \r |
8cee3de7 | 743 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r |
744 | <LibraryClasses>\r | |
5487d002 | 745 | !if $(SECURE_BOOT_ENABLE) == TRUE\r |
8cee3de7 | 746 | NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r |
b4757580 | 747 | !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc\r |
8cee3de7 | 748 | !endif\r |
5487d002 | 749 | }\r |
8cee3de7 | 750 | \r |
e6d3b270 | 751 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r |
c0185243 | 752 | OvmfPkg/8259InterruptControllerDxe/8259.inf\r |
73cbc580 | 753 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r |
49ba9447 | 754 | UefiCpuPkg/CpuDxe/CpuDxe.inf\r |
e3c787af | 755 | OvmfPkg/8254TimerDxe/8254Timer.inf\r |
855743f7 | 756 | OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r |
8aba40b7 | 757 | OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r |
4014885f LE |
758 | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r |
759 | <LibraryClasses>\r | |
760 | PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r | |
7a6172f8 | 761 | PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r |
c6ab9aec | 762 | NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r |
4014885f | 763 | }\r |
447d2641 WL |
764 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r |
765 | <LibraryClasses>\r | |
766 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
767 | }\r | |
f90472e1 | 768 | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r |
170ef2d9 GS |
769 | MdeModulePkg/Universal/Metronome/Metronome.inf\r |
770 | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r | |
ba502ef4 | 771 | MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r |
79c098b6 RN |
772 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r |
773 | <LibraryClasses>\r | |
51adb689 | 774 | XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r |
79c098b6 RN |
775 | !ifdef $(CSM_ENABLE)\r |
776 | NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r | |
3207a872 | 777 | NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r |
79c098b6 RN |
778 | !endif\r |
779 | }\r | |
ab970515 | 780 | MdeModulePkg/Logo/LogoDxe.inf\r |
79c098b6 RN |
781 | MdeModulePkg/Application/UiApp/UiApp.inf {\r |
782 | <LibraryClasses>\r | |
783 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r | |
784 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r | |
785 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r | |
786 | !ifdef $(CSM_ENABLE)\r | |
3207a872 HW |
787 | NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r |
788 | NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r | |
79c098b6 RN |
789 | !endif\r |
790 | }\r | |
c73e31f5 DM |
791 | OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {\r |
792 | <LibraryClasses>\r | |
793 | NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf\r | |
794 | }\r | |
56f65ed8 | 795 | OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r |
8456a7da | 796 | OvmfPkg/Virtio10Dxe/Virtio10.inf\r |
fd51d759 | 797 | OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r |
37078a63 | 798 | OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r |
b38ec3cd | 799 | OvmfPkg/VirtioRngDxe/VirtioRng.inf\r |
478c07d4 LA |
800 | !if $(PVSCSI_ENABLE) == TRUE\r |
801 | OvmfPkg/PvScsiDxe/PvScsiDxe.inf\r | |
feec20b2 NL |
802 | !endif\r |
803 | !if $(MPT_SCSI_ENABLE) == TRUE\r | |
804 | OvmfPkg/MptScsiDxe/MptScsiDxe.inf\r | |
e94d04a0 GL |
805 | !endif\r |
806 | !if $(LSI_SCSI_ENABLE) == TRUE\r | |
807 | OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf\r | |
478c07d4 | 808 | !endif\r |
49ba9447 | 809 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r |
810 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r | |
811 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
812 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
813 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
c4341e3a LE |
814 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r |
815 | <LibraryClasses>\r | |
816 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
817 | }\r | |
49ba9447 | 818 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r |
5c3481b0 RN |
819 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r |
820 | <LibraryClasses>\r | |
821 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
822 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
823 | }\r | |
49ba9447 | 824 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r |
825 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
00f18da1 | 826 | MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r |
49ba9447 | 827 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r |
aa47e529 | 828 | FatPkg/EnhancedFatDxe/Fat.inf\r |
f5566d15 | 829 | MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r |
5ab6a0e1 | 830 | OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf\r |
49ba9447 | 831 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r |
832 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r | |
b82802b8 RJ |
833 | OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r |
834 | MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r | |
835 | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r | |
8ae3832d | 836 | MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r |
49ba9447 | 837 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r |
838 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r | |
56af21cb | 839 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r |
999a815e | 840 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r |
49ba9447 | 841 | \r |
4b04d9d7 | 842 | !ifndef $(CSM_ENABLE)\r |
bd52d4ff | 843 | OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r |
4b04d9d7 | 844 | !endif\r |
1d25ff51 | 845 | OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r |
b3eab015 | 846 | OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r |
49ba9447 | 847 | \r |
848 | #\r | |
849 | # ISA Support\r | |
850 | #\r | |
a5cc178a | 851 | OvmfPkg/SioBusDxe/SioBusDxe.inf\r |
a0681022 HW |
852 | MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r |
853 | MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r | |
49ba9447 | 854 | \r |
fb511817 | 855 | #\r |
856 | # SMBIOS Support\r | |
857 | #\r | |
98937dc2 LE |
858 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r |
859 | <LibraryClasses>\r | |
860 | NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r | |
861 | }\r | |
fb511817 | 862 | OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r |
863 | \r | |
49ba9447 | 864 | #\r |
865 | # ACPI Support\r | |
866 | #\r | |
867 | MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r | |
66bce05f | 868 | OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r |
b017b1b2 | 869 | MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r |
93900400 | 870 | MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r |
6e5e544f | 871 | MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r |
7416f4eb | 872 | \r |
873 | #\r | |
874 | # Network Support\r | |
875 | #\r | |
63119504 FS |
876 | !include NetworkPkg/NetworkComponents.dsc.inc\r |
877 | \r | |
b8b890ca LE |
878 | NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {\r |
879 | <LibraryClasses>\r | |
880 | NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf\r | |
881 | }\r | |
882 | \r | |
63119504 | 883 | !if $(NETWORK_TLS_ENABLE) == TRUE\r |
9c7d0d49 LE |
884 | NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {\r |
885 | <LibraryClasses>\r | |
886 | NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf\r | |
887 | }\r | |
36c6413f | 888 | !endif\r |
7a1f5947 | 889 | OvmfPkg/VirtioNetDxe/VirtioNet.inf\r |
152d9a6b | 890 | \r |
689562cd | 891 | #\r |
892 | # Usb Support\r | |
893 | #\r | |
894 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r | |
895 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r | |
47e57f4f | 896 | MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r |
689562cd | 897 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r |
898 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r | |
899 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r | |
900 | \r | |
4b3d663f | 901 | !ifdef $(CSM_ENABLE)\r |
3207a872 | 902 | OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r |
e04cca1d PB |
903 | <LibraryClasses>\r |
904 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
905 | }\r | |
3207a872 | 906 | OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r |
4b3d663f | 907 | OvmfPkg/Csm/Csm16/Csm16.inf\r |
908 | !endif\r | |
909 | \r | |
277a3958 | 910 | !if $(TOOL_CHAIN_TAG) != "XCODE5"\r |
984ba6a4 RN |
911 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r |
912 | <PcdsFixedAtBuild>\r | |
913 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
914 | }\r | |
2d8ca4f9 VO |
915 | ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {\r |
916 | <PcdsFixedAtBuild>\r | |
917 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
918 | }\r | |
ec41733c AB |
919 | OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r |
920 | <PcdsFixedAtBuild>\r | |
921 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
922 | }\r | |
bcf181a3 | 923 | !endif\r |
345a0c8f | 924 | ShellPkg/Application/Shell/Shell.inf {\r |
925 | <LibraryClasses>\r | |
926 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
927 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
928 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
929 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
930 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
931 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
932 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
933 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
96302b80 GL |
934 | !if $(NETWORK_IP6_ENABLE) == TRUE\r |
935 | NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r | |
936 | !endif\r | |
345a0c8f | 937 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r |
345a0c8f | 938 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r |
9fc9f4d8 | 939 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r |
345a0c8f | 940 | \r |
941 | <PcdsFixedAtBuild>\r | |
942 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
943 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
944 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
945 | }\r | |
345a0c8f | 946 | \r |
8cee3de7 | 947 | !if $(SECURE_BOOT_ENABLE) == TRUE\r |
8714a631 | 948 | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r |
b1163623 | 949 | OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r |
8cee3de7 | 950 | !endif\r |
d945a8ba LE |
951 | \r |
952 | OvmfPkg/PlatformDxe/Platform.inf\r | |
19914edc BS |
953 | OvmfPkg/AmdSevDxe/AmdSevDxe.inf {\r |
954 | <LibraryClasses>\r | |
955 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r | |
956 | }\r | |
f9d129e6 | 957 | OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r |
c5b7c805 | 958 | \r |
fae5c146 MX |
959 | OvmfPkg/TdxDxe/TdxDxe.inf\r |
960 | \r | |
c5b7c805 LE |
961 | !if $(SMM_REQUIRE) == TRUE\r |
962 | OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r | |
c40e1a0c | 963 | OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r |
55942db1 | 964 | OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r |
f25cb158 LE |
965 | \r |
966 | #\r | |
967 | # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r | |
968 | #\r | |
969 | MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r | |
970 | \r | |
971 | #\r | |
972 | # SMM_CORE\r | |
973 | #\r | |
974 | MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r | |
8dbe742d LE |
975 | \r |
976 | #\r | |
977 | # Privileged drivers (DXE_SMM_DRIVER modules)\r | |
978 | #\r | |
17efae27 | 979 | OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf\r |
8dbe742d | 980 | UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r |
67d86594 LE |
981 | MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r |
982 | <LibraryClasses>\r | |
983 | LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r | |
984 | }\r | |
0d5d4205 LE |
985 | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r |
986 | <LibraryClasses>\r | |
c69f6406 | 987 | SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf\r |
0d5d4205 LE |
988 | SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r |
989 | }\r | |
1b0a8e62 LE |
990 | \r |
991 | #\r | |
46df0216 LE |
992 | # Variable driver stack (SMM)\r |
993 | #\r | |
c28e376e BS |
994 | OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {\r |
995 | <LibraryClasses>\r | |
996 | VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf\r | |
997 | }\r | |
46df0216 LE |
998 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r |
999 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r | |
1000 | <LibraryClasses>\r | |
1001 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
435a05af | 1002 | NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf\r |
46df0216 LE |
1003 | }\r |
1004 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r | |
1005 | \r | |
1006 | !else\r | |
1007 | \r | |
1008 | #\r | |
1009 | # Variable driver stack (non-SMM)\r | |
1b0a8e62 LE |
1010 | #\r |
1011 | OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r | |
1012 | OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r | |
1013 | <LibraryClasses>\r | |
1014 | PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r | |
1015 | }\r | |
1016 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r | |
1017 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r | |
1018 | <LibraryClasses>\r | |
1019 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
1020 | }\r | |
46df0216 | 1021 | !endif\r |
0c0a50d6 | 1022 | \r |
cf3ad972 | 1023 | #\r |
07952a96 | 1024 | # TPM support\r |
cf3ad972 | 1025 | #\r |
b4757580 | 1026 | !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc\r |