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