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