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