VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/OvmfPkgIa32.dsc@ 108794

Last change on this file since 108794 was 108794, checked in by vboxsync, 2 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

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

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette