1 | ## @file
|
---|
2 | # EFI/Framework Open Virtual Machine Firmware (OVMF) platform for SEV secure
|
---|
3 | # virtual machine remote attestation and secret injection
|
---|
4 | #
|
---|
5 | # Copyright (c) 2020 James Bottomley, IBM Corporation.
|
---|
6 | # Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
|
---|
7 | # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
---|
8 | #
|
---|
9 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
10 | #
|
---|
11 | ##
|
---|
12 |
|
---|
13 | ################################################################################
|
---|
14 | #
|
---|
15 | # Defines Section - statements that will be processed to create a Makefile.
|
---|
16 | #
|
---|
17 | ################################################################################
|
---|
18 | [Defines]
|
---|
19 | PLATFORM_NAME = Ovmf
|
---|
20 | PLATFORM_GUID = 07ff380c-4760-4823-8f59-ec2cb06fbc16
|
---|
21 | PLATFORM_VERSION = 0.1
|
---|
22 | DSC_SPECIFICATION = 0x00010005
|
---|
23 | OUTPUT_DIRECTORY = Build/AmdSev
|
---|
24 | SUPPORTED_ARCHITECTURES = X64
|
---|
25 | BUILD_TARGETS = NOOPT|DEBUG|RELEASE
|
---|
26 | SKUID_IDENTIFIER = DEFAULT
|
---|
27 | FLASH_DEFINITION = OvmfPkg/AmdSev/AmdSevX64.fdf
|
---|
28 | PREBUILD = sh OvmfPkg/AmdSev/Grub/grub.sh
|
---|
29 |
|
---|
30 | #
|
---|
31 | # Defines for default states. These can be changed on the command line.
|
---|
32 | # -D FLAG=VALUE
|
---|
33 | #
|
---|
34 | DEFINE SOURCE_DEBUG_ENABLE = FALSE
|
---|
35 |
|
---|
36 | !include OvmfPkg/Include/Dsc/OvmfTpmDefines.dsc.inc
|
---|
37 |
|
---|
38 | #
|
---|
39 | # Shell can be useful for debugging but should not be enabled for production
|
---|
40 | #
|
---|
41 | DEFINE BUILD_SHELL = FALSE
|
---|
42 |
|
---|
43 | #
|
---|
44 | # Device drivers
|
---|
45 | #
|
---|
46 | DEFINE PVSCSI_ENABLE = FALSE
|
---|
47 | DEFINE MPT_SCSI_ENABLE = FALSE
|
---|
48 | DEFINE LSI_SCSI_ENABLE = FALSE
|
---|
49 |
|
---|
50 | #
|
---|
51 | # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
|
---|
52 | # one of the supported values, in place of any of the convenience macros, is
|
---|
53 | # permitted.
|
---|
54 | #
|
---|
55 | !ifdef $(FD_SIZE_1MB)
|
---|
56 | DEFINE FD_SIZE_IN_KB = 1024
|
---|
57 | !else
|
---|
58 | !ifdef $(FD_SIZE_2MB)
|
---|
59 | DEFINE FD_SIZE_IN_KB = 2048
|
---|
60 | !else
|
---|
61 | !ifdef $(FD_SIZE_4MB)
|
---|
62 | DEFINE FD_SIZE_IN_KB = 4096
|
---|
63 | !else
|
---|
64 | DEFINE FD_SIZE_IN_KB = 4096
|
---|
65 | !endif
|
---|
66 | !endif
|
---|
67 | !endif
|
---|
68 |
|
---|
69 | [BuildOptions]
|
---|
70 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
---|
71 | INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
---|
72 | MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
---|
73 | !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
|
---|
74 | GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
|
---|
75 | !endif
|
---|
76 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
77 | MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
---|
78 | GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
---|
79 | INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
---|
80 | !endif
|
---|
81 | RELEASE_*_*_GENFW_FLAGS = --zero
|
---|
82 |
|
---|
83 | #
|
---|
84 | # Disable deprecated APIs.
|
---|
85 | #
|
---|
86 | MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|
87 | INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|
88 | GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|
89 |
|
---|
90 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
|
---|
91 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
|
---|
92 | XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
|
---|
93 | XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
|
---|
94 | CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
|
---|
95 |
|
---|
96 | ################################################################################
|
---|
97 | #
|
---|
98 | # SKU Identification section - list of all SKU IDs supported by this Platform.
|
---|
99 | #
|
---|
100 | ################################################################################
|
---|
101 | [SkuIds]
|
---|
102 | 0|DEFAULT
|
---|
103 |
|
---|
104 | ################################################################################
|
---|
105 | #
|
---|
106 | # Library Class section - list of all Library Classes needed by this Platform.
|
---|
107 | #
|
---|
108 | ################################################################################
|
---|
109 |
|
---|
110 | !include MdePkg/MdeLibs.dsc.inc
|
---|
111 |
|
---|
112 | [LibraryClasses]
|
---|
113 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
114 | TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
|
---|
115 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
|
---|
116 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
---|
117 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
|
---|
118 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
---|
119 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
---|
120 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
|
---|
121 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
---|
122 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
---|
123 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
---|
124 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
125 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
---|
126 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
---|
127 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
---|
128 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
---|
129 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
---|
130 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
|
---|
131 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
|
---|
132 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
|
---|
133 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
---|
134 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
---|
135 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
---|
136 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
137 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
---|
138 | PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
|
---|
139 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
---|
140 | PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
|
---|
141 | PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
|
---|
142 | PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
|
---|
143 | PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
|
---|
144 | CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
|
---|
145 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
|
---|
146 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
---|
147 | SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
|
---|
148 | MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
---|
149 | MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
|
---|
150 | CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
|
---|
151 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
---|
152 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
---|
153 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
---|
154 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
---|
155 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
---|
156 | DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
|
---|
157 | NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
|
---|
158 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
---|
159 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
---|
160 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
|
---|
161 | SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
|
---|
162 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
|
---|
163 | QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
|
---|
164 | VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
|
---|
165 | LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
|
---|
166 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
|
---|
167 | LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
|
---|
168 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
|
---|
169 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
|
---|
170 | BlobVerifierLib|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
|
---|
171 | MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
|
---|
172 | PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
|
---|
173 | DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
|
---|
174 |
|
---|
175 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
176 | PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
|
---|
177 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
|
---|
178 | !else
|
---|
179 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
---|
180 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
---|
181 | !endif
|
---|
182 |
|
---|
183 | LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
|
---|
184 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
---|
185 |
|
---|
186 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
|
---|
187 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
|
---|
188 | RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
|
---|
189 |
|
---|
190 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
|
---|
191 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
|
---|
192 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
|
---|
193 | VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
|
---|
194 | VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
|
---|
195 |
|
---|
196 | !if $(BUILD_SHELL) == TRUE
|
---|
197 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
---|
198 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
|
---|
199 | !endif
|
---|
200 |
|
---|
201 | SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
|
---|
202 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
|
---|
203 |
|
---|
204 | !include OvmfPkg/Include/Dsc/OvmfTpmLibs.dsc.inc
|
---|
205 |
|
---|
206 | [LibraryClasses.common]
|
---|
207 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
---|
208 | CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
---|
209 | TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
---|
210 | TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLibNull.inf
|
---|
211 |
|
---|
212 | [LibraryClasses.common.SEC]
|
---|
213 | TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
|
---|
214 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
|
---|
215 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
216 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
217 | !else
|
---|
218 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
|
---|
219 | !endif
|
---|
220 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
---|
221 | ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
|
---|
222 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
223 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
|
---|
224 | !endif
|
---|
225 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
226 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
227 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
228 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
229 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
---|
230 | CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
---|
231 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
---|
232 |
|
---|
233 | [LibraryClasses.common.PEI_CORE]
|
---|
234 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
235 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
236 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
237 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
238 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
|
---|
239 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
---|
240 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
---|
241 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
242 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
243 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
244 | !else
|
---|
245 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
|
---|
246 | !endif
|
---|
247 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
248 |
|
---|
249 | [LibraryClasses.common.PEIM]
|
---|
250 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
251 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
252 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
253 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
254 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
---|
255 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
---|
256 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
---|
257 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
258 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
259 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
260 | !else
|
---|
261 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
|
---|
262 | !endif
|
---|
263 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
264 | ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
|
---|
265 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
|
---|
266 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
267 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
|
---|
268 | !endif
|
---|
269 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
|
---|
270 | MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
|
---|
271 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
|
---|
272 | QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
|
---|
273 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
---|
274 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
|
---|
275 |
|
---|
276 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
|
---|
277 | PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
|
---|
278 |
|
---|
279 | [LibraryClasses.common.DXE_CORE]
|
---|
280 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
---|
281 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
---|
282 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
---|
283 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
284 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
285 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
286 | !else
|
---|
287 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
288 | !endif
|
---|
289 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
---|
290 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
291 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
|
---|
292 | !endif
|
---|
293 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
---|
294 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
295 |
|
---|
296 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]
|
---|
297 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
298 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
299 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
300 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
301 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
---|
302 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
303 | ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
|
---|
304 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
305 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
306 | !else
|
---|
307 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
308 | !endif
|
---|
309 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
---|
310 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
|
---|
311 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
312 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
|
---|
313 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
|
---|
314 |
|
---|
315 | [LibraryClasses.common.UEFI_DRIVER]
|
---|
316 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
317 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
318 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
319 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
320 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
---|
321 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
322 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
323 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
324 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
325 | !else
|
---|
326 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
327 | !endif
|
---|
328 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
---|
329 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
330 |
|
---|
331 | [LibraryClasses.common.DXE_DRIVER]
|
---|
332 | AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
|
---|
333 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
334 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
335 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
336 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
337 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
338 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
339 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
---|
340 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
341 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
342 | !else
|
---|
343 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
344 | !endif
|
---|
345 | PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
|
---|
346 | PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
|
---|
347 | QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
|
---|
348 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
---|
349 | LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
|
---|
350 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
351 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
|
---|
352 | !endif
|
---|
353 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
354 | MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
|
---|
355 | NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
|
---|
356 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
|
---|
357 | QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
|
---|
358 |
|
---|
359 | [LibraryClasses.common.UEFI_APPLICATION]
|
---|
360 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
361 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
362 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
363 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
364 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
365 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
366 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
367 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
368 | !else
|
---|
369 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
370 | !endif
|
---|
371 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
372 |
|
---|
373 | ################################################################################
|
---|
374 | #
|
---|
375 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
|
---|
376 | #
|
---|
377 | ################################################################################
|
---|
378 | [PcdsFeatureFlag]
|
---|
379 | gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
|
---|
380 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
|
---|
381 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
|
---|
382 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
|
---|
383 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
|
---|
384 | gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
|
---|
385 |
|
---|
386 | [PcdsFixedAtBuild]
|
---|
387 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
|
---|
388 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
|
---|
389 | gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
|
---|
390 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
|
---|
391 | !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
|
---|
392 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
|
---|
393 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
|
---|
394 | # match PcdFlashNvStorageVariableSize purely for convenience
|
---|
395 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
|
---|
396 | !endif
|
---|
397 | !if $(FD_SIZE_IN_KB) == 4096
|
---|
398 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
|
---|
399 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
|
---|
400 | # match PcdFlashNvStorageVariableSize purely for convenience
|
---|
401 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
|
---|
402 | !endif
|
---|
403 |
|
---|
404 | gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
|
---|
405 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
|
---|
406 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
|
---|
407 |
|
---|
408 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
---|
409 |
|
---|
410 | # DEBUG_INIT 0x00000001 // Initialization
|
---|
411 | # DEBUG_WARN 0x00000002 // Warnings
|
---|
412 | # DEBUG_LOAD 0x00000004 // Load events
|
---|
413 | # DEBUG_FS 0x00000008 // EFI File system
|
---|
414 | # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
|
---|
415 | # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
|
---|
416 | # DEBUG_INFO 0x00000040 // Informational debug messages
|
---|
417 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
|
---|
418 | # DEBUG_VARIABLE 0x00000100 // Variable
|
---|
419 | # DEBUG_BM 0x00000400 // Boot Manager
|
---|
420 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver
|
---|
421 | # DEBUG_NET 0x00004000 // SNP Driver
|
---|
422 | # DEBUG_UNDI 0x00010000 // UNDI Driver
|
---|
423 | # DEBUG_LOADFILE 0x00020000 // LoadFile
|
---|
424 | # DEBUG_EVENT 0x00080000 // Event messages
|
---|
425 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes
|
---|
426 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes
|
---|
427 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
---|
428 | # // significantly impact boot performance
|
---|
429 | # DEBUG_ERROR 0x80000000 // Error
|
---|
430 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
---|
431 |
|
---|
432 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
433 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
---|
434 | !else
|
---|
435 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
|
---|
436 | !endif
|
---|
437 |
|
---|
438 | # This PCD is used to set the base address of the PCI express hierarchy. It
|
---|
439 | # is only consulted when OVMF runs on Q35. In that case it is programmed into
|
---|
440 | # the PCIEXBAR register.
|
---|
441 | #
|
---|
442 | # On Q35 machine types that QEMU intends to support in the long term, QEMU
|
---|
443 | # never lets the RAM below 4 GB exceed 2816 MB.
|
---|
444 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
|
---|
445 |
|
---|
446 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
447 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
|
---|
448 | !endif
|
---|
449 |
|
---|
450 | #
|
---|
451 | # The NumberOfPages values below are ad-hoc. They are updated sporadically at
|
---|
452 | # best (please refer to git-blame for past updates). The values capture a set
|
---|
453 | # of BIN hints that made sense at a particular time, for some (now likely
|
---|
454 | # unknown) workloads / boot paths.
|
---|
455 | #
|
---|
456 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
|
---|
457 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
|
---|
458 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
|
---|
459 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
|
---|
460 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
|
---|
461 |
|
---|
462 | # IRQs 5, 9, 10, 11 are level-triggered
|
---|
463 | gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
|
---|
464 |
|
---|
465 | # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
|
---|
466 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
|
---|
467 |
|
---|
468 | gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|TRUE
|
---|
469 | gUefiOvmfPkgTokenSpaceGuid.PcdBootRestrictToFirmware|TRUE
|
---|
470 |
|
---|
471 | ################################################################################
|
---|
472 | #
|
---|
473 | # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
|
---|
474 | #
|
---|
475 | ################################################################################
|
---|
476 |
|
---|
477 | [PcdsDynamicDefault]
|
---|
478 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
|
---|
479 |
|
---|
480 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
|
---|
481 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
|
---|
482 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
|
---|
483 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
|
---|
484 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
|
---|
485 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
|
---|
486 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
|
---|
487 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
|
---|
488 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
|
---|
489 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
|
---|
490 | gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
|
---|
491 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
|
---|
492 | gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
|
---|
493 | gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
|
---|
494 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
|
---|
495 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
|
---|
496 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
|
---|
497 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
|
---|
498 |
|
---|
499 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
|
---|
500 |
|
---|
501 | # Set video resolution for text setup.
|
---|
502 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
|
---|
503 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
|
---|
504 |
|
---|
505 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
|
---|
506 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
|
---|
507 | gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
|
---|
508 |
|
---|
509 | # Noexec settings for DXE.
|
---|
510 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
|
---|
511 |
|
---|
512 | # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
|
---|
513 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
|
---|
514 | gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
|
---|
515 |
|
---|
516 | # Set memory encryption mask
|
---|
517 | gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
|
---|
518 |
|
---|
519 | # Set Tdx shared bit mask
|
---|
520 | gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
|
---|
521 |
|
---|
522 | # Set SEV-ES defaults
|
---|
523 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
|
---|
524 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
|
---|
525 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
|
---|
526 |
|
---|
527 | gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
|
---|
528 |
|
---|
529 | # Set ConfidentialComputing defaults
|
---|
530 | gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
|
---|
531 |
|
---|
532 | !include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
|
---|
533 |
|
---|
534 | gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
|
---|
535 |
|
---|
536 | [PcdsDynamicHii]
|
---|
537 | !include OvmfPkg/Include/Dsc/OvmfTpmPcdsHii.dsc.inc
|
---|
538 |
|
---|
539 | ################################################################################
|
---|
540 | #
|
---|
541 | # Components Section - list of all EDK II Modules needed by this Platform.
|
---|
542 | #
|
---|
543 | ################################################################################
|
---|
544 | [Components]
|
---|
545 | OvmfPkg/ResetVector/ResetVector.inf
|
---|
546 |
|
---|
547 | #
|
---|
548 | # SEC Phase modules
|
---|
549 | #
|
---|
550 | OvmfPkg/Sec/SecMain.inf {
|
---|
551 | <LibraryClasses>
|
---|
552 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
---|
553 | }
|
---|
554 |
|
---|
555 | #
|
---|
556 | # PEI Phase modules
|
---|
557 | #
|
---|
558 | MdeModulePkg/Core/Pei/PeiMain.inf
|
---|
559 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
---|
560 | <LibraryClasses>
|
---|
561 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
562 | }
|
---|
563 | MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
|
---|
564 | <LibraryClasses>
|
---|
565 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
566 | }
|
---|
567 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
|
---|
568 | <LibraryClasses>
|
---|
569 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
570 | }
|
---|
571 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
---|
572 |
|
---|
573 | OvmfPkg/PlatformPei/PlatformPei.inf {
|
---|
574 | <LibraryClasses>
|
---|
575 | NULL|OvmfPkg/IntelTdx/TdxHelperLib/TdxHelperLibNull.inf
|
---|
576 | }
|
---|
577 | UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
|
---|
578 | UefiCpuPkg/CpuMpPei/CpuMpPei.inf
|
---|
579 | OvmfPkg/AmdSev/SecretPei/SecretPei.inf
|
---|
580 |
|
---|
581 | !include OvmfPkg/Include/Dsc/OvmfTpmComponentsPei.dsc.inc
|
---|
582 |
|
---|
583 | #
|
---|
584 | # DXE Phase modules
|
---|
585 | #
|
---|
586 | MdeModulePkg/Core/Dxe/DxeMain.inf {
|
---|
587 | <LibraryClasses>
|
---|
588 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
---|
589 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
590 | }
|
---|
591 |
|
---|
592 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
---|
593 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
|
---|
594 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
|
---|
595 | <LibraryClasses>
|
---|
596 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
597 | }
|
---|
598 |
|
---|
599 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
---|
600 |
|
---|
601 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
|
---|
602 | <LibraryClasses>
|
---|
603 | !include OvmfPkg/Include/Dsc/OvmfTpmSecurityStub.dsc.inc
|
---|
604 | }
|
---|
605 |
|
---|
606 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
---|
607 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
---|
608 | UefiCpuPkg/CpuDxe/CpuDxe.inf
|
---|
609 | OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
|
---|
610 | OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
|
---|
611 | OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
|
---|
612 | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
|
---|
613 | <LibraryClasses>
|
---|
614 | PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
|
---|
615 | PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
|
---|
616 | NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
|
---|
617 | }
|
---|
618 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
|
---|
619 | <LibraryClasses>
|
---|
620 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
621 | }
|
---|
622 | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
|
---|
623 | MdeModulePkg/Universal/Metronome/Metronome.inf
|
---|
624 | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
---|
625 | MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
|
---|
626 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
|
---|
627 | <LibraryClasses>
|
---|
628 | XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
|
---|
629 | }
|
---|
630 | MdeModulePkg/Logo/LogoDxe.inf
|
---|
631 | MdeModulePkg/Application/UiApp/UiApp.inf {
|
---|
632 | <LibraryClasses>
|
---|
633 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
|
---|
634 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
|
---|
635 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
|
---|
636 | }
|
---|
637 | OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
|
---|
638 | <LibraryClasses>
|
---|
639 | NULL|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
|
---|
640 | }
|
---|
641 | OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
|
---|
642 | OvmfPkg/Virtio10Dxe/Virtio10.inf
|
---|
643 | OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
---|
644 | OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
|
---|
645 | OvmfPkg/VirtioRngDxe/VirtioRng.inf
|
---|
646 | !if $(PVSCSI_ENABLE) == TRUE
|
---|
647 | OvmfPkg/PvScsiDxe/PvScsiDxe.inf
|
---|
648 | !endif
|
---|
649 | !if $(MPT_SCSI_ENABLE) == TRUE
|
---|
650 | OvmfPkg/MptScsiDxe/MptScsiDxe.inf
|
---|
651 | !endif
|
---|
652 | !if $(LSI_SCSI_ENABLE) == TRUE
|
---|
653 | OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
|
---|
654 | !endif
|
---|
655 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
656 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
657 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
658 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
659 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
660 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
|
---|
661 | <LibraryClasses>
|
---|
662 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
663 | }
|
---|
664 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
665 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
|
---|
666 | <LibraryClasses>
|
---|
667 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
668 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
669 | }
|
---|
670 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
671 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
---|
672 | MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
|
---|
673 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
---|
674 | FatPkg/EnhancedFatDxe/Fat.inf
|
---|
675 | MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
|
---|
676 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
---|
677 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
---|
678 | MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
|
---|
679 | MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
---|
680 | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
---|
681 | MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
|
---|
682 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
683 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
684 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
---|
685 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
---|
686 |
|
---|
687 | OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
|
---|
688 | OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
|
---|
689 | OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
|
---|
690 |
|
---|
691 | #
|
---|
692 | # ISA Support
|
---|
693 | #
|
---|
694 | OvmfPkg/SioBusDxe/SioBusDxe.inf
|
---|
695 | MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
|
---|
696 | MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
|
---|
697 |
|
---|
698 | #
|
---|
699 | # SMBIOS Support
|
---|
700 | #
|
---|
701 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
|
---|
702 | <LibraryClasses>
|
---|
703 | NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
|
---|
704 | }
|
---|
705 | OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
706 |
|
---|
707 | #
|
---|
708 | # ACPI Support
|
---|
709 | #
|
---|
710 | MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
---|
711 | OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
712 | MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
|
---|
713 |
|
---|
714 | #
|
---|
715 | # Usb Support
|
---|
716 | #
|
---|
717 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
718 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
719 | MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
|
---|
720 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
721 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
722 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
723 |
|
---|
724 | !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
|
---|
725 | OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
|
---|
726 | <PcdsFixedAtBuild>
|
---|
727 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
---|
728 | }
|
---|
729 | !endif
|
---|
730 | OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
|
---|
731 | OvmfPkg/AmdSev/Grub/Grub.inf
|
---|
732 | !if $(BUILD_SHELL) == TRUE
|
---|
733 | ShellPkg/Application/Shell/Shell.inf {
|
---|
734 | <LibraryClasses>
|
---|
735 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
|
---|
736 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
|
---|
737 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
|
---|
738 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
|
---|
739 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
|
---|
740 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
|
---|
741 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
|
---|
742 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
|
---|
743 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
---|
744 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
|
---|
745 |
|
---|
746 | <PcdsFixedAtBuild>
|
---|
747 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
|
---|
748 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
---|
749 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
|
---|
750 | }
|
---|
751 | !endif
|
---|
752 |
|
---|
753 | OvmfPkg/PlatformDxe/Platform.inf
|
---|
754 | OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
|
---|
755 | <LibraryClasses>
|
---|
756 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
---|
757 | }
|
---|
758 | OvmfPkg/IoMmuDxe/IoMmuDxe.inf
|
---|
759 |
|
---|
760 | #
|
---|
761 | # Variable driver stack (non-SMM)
|
---|
762 | #
|
---|
763 | OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
---|
764 | OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
|
---|
765 | <LibraryClasses>
|
---|
766 | PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
|
---|
767 | }
|
---|
768 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
769 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
|
---|
770 | <LibraryClasses>
|
---|
771 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
|
---|
772 | }
|
---|
773 |
|
---|
774 | #
|
---|
775 | # TPM support
|
---|
776 | #
|
---|
777 | !include OvmfPkg/Include/Dsc/OvmfTpmComponentsDxe.dsc.inc
|
---|