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