]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/UefiCpuPkg.dec
UefiCpuPkg: Add PCD to control SMRR enable & SmmFeatureControl support
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.dec
1 ## @file UefiCpuPkg.dec
2 # This Package provides UEFI compatible CPU modules and libraries.
3 #
4 # Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.<BR>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 #
8 ##
9
10 [Defines]
11 DEC_SPECIFICATION = 0x00010005
12 PACKAGE_NAME = UefiCpuPkg
13 PACKAGE_UNI_FILE = UefiCpuPkg.uni
14 PACKAGE_GUID = 2171df9b-0d39-45aa-ac37-2de190010d23
15 PACKAGE_VERSION = 0.90
16
17 [Includes]
18 Include
19
20 [LibraryClasses]
21 ## @libraryclass Defines some routines that are generic for IA32 family CPU
22 ## to be UEFI specification compliant.
23 ##
24 UefiCpuLib|Include/Library/UefiCpuLib.h
25
26 ## @libraryclass Defines some routines that are used to register/manage/program
27 ## CPU features.
28 ##
29 RegisterCpuFeaturesLib|Include/Library/RegisterCpuFeaturesLib.h
30
31 [LibraryClasses.IA32, LibraryClasses.X64]
32 ## @libraryclass Provides functions to manage MTRR settings on IA32 and X64 CPUs.
33 ##
34 MtrrLib|Include/Library/MtrrLib.h
35
36 ## @libraryclass Provides functions to manage the Local APIC on IA32 and X64 CPUs.
37 ##
38 LocalApicLib|Include/Library/LocalApicLib.h
39
40 ## @libraryclass Provides platform specific initialization functions in the SEC phase.
41 ##
42 PlatformSecLib|Include/Library/PlatformSecLib.h
43
44 ## @libraryclass Public include file for the SMM CPU Platform Hook Library.
45 ##
46 SmmCpuPlatformHookLib|Include/Library/SmmCpuPlatformHookLib.h
47
48 ## @libraryclass Provides the CPU specific programming for PiSmmCpuDxeSmm module.
49 ##
50 SmmCpuFeaturesLib|Include/Library/SmmCpuFeaturesLib.h
51
52 ## @libraryclass Provides functions to support MP services on CpuMpPei and CpuDxe module.
53 ##
54 MpInitLib|Include/Library/MpInitLib.h
55
56 ## @libraryclass Provides function to support VMGEXIT processing.
57 VmgExitLib|Include/Library/VmgExitLib.h
58
59 ## @libraryclass Provides function to get CPU cache information.
60 CpuCacheInfoLib|Include/Library/CpuCacheInfoLib.h
61
62 ## @libraryclass Provides function for loading microcode.
63 MicrocodeLib|Include/Library/MicrocodeLib.h
64
65 ## @libraryclass Provides function for manipulating x86 paging structures.
66 CpuPageTableLib|Include/Library/CpuPageTableLib.h
67
68 [Guids]
69 gUefiCpuPkgTokenSpaceGuid = { 0xac05bf33, 0x995a, 0x4ed4, { 0xaa, 0xb8, 0xef, 0x7a, 0xe8, 0xf, 0x5c, 0xb0 }}
70 gMsegSmramGuid = { 0x5802bce4, 0xeeee, 0x4e33, { 0xa1, 0x30, 0xeb, 0xad, 0x27, 0xf0, 0xe4, 0x39 }}
71
72 ## Include/Guid/CpuFeaturesSetDone.h
73 gEdkiiCpuFeaturesSetDoneGuid = { 0xa82485ce, 0xad6b, 0x4101, { 0x99, 0xd3, 0xe1, 0x35, 0x8c, 0x9e, 0x7e, 0x37 }}
74
75 ## Include/Guid/CpuFeaturesInitDone.h
76 gEdkiiCpuFeaturesInitDoneGuid = { 0xc77c3a41, 0x61ab, 0x4143, { 0x98, 0x3e, 0x33, 0x39, 0x28, 0x6, 0x28, 0xe5 }}
77
78 ## Include/Guid/MicrocodePatchHob.h
79 gEdkiiMicrocodePatchHobGuid = { 0xd178f11d, 0x8716, 0x418e, { 0xa1, 0x31, 0x96, 0x7d, 0x2a, 0xc4, 0x28, 0x43 }}
80
81 [Protocols]
82 ## Include/Protocol/SmmCpuService.h
83 gEfiSmmCpuServiceProtocolGuid = { 0x1d202cab, 0xc8ab, 0x4d5c, { 0x94, 0xf7, 0x3c, 0xfc, 0xc0, 0xd3, 0xd3, 0x35 }}
84 gEdkiiSmmCpuRendezvousProtocolGuid = { 0xaa00d50b, 0x4911, 0x428f, { 0xb9, 0x1a, 0xa5, 0x9d, 0xdb, 0x13, 0xe2, 0x4c }}
85
86 ## Include/Protocol/SmMonitorInit.h
87 gEfiSmMonitorInitProtocolGuid = { 0x228f344d, 0xb3de, 0x43bb, { 0xa4, 0xd7, 0xea, 0x20, 0xb, 0x1b, 0x14, 0x82 }}
88
89 #
90 # [Error.gUefiCpuPkgTokenSpaceGuid]
91 # 0x80000001 | Invalid value provided.
92 #
93
94 [Ppis]
95 gEdkiiPeiMpServices2PpiGuid = { 0x5cb9cb3d, 0x31a4, 0x480c, { 0x94, 0x98, 0x29, 0xd2, 0x69, 0xba, 0xcf, 0xba}}
96
97 ## Include/Ppi/ShadowMicrocode.h
98 gEdkiiPeiShadowMicrocodePpiGuid = { 0x430f6965, 0x9a69, 0x41c5, { 0x93, 0xed, 0x8b, 0xf0, 0x64, 0x35, 0xc1, 0xc6 }}
99
100 ## Include/Ppi/RepublishSecPpi.h
101 gRepublishSecPpiPpiGuid = { 0x27a71b1e, 0x73ee, 0x43d6, { 0xac, 0xe3, 0x52, 0x1a, 0x2d, 0xc5, 0xd0, 0x92 }}
102
103 [PcdsFeatureFlag]
104 ## Indicates if SMM Profile will be enabled.
105 # If enabled, instruction executions in and data accesses to memory outside of SMRAM will be logged.
106 # In X64 build, it could not be enabled when PcdCpuSmmRestrictedMemoryAccess is TRUE.
107 # In IA32 build, the page table memory is not marked as read-only when it is enabled.
108 # This PCD is only for validation purpose. It should be set to false in production.<BR><BR>
109 # TRUE - SMM Profile will be enabled.<BR>
110 # FALSE - SMM Profile will be disabled.<BR>
111 # @Prompt Enable SMM Profile.
112 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmProfileEnable|FALSE|BOOLEAN|0x32132109
113
114 ## Indicates if the SMM profile log buffer is a ring buffer.
115 # If disabled, no additional log can be done when the buffer is full.<BR><BR>
116 # TRUE - the SMM profile log buffer is a ring buffer.<BR>
117 # FALSE - the SMM profile log buffer is a normal buffer.<BR>
118 # @Prompt The SMM profile log buffer is a ring buffer.
119 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmProfileRingBuffer|FALSE|BOOLEAN|0x3213210a
120
121 ## Indicates if SMM Startup AP in a blocking fashion.
122 # TRUE - SMM Startup AP in a blocking fashion.<BR>
123 # FALSE - SMM Startup AP in a non-blocking fashion.<BR>
124 # @Prompt SMM Startup AP in a blocking fashion.
125 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|FALSE|BOOLEAN|0x32132108
126
127 ## Indicates if SMM Stack Guard will be enabled.
128 # If enabled, stack overflow in SMM can be caught, preventing chaotic consequences.<BR><BR>
129 # TRUE - SMM Stack Guard will be enabled.<BR>
130 # FALSE - SMM Stack Guard will be disabled.<BR>
131 # @Prompt Enable SMM Stack Guard.
132 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackGuard|TRUE|BOOLEAN|0x1000001C
133
134 ## Indicates if BSP election in SMM will be enabled.
135 # If enabled, a BSP will be dynamically elected among all processors in each SMI.
136 # Otherwise, processor 0 is always as BSP in each SMI.<BR><BR>
137 # TRUE - BSP election in SMM will be enabled.<BR>
138 # FALSE - BSP election in SMM will be disabled.<BR>
139 # @Prompt Enable BSP election in SMM.
140 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|TRUE|BOOLEAN|0x32132106
141
142 ## Indicates if CPU SMM hot-plug will be enabled.<BR><BR>
143 # TRUE - SMM CPU hot-plug will be enabled.<BR>
144 # FALSE - SMM CPU hot-plug will be disabled.<BR>
145 # @Prompt SMM CPU hot-plug.
146 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|FALSE|BOOLEAN|0x3213210C
147
148 ## Indicates if SMM Debug will be enabled.
149 # If enabled, hardware breakpoints in SMRAM can be set outside of SMM mode and take effect in SMM.<BR><BR>
150 # TRUE - SMM Debug will be enabled.<BR>
151 # FALSE - SMM Debug will be disabled.<BR>
152 # @Prompt Enable SMM Debug.
153 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|FALSE|BOOLEAN|0x1000001B
154
155 ## Indicates if lock SMM Feature Control MSR.<BR><BR>
156 # TRUE - SMM Feature Control MSR will be locked.<BR>
157 # FALSE - SMM Feature Control MSR will not be locked.<BR>
158 # @Prompt Lock SMM Feature Control MSR.
159 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmFeatureControlMsrLock|TRUE|BOOLEAN|0x3213210B
160
161 ## Indicates if SMRR will be enabled.<BR><BR>
162 # TRUE - SMRR will be enabled.<BR>
163 # FALSE - SMRR will not be enabled.<BR>
164 # @Prompt Enable SMRR.
165 gUefiCpuPkgTokenSpaceGuid.PcdSmrrEnable|TRUE|BOOLEAN|0x3213210D
166
167 ## Indicates if SmmFeatureControl will be enabled.<BR><BR>
168 # TRUE - SmmFeatureControl will be enabled.<BR>
169 # FALSE - SmmFeatureControl will not be enabled.<BR>
170 # @Prompt Support SmmFeatureControl.
171 gUefiCpuPkgTokenSpaceGuid.PcdSmmFeatureControlEnable|TRUE|BOOLEAN|0x32132110
172
173 [PcdsFixedAtBuild]
174 ## List of exception vectors which need switching stack.
175 # This PCD will only take into effect if PcdCpuStackGuard is enabled.
176 # By default exception #DD(8), #PF(14) are supported.
177 # @Prompt Specify exception vectors which need switching stack.
178 gUefiCpuPkgTokenSpaceGuid.PcdCpuStackSwitchExceptionList|{0x08, 0x0E}|VOID*|0x30002000
179
180 ## Size of good stack for an exception.
181 # This PCD will only take into effect if PcdCpuStackGuard is enabled.
182 # @Prompt Specify size of good stack of exception which need switching stack.
183 gUefiCpuPkgTokenSpaceGuid.PcdCpuKnownGoodStackSize|2048|UINT32|0x30002001
184
185 ## Count of pre allocated SMM MP tokens per chunk.
186 # @Prompt Specify the count of pre allocated SMM MP tokens per chunk.
187 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmMpTokenCountPerChunk|64|UINT32|0x30002002
188
189 ## Area of memory where the SEV-ES work area block lives.
190 # @Prompt Configure the SEV-ES work area base
191 gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase|0x0|UINT32|0x30002005
192
193 ## Size of teh area of memory where the SEV-ES work area block lives.
194 # @Prompt Configure the SEV-ES work area base
195 gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaSize|0x0|UINT32|0x30002006
196
197 [PcdsFixedAtBuild, PcdsPatchableInModule]
198 ## This value is the CPU Local APIC base address, which aligns the address on a 4-KByte boundary.
199 # @Prompt Configure base address of CPU Local APIC
200 # @Expression 0x80000001 | (gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress & 0xfff) == 0
201 gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress|0xfee00000|UINT32|0x00000001
202
203 ## Specifies delay value in microseconds after sending out an INIT IPI.
204 # @Prompt Configure delay value after send an INIT IPI
205 gUefiCpuPkgTokenSpaceGuid.PcdCpuInitIpiDelayInMicroSeconds|10000|UINT32|0x30000002
206
207 ## This value specifies the Application Processor (AP) stack size, used for Mp Service, which must
208 ## aligns the address on a 4-KByte boundary.
209 # @Prompt Configure stack size for Application Processor (AP)
210 gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize|0x8000|UINT32|0x00000003
211
212 ## Specifies stack size in the temporary RAM. 0 means half of TemporaryRamSize.
213 # @Prompt Stack size in the temporary RAM.
214 gUefiCpuPkgTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0|UINT32|0x10001003
215
216 ## Specifies buffer size in bytes to save SMM profile data. The value should be a multiple of 4KB.
217 # @Prompt SMM profile data buffer size.
218 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmProfileSize|0x200000|UINT32|0x32132107
219
220 ## Specifies stack size in bytes for each processor in SMM.
221 # @Prompt Processor stack size in SMM.
222 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x2000|UINT32|0x32132105
223
224 ## Specifies shadow stack size in bytes for each processor in SMM.
225 # @Prompt Processor shadow stack size in SMM.
226 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmShadowStackSize|0x2000|UINT32|0x3213210E
227
228 ## Indicates if SMM Code Access Check is enabled.
229 # If enabled, the SMM handler cannot execute the code outside SMM regions.
230 # This PCD is suggested to TRUE in production image.<BR><BR>
231 # TRUE - SMM Code Access Check will be enabled.<BR>
232 # FALSE - SMM Code Access Check will be disabled.<BR>
233 # @Prompt SMM Code Access Check.
234 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmCodeAccessCheckEnable|TRUE|BOOLEAN|0x60000013
235
236 ## Specifies the number of variable MTRRs reserved for OS use. The default number of
237 # MTRRs reserved for OS use is 2.
238 # @Prompt Number of reserved variable MTRRs.
239 gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0x2|UINT32|0x00000015
240
241 ## Specifies buffer size in bytes for STM exception stack. The value should be a multiple of 4KB.
242 # @Prompt STM exception stack size.
243 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStmExceptionStackSize|0x1000|UINT32|0x32132111
244
245 ## Specifies buffer size in bytes of MSEG. The value should be a multiple of 4KB.
246 # @Prompt MSEG size.
247 gUefiCpuPkgTokenSpaceGuid.PcdCpuMsegSize|0x200000|UINT32|0x32132112
248
249 ## Specifies the supported CPU features bit in array.
250 # @Prompt Supported CPU features.
251 gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSupport|{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}|VOID*|0x00000016
252
253 ## Specifies if CPU features will be initialized after SMM relocation.
254 # @Prompt If CPU features will be initialized after SMM relocation.
255 gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesInitAfterSmmRelocation|FALSE|BOOLEAN|0x0000001C
256
257 ## Specifies if CPU features will be initialized during S3 resume.
258 # @Prompt If CPU features will be initialized during S3 resume.
259 gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesInitOnS3Resume|FALSE|BOOLEAN|0x0000001D
260
261 ## Specifies CPUID Leaf 0x15 Time Stamp Counter and Nominal Core Crystal Clock Frequency.
262 # TSC Frequency = ECX (core crystal clock frequency) * EBX/EAX.
263 # Intel Xeon Processor Scalable Family with CPUID signature 06_55H = 25000000 (25MHz)
264 # 6th and 7th generation Intel Core processors and Intel Xeon W Processor Family = 24000000 (24MHz)
265 # Intel Atom processors based on Goldmont Microarchitecture with CPUID signature 06_5CH = 19200000 (19.2MHz)
266 # @Prompt This PCD is the nominal frequency of the core crystal clock in Hz as is CPUID Leaf 0x15:ECX
267 gUefiCpuPkgTokenSpaceGuid.PcdCpuCoreCrystalClockFrequency|24000000|UINT64|0x32132113
268
269 ## Specifies the periodic interval value in microseconds for the status check
270 # of APs for StartupAllAPs() and StartupThisAP() executed in non-blocking
271 # mode in DXE phase.
272 # @Prompt Periodic interval value in microseconds for AP status check in DXE.
273 gUefiCpuPkgTokenSpaceGuid.PcdCpuApStatusCheckIntervalInMicroSeconds|100000|UINT32|0x0000001E
274
275 [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
276 ## Specifies max supported number of Logical Processors.
277 # @Prompt Configure max supported number of Logical Processors
278 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64|UINT32|0x00000002
279 ## Specifies timeout value in microseconds for the BSP to detect all APs for the first time.
280 # @Prompt Timeout for the BSP to detect all APs for the first time.
281 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000|UINT32|0x00000004
282 ## Specifies the number of Logical Processors that are available in the
283 # preboot environment after platform reset, including BSP and APs. Possible
284 # values:<BR><BR>
285 # zero (default) - PcdCpuBootLogicalProcessorNumber is ignored, and
286 # PcdCpuApInitTimeOutInMicroSeconds limits the initial AP
287 # detection by the BSP.<BR>
288 # nonzero - PcdCpuApInitTimeOutInMicroSeconds is ignored. The initial
289 # AP detection finishes only when the detected CPU count
290 # (BSP plus APs) reaches the value of
291 # PcdCpuBootLogicalProcessorNumber, regardless of how long
292 # that takes.<BR>
293 # @Prompt Number of Logical Processors available after platform reset.
294 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0|UINT32|0x00000008
295 ## Specifies the base address of the first microcode Patch in the microcode Region.
296 # @Prompt Microcode Region base address.
297 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0x0|UINT64|0x00000005
298 ## Specifies the size of the microcode Region.
299 # @Prompt Microcode Region size.
300 gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x0|UINT64|0x00000006
301 ## Specifies the AP wait loop state during POST phase.
302 # The value is defined as below.<BR><BR>
303 # 1: Place AP in the Hlt-Loop state.<BR>
304 # 2: Place AP in the Mwait-Loop state.<BR>
305 # 3: Place AP in the Run-Loop state.<BR>
306 # @Prompt The AP wait loop state.
307 # @ValidRange 0x80000001 | 1 - 3
308 gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode|1|UINT8|0x60008006
309 ## Specifies the AP target C-state for Mwait during POST phase.
310 # The default value 0 means C1 state.
311 # The value is defined as below.<BR><BR>
312 # @Prompt The specified AP target C-state for Mwait.
313 gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate|0|UINT8|0x00000007
314
315 ## Specifies timeout value in microseconds for the BSP in SMM to wait for all APs to come into SMM.
316 # @Prompt AP synchronization timeout value in SMM.
317 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000000|UINT64|0x32132104
318
319 ## Indicates the CPU synchronization method used when processing an SMI.
320 # 0x00 - Traditional CPU synchronization method.<BR>
321 # 0x01 - Relaxed CPU synchronization method.<BR>
322 # @Prompt SMM CPU Synchronization Method.
323 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x00|UINT8|0x60000014
324
325 ## Specifies the On-demand clock modulation duty cycle when ACPI feature is enabled.
326 # @Prompt The encoded values for target duty cycle modulation.
327 # @ValidRange 0x80000001 | 0 - 15
328 gUefiCpuPkgTokenSpaceGuid.PcdCpuClockModulationDutyCycle|0x0|UINT8|0x0000001A
329
330 ## Indicates if the current boot is a power-on reset.<BR><BR>
331 # TRUE - Current boot is a power-on reset.<BR>
332 # FALSE - Current boot is not a power-on reset.<BR>
333 # @Prompt Current boot is a power-on reset.
334 gUefiCpuPkgTokenSpaceGuid.PcdIsPowerOnReset|FALSE|BOOLEAN|0x0000001B
335
336 [PcdsFixedAtBuild.X64, PcdsPatchableInModule.X64, PcdsDynamic.X64, PcdsDynamicEx.X64]
337 ## Indicate access to non-SMRAM memory is restricted to reserved, runtime and ACPI NVS type after SmmReadyToLock.
338 # MMIO access is always allowed regardless of the value of this PCD.
339 # Loose of such restriction is only required by RAS components in X64 platforms.
340 # The PCD value is considered as constantly TRUE in IA32 platforms.
341 # When the PCD value is TRUE, page table is initialized to cover all memory spaces
342 # and the memory occupied by page table is protected by page table itself as read-only.
343 # In X64 build, it cannot be enabled at the same time with SMM profile feature (PcdCpuSmmProfileEnable).
344 # In X64 build, it could not be enabled also at the same time with heap guard feature for SMM
345 # (PcdHeapGuardPropertyMask in MdeModulePkg).
346 # In IA32 build, page table memory is not marked as read-only when either SMM profile feature (PcdCpuSmmProfileEnable)
347 # or heap guard feature for SMM (PcdHeapGuardPropertyMask in MdeModulePkg) is enabled.
348 # TRUE - Access to non-SMRAM memory is restricted to reserved, runtime and ACPI NVS type after SmmReadyToLock.<BR>
349 # FALSE - Access to any type of non-SMRAM memory after SmmReadyToLock is allowed.<BR>
350 # @Prompt Access to non-SMRAM memory is restricted to reserved, runtime and ACPI NVS type after SmmReadyToLock.
351 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmRestrictedMemoryAccess|TRUE|BOOLEAN|0x3213210F
352
353 [PcdsDynamic, PcdsDynamicEx]
354 ## Contains the pointer to a CPU S3 data buffer of structure ACPI_CPU_DATA.
355 # @Prompt The pointer to a CPU S3 data buffer.
356 # @ValidList 0x80000001 | 0
357 gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress|0x0|UINT64|0x60000010
358
359 ## Contains the pointer to a CPU Hot Plug Data structure if CPU hot-plug is supported.
360 # @Prompt The pointer to CPU Hot Plug Data.
361 # @ValidList 0x80000001 | 0
362 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugDataAddress|0x0|UINT64|0x60000011
363
364 ## Indicates processor feature capabilities, each bit corresponding to a specific feature.
365 # @Prompt Processor feature capabilities.
366 # @ValidList 0x80000001 | 0
367 gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesCapability|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}|VOID*|0x00000018
368
369 ## As input, specifies user's desired settings for enabling/disabling processor features.
370 ## As output, specifies actual settings for processor features, each bit corresponding to a specific feature.
371 # @Prompt As input, specifies user's desired processor feature settings. As output, specifies actual processor feature settings.
372 # @ValidList 0x80000001 | 0
373 gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSetting|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}|VOID*|0x00000019
374
375 ## Contains the size of memory required when CPU processor trace is enabled.<BR><BR>
376 # Processor trace is enabled through set BIT44(CPU_FEATURE_PROC_TRACE) in PcdCpuFeaturesSetting.<BR><BR>
377 # This PCD is ignored if CPU processor trace is disabled.<BR><BR>
378 # Default value is 0x00 which means 4KB of memory is allocated if CPU processor trace is enabled.<BR>
379 # 0x0 - 4K.<BR>
380 # 0x1 - 8K.<BR>
381 # 0x2 - 16K.<BR>
382 # 0x3 - 32K.<BR>
383 # 0x4 - 64K.<BR>
384 # 0x5 - 128K.<BR>
385 # 0x6 - 256K.<BR>
386 # 0x7 - 512K.<BR>
387 # 0x8 - 1M.<BR>
388 # 0x9 - 2M.<BR>
389 # 0xA - 4M.<BR>
390 # 0xB - 8M.<BR>
391 # 0xC - 16M.<BR>
392 # 0xD - 32M.<BR>
393 # 0xE - 64M.<BR>
394 # 0xF - 128M.<BR>
395 # @Prompt The memory size used for processor trace if processor trace is enabled.
396 # @ValidRange 0x80000001 | 0 - 0xF
397 gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceMemSize|0x0|UINT32|0x60000012
398
399 ## Contains the processor trace output scheme when CPU processor trace is enabled.<BR><BR>
400 # Processor trace is enabled through set BIT44(CPU_FEATURE_PROC_TRACE) in PcdCpuFeaturesSetting.<BR><BR>
401 # This PCD is ignored if CPU processor trace is disabled.<BR><BR>
402 # Default value is 0 which means single range output scheme will be used if CPU processor trace is enabled.<BR>
403 # 0 - Single Range output scheme.<BR>
404 # 1 - ToPA(Table of physical address) scheme.<BR>
405 # @Prompt The processor trace output scheme used when processor trace is enabled.
406 # @ValidRange 0x80000001 | 0 - 1
407 gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceOutputScheme|0x0|UINT8|0x60000015
408
409 ## This dynamic PCD indicates whether SEV-ES is enabled
410 # TRUE - SEV-ES is enabled
411 # FALSE - SEV-ES is not enabled
412 # @Prompt SEV-ES Status
413 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|FALSE|BOOLEAN|0x60000016
414
415 ## This dynamic PCD contains the hypervisor features value obtained through the GHCB HYPERVISOR
416 # features VMGEXIT defined in the version 2 of GHCB spec.
417 # @Prompt GHCB Hypervisor Features
418 gUefiCpuPkgTokenSpaceGuid.PcdGhcbHypervisorFeatures|0x0|UINT64|0x60000018
419
420 [UserExtensions.TianoCore."ExtraFiles"]
421 UefiCpuPkgExtra.uni