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