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