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