VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkg.dec@ 106129

Last change on this file since 106129 was 105670, checked in by vboxsync, 3 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • Property svn:eol-style set to native
File size: 21.3 KB
Line 
1## @file
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3#
4# Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>
5# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
6# Copyright (c) 2014, Pluribus Networks, Inc.
7#
8# SPDX-License-Identifier: BSD-2-Clause-Patent
9#
10##
11
12[Defines]
13 DEC_SPECIFICATION = 0x00010005
14 PACKAGE_NAME = OvmfPkg
15 PACKAGE_GUID = 2daf5f34-50e5-4b9d-b8e3-5562334d87e5
16 PACKAGE_VERSION = 0.1
17
18[Includes]
19 Include
20
21[LibraryClasses]
22 ## @libraryclass Search and install ACPI tables.
23 #
24 AcpiPlatformLib|Include/Library/AcpiPlatformLib.h
25
26 ## @libraryclass Access bhyve's firmware control interface.
27 BhyveFwCtlLib|Include/Library/BhyveFwCtlLib.h
28
29 ## @libraryclass Verify blobs read from the VMM
30 BlobVerifierLib|Include/Library/BlobVerifierLib.h
31
32 ## @libraryclass FdtSerialPortAddressLib
33 #
34 FdtSerialPortAddressLib|Include/Library/FdtSerialPortAddressLib.h
35
36 ## @libraryclass Loads and boots a Linux kernel image
37 #
38 LoadLinuxLib|Include/Library/LoadLinuxLib.h
39
40 ## @libraryclass Declares helper functions for Secure Encrypted
41 # Virtualization (SEV) guests.
42 MemEncryptSevLib|Include/Library/MemEncryptSevLib.h
43
44 ## @libraryclass Declares helper functions for TDX guests.
45 #
46 MemEncryptTdxLib|Include/Library/MemEncryptTdxLib.h
47
48 ## @libraryclass Handle TPL changes within nested interrupt handlers
49 #
50 NestedInterruptTplLib|Include/Library/NestedInterruptTplLib.h
51
52 ## @libraryclass Save and restore variables using a file
53 #
54 NvVarsFileLib|Include/Library/NvVarsFileLib.h
55
56 ## @libraryclass Provides services to work with PCI capabilities in PCI
57 # config space.
58 PciCapLib|Include/Library/PciCapLib.h
59
60 ## @libraryclass Layered on top of PciCapLib, allows clients to plug an
61 # EFI_PCI_IO_PROTOCOL backend into PciCapLib, for config
62 # space access.
63 PciCapPciIoLib|Include/Library/PciCapPciIoLib.h
64
65 ## @libraryclass Layered on top of PciCapLib, allows clients to plug a
66 # PciSegmentLib backend into PciCapLib, for config space
67 # access.
68 PciCapPciSegmentLib|Include/Library/PciCapPciSegmentLib.h
69
70 ## @libraryclass Provide common utility functions to PciHostBridgeLib
71 # instances in ArmVirtPkg and OvmfPkg.
72 PciHostBridgeUtilityLib|Include/Library/PciHostBridgeUtilityLib.h
73
74 ## @libraryclass Register a status code handler for printing the Boot
75 # Manager's LoadImage() and StartImage() preparations, and
76 # return codes, to the UEFI console.
77 PlatformBmPrintScLib|Include/Library/PlatformBmPrintScLib.h
78
79 ## @libraryclass Customize FVB2 protocol member functions for a platform.
80 PlatformFvbLib|Include/Library/PlatformFvbLib.h
81
82 ## @libraryclass Access QEMU's firmware configuration interface
83 #
84 QemuFwCfgLib|Include/Library/QemuFwCfgLib.h
85
86 ## @libraryclass S3 support for QEMU fw_cfg
87 #
88 QemuFwCfgS3Lib|Include/Library/QemuFwCfgS3Lib.h
89
90 ## @libraryclass Parse the contents of named fw_cfg files as simple
91 # (scalar) data types.
92 QemuFwCfgSimpleParserLib|Include/Library/QemuFwCfgSimpleParserLib.h
93
94 ## @libraryclass Rewrite the BootOrder NvVar based on QEMU's "bootorder"
95 # fw_cfg file.
96 #
97 QemuBootOrderLib|Include/Library/QemuBootOrderLib.h
98
99 ## @libraryclass Load a kernel image and command line passed to QEMU via
100 # the command line
101 #
102 QemuLoadImageLib|Include/Library/QemuLoadImageLib.h
103
104 ## @libraryclass Serialize (and deserialize) variables
105 #
106 SerializeVariablesLib|Include/Library/SerializeVariablesLib.h
107
108 ## @libraryclass TdxHelper
109 #
110 TdxHelperLib|Include/Library/TdxHelperLib.h
111
112 ## @libraryclass Declares utility functions for virtio device drivers.
113 VirtioLib|Include/Library/VirtioLib.h
114
115 ## @libraryclass Install Virtio Device Protocol instances on virtio-mmio
116 # transports.
117 VirtioMmioDeviceLib|Include/Library/VirtioMmioDeviceLib.h
118
119 ## @libraryclass Provides a Nor flash interface.
120 #
121 VirtNorFlashPlatformLib|Include/Library/VirtNorFlashPlatformLib.h
122
123 ## @libraryclass Invoke Xen hypercalls
124 #
125 XenHypercallLib|Include/Library/XenHypercallLib.h
126
127 ## @libraryclass Manage XenBus device path and I/O handles
128 #
129 XenIoMmioLib|Include/Library/XenIoMmioLib.h
130
131 ## @libraryclass Get information about Xen
132 #
133 XenPlatformLib|Include/Library/XenPlatformLib.h
134
135 ## @libraryclass TdxMailboxLib
136 #
137 TdxMailboxLib|Include/Library/TdxMailboxLib.h
138
139 ## @libraryclass PlatformInitLib
140 #
141 PlatformInitLib|Include/Library/PlatformInitLib.h
142
143 ## @libraryclass PeilessStartupLib
144 #
145 PeilessStartupLib|Include/Library/PeilessStartupLib.h
146
147 ## @libraryclass HardwareInfoLib
148 #
149 HardwareInfoLib|Include/Library/HardwareInfoLib.h
150
151[Guids]
152 gUefiOvmfPkgTokenSpaceGuid = {0x93bb96af, 0xb9f2, 0x4eb8, {0x94, 0x62, 0xe0, 0xba, 0x74, 0x56, 0x42, 0x36}}
153 gEfiXenInfoGuid = {0xd3b46f3b, 0xd441, 0x1244, {0x9a, 0x12, 0x0, 0x12, 0x27, 0x3f, 0xc1, 0x4d}}
154 gOvmfPkKek1AppPrefixGuid = {0x4e32566d, 0x8e9e, 0x4f52, {0x81, 0xd3, 0x5b, 0xb9, 0x71, 0x5f, 0x97, 0x27}}
155 gOvmfPlatformConfigGuid = {0x7235c51c, 0x0c80, 0x4cab, {0x87, 0xac, 0x3b, 0x08, 0x4a, 0x63, 0x04, 0xb1}}
156 gVirtioMmioTransportGuid = {0x837dca9e, 0xe874, 0x4d82, {0xb2, 0x9a, 0x23, 0xfe, 0x0e, 0x23, 0xd1, 0xe2}}
157 gQemuRamfbGuid = {0x557423a1, 0x63ab, 0x406c, {0xbe, 0x7e, 0x91, 0xcd, 0xbc, 0x08, 0xc4, 0x57}}
158 gXenBusRootDeviceGuid = {0xa732241f, 0x383d, 0x4d9c, {0x8a, 0xe1, 0x8e, 0x09, 0x83, 0x75, 0x89, 0xd7}}
159 gRootBridgesConnectedEventGroupGuid = {0x24a2d66f, 0xeedd, 0x4086, {0x90, 0x42, 0xf2, 0x6e, 0x47, 0x97, 0xee, 0x69}}
160 gMicrosoftVendorGuid = {0x77fa9abd, 0x0359, 0x4d32, {0xbd, 0x60, 0x28, 0xf4, 0xe7, 0x8f, 0x78, 0x4b}}
161 gQemuKernelLoaderFsMediaGuid = {0x1428f772, 0xb64a, 0x441e, {0xb8, 0xc3, 0x9e, 0xbd, 0xd7, 0xf8, 0x93, 0xc7}}
162 gGrubFileGuid = {0xb5ae312c, 0xbc8a, 0x43b1, {0x9c, 0x62, 0xeb, 0xb8, 0x26, 0xdd, 0x5d, 0x07}}
163 gConfidentialComputingSecretGuid = {0xadf956ad, 0xe98c, 0x484c, {0xae, 0x11, 0xb5, 0x1c, 0x7d, 0x33, 0x64, 0x47}}
164 gConfidentialComputingSevSnpBlobGuid = {0x067b1f5f, 0xcf26, 0x44c5, {0x85, 0x54, 0x93, 0xd7, 0x77, 0x91, 0x2d, 0x42}}
165 gUefiOvmfPkgPlatformInfoGuid = {0xdec9b486, 0x1f16, 0x47c7, {0x8f, 0x68, 0xdf, 0x1a, 0x41, 0x88, 0x8b, 0xa5}}
166 gVMMBootOrderGuid = {0x668f4529, 0x63d0, 0x4bb5, {0xb6, 0x5d, 0x6f, 0xbb, 0x9d, 0x36, 0xa4, 0x4a}}
167 gUefiOvmfPkgTdxAcpiHobGuid = {0x6a0c5870, 0xd4ed, 0x44f4, {0xa1, 0x35, 0xdd, 0x23, 0x8b, 0x6f, 0x0c, 0x8d}}
168 gEfiNonCcFvGuid = {0xae047c6d, 0xbce9, 0x426c, {0xae, 0x03, 0xa6, 0x8e, 0x3b, 0x8a, 0x04, 0x88}}
169 gOvmfVariableGuid = {0x50bea1e5, 0xa2c5, 0x46e9, {0x9b, 0x3a, 0x59, 0x59, 0x65, 0x16, 0xb0, 0x0a}}
170 gQemuFirmwareResourceHobGuid = {0x3cc47b04, 0x0d3e, 0xaa64, {0x06, 0xa6, 0x4b, 0xdc, 0x9a, 0x2c, 0x61, 0x19}}
171
172[Ppis]
173 # PPI whose presence in the PPI database signals that the TPM base address
174 # has been discovered and recorded
175 gOvmfTpmDiscoveredPpiGuid = {0xb9a61ad0, 0x2802, 0x41f3, {0xb5, 0x13, 0x96, 0x51, 0xce, 0x6b, 0xd5, 0x75}}
176
177 # This PPI signals that accessing the MMIO range of the TPM is possible in
178 # the PEI phase, regardless of memory encryption
179 gOvmfTpmMmioAccessiblePpiGuid = {0x35c84ff2, 0x7bfe, 0x453d, {0x84, 0x5f, 0x68, 0x3a, 0x49, 0x2c, 0xf7, 0xb7}}
180
181 gEfiPeiMpInitLibMpDepPpiGuid = {0x138f9cf4, 0xf0e7, 0x4721, { 0x8f, 0x49, 0xf5, 0xff, 0xec, 0xf4, 0x2d, 0x40}}
182 gEfiPeiMpInitLibUpDepPpiGuid = {0xb590774, 0xbc67, 0x49f4, { 0xa7, 0xdb, 0xe8, 0x2e, 0x89, 0xe6, 0xb5, 0xd6}}
183
184[Protocols]
185 gVirtioDeviceProtocolGuid = {0xfa920010, 0x6785, 0x4941, {0xb6, 0xec, 0x49, 0x8c, 0x57, 0x9f, 0x16, 0x0a}}
186 gXenBusProtocolGuid = {0x3d3ca290, 0xb9a5, 0x11e3, {0xb7, 0x5d, 0xb8, 0xac, 0x6f, 0x7d, 0x65, 0xe6}}
187 gXenIoProtocolGuid = {0x6efac84f, 0x0ab0, 0x4747, {0x81, 0xbe, 0x85, 0x55, 0x62, 0x59, 0x04, 0x49}}
188 gIoMmuAbsentProtocolGuid = {0xf8775d50, 0x8abd, 0x4adf, {0x92, 0xac, 0x85, 0x3e, 0x51, 0xf6, 0xc8, 0xdc}}
189 gOvmfLoadedX86LinuxKernelProtocolGuid = {0xa3edc05d, 0xb618, 0x4ff6, {0x95, 0x52, 0x76, 0xd7, 0x88, 0x63, 0x43, 0xc8}}
190 gOvmfSevMemoryAcceptanceProtocolGuid = {0xc5a010fe, 0x38a7, 0x4531, {0x8a, 0x4a, 0x05, 0x00, 0xd2, 0xfd, 0x16, 0x49}}
191 gQemuAcpiTableNotifyProtocolGuid = {0x928939b2, 0x4235, 0x462f, {0x95, 0x80, 0xf6, 0xa2, 0xb2, 0xc2, 0x1a, 0x4f}}
192 gEfiMpInitLibMpDepProtocolGuid = {0xbb00a5ca, 0x8ce, 0x462f, {0xa5, 0x37, 0x43, 0xc7, 0x4a, 0x82, 0x5c, 0xa4}}
193 gEfiMpInitLibUpDepProtocolGuid = {0xa9e7cef1, 0x5682, 0x42cc, {0xb1, 0x23, 0x99, 0x30, 0x97, 0x3f, 0x4a, 0x9f}}
194
195[PcdsFixedAtBuild]
196 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|0x0|UINT32|0
197 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize|0x0|UINT32|1
198 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|0x0|UINT32|0x15
199 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize|0x0|UINT32|0x16
200 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeNonCcFvBase|0x0|UINT32|0x6a
201 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeNonCcFvSize|0x0|UINT32|0x6b
202
203 ## This flag is used to control the destination port for PlatformDebugLibIoPort
204 gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x402|UINT16|4
205
206 ## When VirtioScsiDxe is instantiated for a HBA, the numbers of targets and
207 # LUNs are retrieved from the host during virtio-scsi setup.
208 # MdeModulePkg/Bus/Scsi/ScsiBusDxe then scans all MaxTarget * MaxLun
209 # possible devices. This can take extremely long, for example with
210 # MaxTarget=255 and MaxLun=16383. The *inclusive* constants below limit
211 # MaxTarget and MaxLun, independently, should the host report higher values,
212 # so that scanning the number of devices given by their product is still
213 # acceptably fast.
214 gUefiOvmfPkgTokenSpaceGuid.PcdVirtioScsiMaxTargetLimit|31|UINT16|6
215 gUefiOvmfPkgTokenSpaceGuid.PcdVirtioScsiMaxLunLimit|7|UINT32|7
216
217 ## Sets the *inclusive* number of targets and LUNs that PvScsi exposes for
218 # scan by ScsiBusDxe.
219 # As specified above for VirtioScsi, ScsiBusDxe scans all MaxTarget * MaxLun
220 # possible devices, which can take extremely long. Thus, the below constants
221 # are used so that scanning the number of devices given by their product
222 # is still acceptably fast.
223 gUefiOvmfPkgTokenSpaceGuid.PcdPvScsiMaxTargetLimit|64|UINT8|0x36
224 gUefiOvmfPkgTokenSpaceGuid.PcdPvScsiMaxLunLimit|0|UINT8|0x37
225
226 ## After PvScsiDxe sends a SCSI request to the device, it waits for
227 # the request completion in a polling loop.
228 # This constant defines how many micro-seconds to wait between each
229 # polling loop iteration.
230 gUefiOvmfPkgTokenSpaceGuid.PcdPvScsiWaitForCmpStallInUsecs|5|UINT32|0x38
231
232 ## Set the *inclusive* number of targets that MptScsi exposes for scan
233 # by ScsiBusDxe.
234 gUefiOvmfPkgTokenSpaceGuid.PcdMptScsiMaxTargetLimit|7|UINT8|0x39
235
236 ## Microseconds to stall between polling for MptScsi request result
237 gUefiOvmfPkgTokenSpaceGuid.PcdMptScsiStallPerPollUsec|5|UINT32|0x3a
238
239 ## Set the *inclusive* number of targets and LUNs that LsiScsi exposes for
240 # scan by ScsiBusDxe.
241 gUefiOvmfPkgTokenSpaceGuid.PcdLsiScsiMaxTargetLimit|7|UINT8|0x3b
242 gUefiOvmfPkgTokenSpaceGuid.PcdLsiScsiMaxLunLimit|0|UINT8|0x3c
243
244 ## Microseconds to stall between polling for LsiScsi request result
245 gUefiOvmfPkgTokenSpaceGuid.PcdLsiScsiStallPerPollUsec|5|UINT32|0x3d
246
247 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase|0x0|UINT32|0x8
248 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize|0x0|UINT32|0x9
249 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize|0x0|UINT32|0xa
250 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize|0|UINT32|0xb
251 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase|0x0|UINT32|0xc
252 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwSpareBase|0x0|UINT32|0xd
253 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwWorkingBase|0x0|UINT32|0xe
254 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress|0x0|UINT32|0xf
255 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|0x0|UINT32|0x11
256 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize|0x0|UINT32|0x12
257 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|0x0|UINT32|0x13
258 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize|0x0|UINT32|0x14
259 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|0x0|UINT32|0x18
260 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize|0x0|UINT32|0x19
261 gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize|0x0|UINT32|0x1a
262 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDecompressionScratchEnd|0x0|UINT32|0x1f
263
264 gUefiOvmfPkgTokenSpaceGuid.PcdXenPvhStartOfDayStructPtr|0x0|UINT32|0x17
265 gUefiOvmfPkgTokenSpaceGuid.PcdXenPvhStartOfDayStructPtrSize|0x0|UINT32|0x32
266
267 ## Number of page frames to use for storing grant table entries.
268 gUefiOvmfPkgTokenSpaceGuid.PcdXenGrantFrames|4|UINT32|0x33
269
270 ## Specify the extra page table needed to mark the GHCB as unencrypted.
271 # The value should be a multiple of 4KB for each.
272 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableBase|0x0|UINT32|0x3e
273 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableSize|0x0|UINT32|0x3f
274
275 ## The base address of the SEC GHCB page used by SEV-ES.
276 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBase|0|UINT32|0x40
277 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbSize|0|UINT32|0x41
278 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase|0|UINT32|0x44
279 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupSize|0|UINT32|0x45
280
281 ## Specify the extra page table needed to mark the APIC MMIO range as unencrypted.
282 # The value should be a multiple of 4KB for each.
283 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecApicPageTableBase|0x0|UINT32|0x72
284 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecApicPageTableSize|0x0|UINT32|0x73
285
286 ## The base address and size of the SEV Launch Secret Area provisioned
287 # after remote attestation. If this is set in the .fdf, the platform
288 # is responsible for protecting the area from DXE phase overwrites.
289 gUefiOvmfPkgTokenSpaceGuid.PcdSevLaunchSecretBase|0x0|UINT32|0x42
290 gUefiOvmfPkgTokenSpaceGuid.PcdSevLaunchSecretSize|0x0|UINT32|0x43
291
292 ## The base address and size of a hash table confirming allowed
293 # parameters to be passed in via the Qemu firmware configuration
294 # device
295 gUefiOvmfPkgTokenSpaceGuid.PcdQemuHashTableBase|0x0|UINT32|0x47
296 gUefiOvmfPkgTokenSpaceGuid.PcdQemuHashTableSize|0x0|UINT32|0x48
297
298 ## The base address and size of the work area used during the SEC
299 # phase by the SEV and TDX supports.
300 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase|0|UINT32|0x49
301 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaSize|0|UINT32|0x50
302
303 ## The work area contains a fixed size header in the Include/WorkArea.h.
304 # The size of this header is used early boot, and is provided through
305 # a fixed PCD. It need to be kept in sync with any changes to the
306 # header definition.
307 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfConfidentialComputingWorkAreaHeader|4|UINT32|0x51
308
309 ## The base address and size of the TDX Cfv base and size.
310 gUefiOvmfPkgTokenSpaceGuid.PcdCfvBase|0|UINT32|0x52
311 gUefiOvmfPkgTokenSpaceGuid.PcdCfvRawDataOffset|0|UINT32|0x53
312 gUefiOvmfPkgTokenSpaceGuid.PcdCfvRawDataSize|0|UINT32|0x54
313
314 ## The base address and size of the TDX Bfv base and size.
315 gUefiOvmfPkgTokenSpaceGuid.PcdBfvBase|0|UINT32|0x55
316 gUefiOvmfPkgTokenSpaceGuid.PcdBfvRawDataOffset|0|UINT32|0x56
317 gUefiOvmfPkgTokenSpaceGuid.PcdBfvRawDataSize|0|UINT32|0x57
318
319 ## The base address and size of the SEV-SNP Secrets Area that contains
320 # the VM platform communication key used to send and recieve the
321 # messages to the PSP. If this is set in the .fdf, the platform
322 # is responsible to reserve this area from DXE phase overwrites.
323 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecretsBase|0|UINT32|0x58
324 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecretsSize|0|UINT32|0x59
325
326 ## The base address and size of a CPUID Area that contains the hypervisor
327 # provided CPUID results. In the case of SEV-SNP, the CPUID results are
328 # filtered by the SEV-SNP firmware. If this is set in the .fdf, the
329 # platform is responsible to reserve this area from DXE phase overwrites.
330 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidBase|0|UINT32|0x60
331 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidSize|0|UINT32|0x61
332
333 ## The range of memory that is validated by the SEC phase.
334 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecValidatedStart|0|UINT32|0x62
335 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecValidatedEnd|0|UINT32|0x63
336
337 ## The Tdx accept page size. 0x1000(4k),0x200000(2M)
338 gUefiOvmfPkgTokenSpaceGuid.PcdTdxAcceptPageSize|0x200000|UINT32|0x65
339
340 ## The QEMU fw_cfg variable that UefiDriverEntryPointFwCfgOverrideLib will
341 # check to decide whether to abort dispatch of the driver it is linked into.
342 gUefiOvmfPkgTokenSpaceGuid.PcdEntryPointOverrideFwCfgVarName|""|VOID*|0x68
343
344 ## Restrict boot to EFI applications in firmware volumes.
345 gUefiOvmfPkgTokenSpaceGuid.PcdBootRestrictToFirmware|FALSE|BOOLEAN|0x6c
346
347 ## The base address and size of the initial SVSM Calling Area.
348 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecSvsmCaaBase|0|UINT32|0x70
349 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecSvsmCaaSize|0|UINT32|0x71
350
351[PcdsDynamic, PcdsDynamicEx]
352 gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent|0|UINT64|2
353 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable|FALSE|BOOLEAN|0x10
354 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0|UINT16|0x1b
355 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE|BOOLEAN|0x21
356
357 ## The IO port aperture shared by all PCI root bridges.
358 #
359 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0|UINT64|0x22
360 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0|UINT64|0x23
361
362 ## The 32-bit MMIO aperture shared by all PCI root bridges.
363 #
364 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0|UINT64|0x24
365 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0|UINT64|0x25
366
367 ## The 64-bit MMIO aperture shared by all PCI root bridges.
368 #
369 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0|UINT64|0x26
370 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x0|UINT64|0x27
371
372 ## The following setting controls how many megabytes we configure as TSEG on
373 # Q35, for SMRAM purposes. Permitted defaults are: 1, 2, 8. Other defaults
374 # cause undefined behavior. During boot, the PCD is updated by PlatformPei
375 # to reflect the extended TSEG size, if one is advertized by QEMU.
376 #
377 # This PCD is only accessed if PcdSmmSmramRequire is TRUE (see below).
378 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8|UINT16|0x20
379
380 ## Set to TRUE by PlatformPei if the Q35 board supports the "SMRAM at default
381 # SMBASE" feature.
382 #
383 # This PCD is only accessed if PcdSmmSmramRequire is TRUE (see below).
384 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE|BOOLEAN|0x34
385
386 ## This PCD adds a communication channel between OVMF's SmmCpuFeaturesLib
387 # instance in PiSmmCpuDxeSmm, and CpuHotplugSmm.
388 gUefiOvmfPkgTokenSpaceGuid.PcdCpuHotEjectDataAddress|0|UINT64|0x46
389
390 ## This PCD tracks where PcdVideo{Horizontal,Vertical}Resolution
391 # values are coming from.
392 # 0 - unset (defaults from platform dsc)
393 # 1 - set from PlatformConfig
394 # 2 - set by GOP Driver.
395 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0|UINT8|0x64
396
397 #
398 # Whether to force disable ACPI, regardless of the fw_cfg settings
399 # exposed by QEMU
400 #
401 gUefiOvmfPkgTokenSpaceGuid.PcdForceNoAcpi|0x0|BOOLEAN|0x69
402
403[PcdsFixedAtBuild, PcdsPatchableInModule]
404 #
405 # This is the physical address where the device tree is expected to be stored
406 # upon first entry into UEFI. This needs to be a FixedAtBuild PCD, so that we
407 # can do a first pass over the device tree in the SEC phase to discover the
408 # UART base address.
409 #
410 gUefiOvmfPkgTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x0|UINT64|0x6e
411
412 #
413 # Padding in bytes to add to the device tree allocation, so that the DTB can
414 # be modified in place (default: 256 bytes)
415 #
416 gUefiOvmfPkgTokenSpaceGuid.PcdDeviceTreeAllocationPadding|256|UINT32|0x6f
417
418 #
419 # Binary representation of the GUID that determines the terminal type. The
420 # size must be exactly 16 bytes. The default value corresponds to
421 # EFI_VT_100_GUID.
422 #
423 gUefiOvmfPkgTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x65, 0x60, 0xA6, 0xDF, 0x19, 0xB4, 0xD3, 0x11, 0x9A, 0x2D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D}|VOID*|0x66
424
425 ##
426 # Whether the EFI memory attributes protocol should be uninstalled before
427 # invoking the OS loader. This may be needed to work around problematic
428 # builds of shim that use the protocol incorrectly.
429 gUefiOvmfPkgTokenSpaceGuid.PcdUninstallMemAttrProtocol|FALSE|BOOLEAN|0x67
430
431[PcdsFeatureFlag]
432 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation|TRUE|BOOLEAN|0x1c
433 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation|FALSE|BOOLEAN|0x1d
434
435 ## This feature flag enables SMM/SMRAM support. Note that it also requires
436 # such support from the underlying QEMU instance; if that support is not
437 # present, the firmware will reject continuing after a certain point.
438 #
439 # The flag also acts as a general "security switch"; when TRUE, many
440 # components will change behavior, with the goal of preventing a malicious
441 # runtime OS from tampering with firmware structures (special memory ranges
442 # used by OVMF, the varstore pflash chip, LockBox etc).
443 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|FALSE|BOOLEAN|0x1e
444
445 ## This feature flag indicates the firmware build supports secure boot.
446 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootSupported|FALSE|BOOLEAN|0x6d
Note: See TracBrowser for help on using the repository browser.

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