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