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