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