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