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