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 CcExit processing.
|
---|
57 | CcExitLib|Include/Library/CcExitLib.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 | [Protocols.RISCV64]
|
---|
90 | #
|
---|
91 | # Protocols defined for RISC-V systems
|
---|
92 | #
|
---|
93 | ## Include/Protocol/RiscVBootProtocol.h
|
---|
94 | gRiscVEfiBootProtocolGuid = { 0xccd15fec, 0x6f73, 0x4eec, { 0x83, 0x95, 0x3e, 0x69, 0xe4, 0xb9, 0x40, 0xbf }}
|
---|
95 |
|
---|
96 | #
|
---|
97 | # [Error.gUefiCpuPkgTokenSpaceGuid]
|
---|
98 | # 0x80000001 | Invalid value provided.
|
---|
99 | #
|
---|
100 |
|
---|
101 | [Ppis]
|
---|
102 | gEdkiiPeiMpServices2PpiGuid = { 0x5cb9cb3d, 0x31a4, 0x480c, { 0x94, 0x98, 0x29, 0xd2, 0x69, 0xba, 0xcf, 0xba}}
|
---|
103 |
|
---|
104 | ## Include/Ppi/ShadowMicrocode.h
|
---|
105 | gEdkiiPeiShadowMicrocodePpiGuid = { 0x430f6965, 0x9a69, 0x41c5, { 0x93, 0xed, 0x8b, 0xf0, 0x64, 0x35, 0xc1, 0xc6 }}
|
---|
106 |
|
---|
107 | ## Include/Ppi/RepublishSecPpi.h
|
---|
108 | gRepublishSecPpiPpiGuid = { 0x27a71b1e, 0x73ee, 0x43d6, { 0xac, 0xe3, 0x52, 0x1a, 0x2d, 0xc5, 0xd0, 0x92 }}
|
---|
109 |
|
---|
110 | [PcdsFeatureFlag]
|
---|
111 | ## Indicates if SMM Profile will be enabled.
|
---|
112 | # If enabled, instruction executions in and data accesses to memory outside of SMRAM will be logged.
|
---|
113 | # In X64 build, it could not be enabled when PcdCpuSmmRestrictedMemoryAccess is TRUE.
|
---|
114 | # In IA32 build, the page table memory is not marked as read-only when it is enabled.
|
---|
115 | # This PCD is only for validation purpose. It should be set to false in production.<BR><BR>
|
---|
116 | # TRUE - SMM Profile will be enabled.<BR>
|
---|
117 | # FALSE - SMM Profile will be disabled.<BR>
|
---|
118 | # @Prompt Enable SMM Profile.
|
---|
119 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmProfileEnable|FALSE|BOOLEAN|0x32132109
|
---|
120 |
|
---|
121 | ## Indicates if the SMM profile log buffer is a ring buffer.
|
---|
122 | # If disabled, no additional log can be done when the buffer is full.<BR><BR>
|
---|
123 | # TRUE - the SMM profile log buffer is a ring buffer.<BR>
|
---|
124 | # FALSE - the SMM profile log buffer is a normal buffer.<BR>
|
---|
125 | # @Prompt The SMM profile log buffer is a ring buffer.
|
---|
126 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmProfileRingBuffer|FALSE|BOOLEAN|0x3213210a
|
---|
127 |
|
---|
128 | ## Indicates if SMM Startup AP in a blocking fashion.
|
---|
129 | # TRUE - SMM Startup AP in a blocking fashion.<BR>
|
---|
130 | # FALSE - SMM Startup AP in a non-blocking fashion.<BR>
|
---|
131 | # @Prompt SMM Startup AP in a blocking fashion.
|
---|
132 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|FALSE|BOOLEAN|0x32132108
|
---|
133 |
|
---|
134 | ## Indicates if SMM Stack Guard will be enabled.
|
---|
135 | # If enabled, stack overflow in SMM can be caught, preventing chaotic consequences.<BR><BR>
|
---|
136 | # TRUE - SMM Stack Guard will be enabled.<BR>
|
---|
137 | # FALSE - SMM Stack Guard will be disabled.<BR>
|
---|
138 | # @Prompt Enable SMM Stack Guard.
|
---|
139 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackGuard|TRUE|BOOLEAN|0x1000001C
|
---|
140 |
|
---|
141 | ## Indicates if BSP election in SMM will be enabled.
|
---|
142 | # If enabled, a BSP will be dynamically elected among all processors in each SMI.
|
---|
143 | # Otherwise, processor 0 is always as BSP in each SMI.<BR><BR>
|
---|
144 | # TRUE - BSP election in SMM will be enabled.<BR>
|
---|
145 | # FALSE - BSP election in SMM will be disabled.<BR>
|
---|
146 | # @Prompt Enable BSP election in SMM.
|
---|
147 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|TRUE|BOOLEAN|0x32132106
|
---|
148 |
|
---|
149 | ## Indicates if CPU SMM hot-plug will be enabled.<BR><BR>
|
---|
150 | # TRUE - SMM CPU hot-plug will be enabled.<BR>
|
---|
151 | # FALSE - SMM CPU hot-plug will be disabled.<BR>
|
---|
152 | # @Prompt SMM CPU hot-plug.
|
---|
153 | gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|FALSE|BOOLEAN|0x3213210C
|
---|
154 |
|
---|
155 | ## Indicates if SMM Debug will be enabled.
|
---|
156 | # If enabled, hardware breakpoints in SMRAM can be set outside of SMM mode and take effect in SMM.<BR><BR>
|
---|
157 | # TRUE - SMM Debug will be enabled.<BR>
|
---|
158 | # FALSE - SMM Debug will be disabled.<BR>
|
---|
159 | # @Prompt Enable SMM Debug.
|
---|
160 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|FALSE|BOOLEAN|0x1000001B
|
---|
161 |
|
---|
162 | ## Indicates if lock SMM Feature Control MSR.<BR><BR>
|
---|
163 | # TRUE - SMM Feature Control MSR will be locked.<BR>
|
---|
164 | # FALSE - SMM Feature Control MSR will not be locked.<BR>
|
---|
165 | # @Prompt Lock SMM Feature Control MSR.
|
---|
166 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmFeatureControlMsrLock|TRUE|BOOLEAN|0x3213210B
|
---|
167 |
|
---|
168 | ## Indicates if SMRR will be enabled.<BR><BR>
|
---|
169 | # TRUE - SMRR will be enabled.<BR>
|
---|
170 | # FALSE - SMRR will not be enabled.<BR>
|
---|
171 | # @Prompt Enable SMRR.
|
---|
172 | gUefiCpuPkgTokenSpaceGuid.PcdSmrrEnable|TRUE|BOOLEAN|0x3213210D
|
---|
173 |
|
---|
174 | ## Indicates if SmmFeatureControl will be enabled.<BR><BR>
|
---|
175 | # TRUE - SmmFeatureControl will be enabled.<BR>
|
---|
176 | # FALSE - SmmFeatureControl will not be enabled.<BR>
|
---|
177 | # @Prompt Support SmmFeatureControl.
|
---|
178 | gUefiCpuPkgTokenSpaceGuid.PcdSmmFeatureControlEnable|TRUE|BOOLEAN|0x32132110
|
---|
179 |
|
---|
180 | [PcdsFixedAtBuild]
|
---|
181 | ## List of exception vectors which need switching stack.
|
---|
182 | # This PCD will only take into effect if PcdCpuStackGuard is enabled.
|
---|
183 | # By default exception #DD(8), #PF(14) are supported.
|
---|
184 | # @Prompt Specify exception vectors which need switching stack.
|
---|
185 | gUefiCpuPkgTokenSpaceGuid.PcdCpuStackSwitchExceptionList|{0x08, 0x0E}|VOID*|0x30002000
|
---|
186 |
|
---|
187 | ## Size of good stack for an exception.
|
---|
188 | # This PCD will only take into effect if PcdCpuStackGuard is enabled.
|
---|
189 | # @Prompt Specify size of good stack of exception which need switching stack.
|
---|
190 | gUefiCpuPkgTokenSpaceGuid.PcdCpuKnownGoodStackSize|2048|UINT32|0x30002001
|
---|
191 |
|
---|
192 | ## Count of pre allocated SMM MP tokens per chunk.
|
---|
193 | # @Prompt Specify the count of pre allocated SMM MP tokens per chunk.
|
---|
194 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmMpTokenCountPerChunk|64|UINT32|0x30002002
|
---|
195 |
|
---|
196 | ## Area of memory where the SEV-ES work area block lives.
|
---|
197 | # @Prompt Configure the SEV-ES work area base
|
---|
198 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase|0x0|UINT32|0x30002005
|
---|
199 |
|
---|
200 | ## Size of teh area of memory where the SEV-ES work area block lives.
|
---|
201 | # @Prompt Configure the SEV-ES work area base
|
---|
202 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaSize|0x0|UINT32|0x30002006
|
---|
203 |
|
---|
204 | [PcdsFixedAtBuild, PcdsPatchableInModule]
|
---|
205 | ## This value is the CPU Local APIC base address, which aligns the address on a 4-KByte boundary.
|
---|
206 | # @Prompt Configure base address of CPU Local APIC
|
---|
207 | # @Expression 0x80000001 | (gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress & 0xfff) == 0
|
---|
208 | gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress|0xfee00000|UINT32|0x00000001
|
---|
209 |
|
---|
210 | ## Specifies delay value in microseconds after sending out an INIT IPI.
|
---|
211 | # @Prompt Configure delay value after send an INIT IPI
|
---|
212 | gUefiCpuPkgTokenSpaceGuid.PcdCpuInitIpiDelayInMicroSeconds|10000|UINT32|0x30000002
|
---|
213 |
|
---|
214 | ## This value specifies the Application Processor (AP) stack size, used for Mp Service, which must
|
---|
215 | ## aligns the address on a 4-KByte boundary.
|
---|
216 | # @Prompt Configure stack size for Application Processor (AP)
|
---|
217 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize|0x8000|UINT32|0x00000003
|
---|
218 |
|
---|
219 | ## Specifies stack size in the temporary RAM. 0 means half of TemporaryRamSize.
|
---|
220 | # @Prompt Stack size in the temporary RAM.
|
---|
221 | gUefiCpuPkgTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0|UINT32|0x10001003
|
---|
222 |
|
---|
223 | ## Specifies buffer size in bytes to save SMM profile data. The value should be a multiple of 4KB.
|
---|
224 | # @Prompt SMM profile data buffer size.
|
---|
225 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmProfileSize|0x200000|UINT32|0x32132107
|
---|
226 |
|
---|
227 | ## Specifies stack size in bytes for each processor in SMM.
|
---|
228 | # @Prompt Processor stack size in SMM.
|
---|
229 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x2000|UINT32|0x32132105
|
---|
230 |
|
---|
231 | ## Specifies shadow stack size in bytes for each processor in SMM.
|
---|
232 | # @Prompt Processor shadow stack size in SMM.
|
---|
233 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmShadowStackSize|0x2000|UINT32|0x3213210E
|
---|
234 |
|
---|
235 | ## Indicates if SMM Code Access Check is enabled.
|
---|
236 | # If enabled, the SMM handler cannot execute the code outside SMM regions.
|
---|
237 | # This PCD is suggested to TRUE in production image.<BR><BR>
|
---|
238 | # TRUE - SMM Code Access Check will be enabled.<BR>
|
---|
239 | # FALSE - SMM Code Access Check will be disabled.<BR>
|
---|
240 | # @Prompt SMM Code Access Check.
|
---|
241 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmCodeAccessCheckEnable|TRUE|BOOLEAN|0x60000013
|
---|
242 |
|
---|
243 | ## Specifies the number of variable MTRRs reserved for OS use. The default number of
|
---|
244 | # MTRRs reserved for OS use is 2.
|
---|
245 | # @Prompt Number of reserved variable MTRRs.
|
---|
246 | gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0x2|UINT32|0x00000015
|
---|
247 |
|
---|
248 | ## Specifies buffer size in bytes for STM exception stack. The value should be a multiple of 4KB.
|
---|
249 | # @Prompt STM exception stack size.
|
---|
250 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStmExceptionStackSize|0x1000|UINT32|0x32132111
|
---|
251 |
|
---|
252 | ## Specifies buffer size in bytes of MSEG. The value should be a multiple of 4KB.
|
---|
253 | # @Prompt MSEG size.
|
---|
254 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMsegSize|0x200000|UINT32|0x32132112
|
---|
255 |
|
---|
256 | ## Specifies the supported CPU features bit in array.
|
---|
257 | # @Prompt Supported CPU features.
|
---|
258 | gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSupport|{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}|VOID*|0x00000016
|
---|
259 |
|
---|
260 | ## Specifies if CPU features will be initialized after SMM relocation.
|
---|
261 | # @Prompt If CPU features will be initialized after SMM relocation.
|
---|
262 | gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesInitAfterSmmRelocation|FALSE|BOOLEAN|0x0000001C
|
---|
263 |
|
---|
264 | ## Specifies if CPU features will be initialized during S3 resume.
|
---|
265 | # @Prompt If CPU features will be initialized during S3 resume.
|
---|
266 | gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesInitOnS3Resume|FALSE|BOOLEAN|0x0000001D
|
---|
267 |
|
---|
268 | ## Specifies CPUID Leaf 0x15 Time Stamp Counter and Nominal Core Crystal Clock Frequency.
|
---|
269 | # TSC Frequency = ECX (core crystal clock frequency) * EBX/EAX.
|
---|
270 | # Intel Xeon Processor Scalable Family with CPUID signature 06_55H = 25000000 (25MHz)
|
---|
271 | # 6th and 7th generation Intel Core processors and Intel Xeon W Processor Family = 24000000 (24MHz)
|
---|
272 | # Intel Atom processors based on Goldmont Microarchitecture with CPUID signature 06_5CH = 19200000 (19.2MHz)
|
---|
273 | # @Prompt This PCD is the nominal frequency of the core crystal clock in Hz as is CPUID Leaf 0x15:ECX
|
---|
274 | gUefiCpuPkgTokenSpaceGuid.PcdCpuCoreCrystalClockFrequency|24000000|UINT64|0x32132113
|
---|
275 |
|
---|
276 | ## Specifies the periodic interval value in microseconds for the status check
|
---|
277 | # of APs for StartupAllAPs() and StartupThisAP() executed in non-blocking
|
---|
278 | # mode in DXE phase.
|
---|
279 | # @Prompt Periodic interval value in microseconds for AP status check in DXE.
|
---|
280 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApStatusCheckIntervalInMicroSeconds|100000|UINT32|0x0000001E
|
---|
281 |
|
---|
282 | [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
|
---|
283 | ## Specifies max supported number of Logical Processors.
|
---|
284 | # @Prompt Configure max supported number of Logical Processors
|
---|
285 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64|UINT32|0x00000002
|
---|
286 | ## Specifies timeout value in microseconds for the BSP to detect all APs for the first time.
|
---|
287 | # @Prompt Timeout for the BSP to detect all APs for the first time.
|
---|
288 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000|UINT32|0x00000004
|
---|
289 | ## Specifies the number of Logical Processors that are available in the
|
---|
290 | # preboot environment after platform reset, including BSP and APs. Possible
|
---|
291 | # values:<BR><BR>
|
---|
292 | # zero (default) - PcdCpuBootLogicalProcessorNumber is ignored, and
|
---|
293 | # PcdCpuApInitTimeOutInMicroSeconds limits the initial AP
|
---|
294 | # detection by the BSP.<BR>
|
---|
295 | # nonzero - PcdCpuApInitTimeOutInMicroSeconds is ignored. The initial
|
---|
296 | # AP detection finishes only when the detected CPU count
|
---|
297 | # (BSP plus APs) reaches the value of
|
---|
298 | # PcdCpuBootLogicalProcessorNumber, regardless of how long
|
---|
299 | # that takes.<BR>
|
---|
300 | # @Prompt Number of Logical Processors available after platform reset.
|
---|
301 | gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0|UINT32|0x00000008
|
---|
302 | ## Specifies the base address of the first microcode Patch in the microcode Region.
|
---|
303 | # @Prompt Microcode Region base address.
|
---|
304 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0x0|UINT64|0x00000005
|
---|
305 | ## Specifies the size of the microcode Region.
|
---|
306 | # @Prompt Microcode Region size.
|
---|
307 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x0|UINT64|0x00000006
|
---|
308 | ## Specifies the AP wait loop state during POST phase.
|
---|
309 | # The value is defined as below.<BR><BR>
|
---|
310 | # 1: Place AP in the Hlt-Loop state.<BR>
|
---|
311 | # 2: Place AP in the Mwait-Loop state.<BR>
|
---|
312 | # 3: Place AP in the Run-Loop state.<BR>
|
---|
313 | # @Prompt The AP wait loop state.
|
---|
314 | # @ValidRange 0x80000001 | 1 - 3
|
---|
315 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode|1|UINT8|0x60008006
|
---|
316 | ## Specifies the AP target C-state for Mwait during POST phase.
|
---|
317 | # The default value 0 means C1 state.
|
---|
318 | # The value is defined as below.<BR><BR>
|
---|
319 | # @Prompt The specified AP target C-state for Mwait.
|
---|
320 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate|0|UINT8|0x00000007
|
---|
321 |
|
---|
322 | ## Specifies timeout value in microseconds for the BSP in SMM to wait for all APs to come into SMM.
|
---|
323 | # @Prompt AP synchronization timeout value in SMM.
|
---|
324 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000000|UINT64|0x32132104
|
---|
325 |
|
---|
326 | ## Indicates the CPU synchronization method used when processing an SMI.
|
---|
327 | # 0x00 - Traditional CPU synchronization method.<BR>
|
---|
328 | # 0x01 - Relaxed CPU synchronization method.<BR>
|
---|
329 | # @Prompt SMM CPU Synchronization Method.
|
---|
330 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x00|UINT8|0x60000014
|
---|
331 |
|
---|
332 | ## Specifies the On-demand clock modulation duty cycle when ACPI feature is enabled.
|
---|
333 | # @Prompt The encoded values for target duty cycle modulation.
|
---|
334 | # @ValidRange 0x80000001 | 0 - 15
|
---|
335 | gUefiCpuPkgTokenSpaceGuid.PcdCpuClockModulationDutyCycle|0x0|UINT8|0x0000001A
|
---|
336 |
|
---|
337 | ## Indicates if the current boot is a power-on reset.<BR><BR>
|
---|
338 | # TRUE - Current boot is a power-on reset.<BR>
|
---|
339 | # FALSE - Current boot is not a power-on reset.<BR>
|
---|
340 | # @Prompt Current boot is a power-on reset.
|
---|
341 | gUefiCpuPkgTokenSpaceGuid.PcdIsPowerOnReset|FALSE|BOOLEAN|0x0000001B
|
---|
342 |
|
---|
343 | [PcdsFixedAtBuild.X64, PcdsPatchableInModule.X64, PcdsDynamic.X64, PcdsDynamicEx.X64]
|
---|
344 | ## Indicate access to non-SMRAM memory is restricted to reserved, runtime and ACPI NVS type after SmmReadyToLock.
|
---|
345 | # MMIO access is always allowed regardless of the value of this PCD.
|
---|
346 | # Loose of such restriction is only required by RAS components in X64 platforms.
|
---|
347 | # The PCD value is considered as constantly TRUE in IA32 platforms.
|
---|
348 | # When the PCD value is TRUE, page table is initialized to cover all memory spaces
|
---|
349 | # and the memory occupied by page table is protected by page table itself as read-only.
|
---|
350 | # In X64 build, it cannot be enabled at the same time with SMM profile feature (PcdCpuSmmProfileEnable).
|
---|
351 | # In X64 build, it could not be enabled also at the same time with heap guard feature for SMM
|
---|
352 | # (PcdHeapGuardPropertyMask in MdeModulePkg).
|
---|
353 | # In IA32 build, page table memory is not marked as read-only when either SMM profile feature (PcdCpuSmmProfileEnable)
|
---|
354 | # or heap guard feature for SMM (PcdHeapGuardPropertyMask in MdeModulePkg) is enabled.
|
---|
355 | # TRUE - Access to non-SMRAM memory is restricted to reserved, runtime and ACPI NVS type after SmmReadyToLock.<BR>
|
---|
356 | # FALSE - Access to any type of non-SMRAM memory after SmmReadyToLock is allowed.<BR>
|
---|
357 | # @Prompt Access to non-SMRAM memory is restricted to reserved, runtime and ACPI NVS type after SmmReadyToLock.
|
---|
358 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmRestrictedMemoryAccess|TRUE|BOOLEAN|0x3213210F
|
---|
359 |
|
---|
360 | [PcdsDynamic, PcdsDynamicEx]
|
---|
361 | ## Contains the pointer to a CPU S3 data buffer of structure ACPI_CPU_DATA.
|
---|
362 | # @Prompt The pointer to a CPU S3 data buffer.
|
---|
363 | # @ValidList 0x80000001 | 0
|
---|
364 | gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress|0x0|UINT64|0x60000010
|
---|
365 |
|
---|
366 | ## Contains the pointer to a CPU Hot Plug Data structure if CPU hot-plug is supported.
|
---|
367 | # @Prompt The pointer to CPU Hot Plug Data.
|
---|
368 | # @ValidList 0x80000001 | 0
|
---|
369 | gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugDataAddress|0x0|UINT64|0x60000011
|
---|
370 |
|
---|
371 | ## Indicates processor feature capabilities, each bit corresponding to a specific feature.
|
---|
372 | # @Prompt Processor feature capabilities.
|
---|
373 | # @ValidList 0x80000001 | 0
|
---|
374 | gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesCapability|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}|VOID*|0x00000018
|
---|
375 |
|
---|
376 | ## As input, specifies user's desired settings for enabling/disabling processor features.
|
---|
377 | ## As output, specifies actual settings for processor features, each bit corresponding to a specific feature.
|
---|
378 | # @Prompt As input, specifies user's desired processor feature settings. As output, specifies actual processor feature settings.
|
---|
379 | # @ValidList 0x80000001 | 0
|
---|
380 | gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSetting|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}|VOID*|0x00000019
|
---|
381 |
|
---|
382 | ## Contains the size of memory required when CPU processor trace is enabled.<BR><BR>
|
---|
383 | # Processor trace is enabled through set BIT44(CPU_FEATURE_PROC_TRACE) in PcdCpuFeaturesSetting.<BR><BR>
|
---|
384 | # This PCD is ignored if CPU processor trace is disabled.<BR><BR>
|
---|
385 | # Default value is 0x00 which means 4KB of memory is allocated if CPU processor trace is enabled.<BR>
|
---|
386 | # 0x0 - 4K.<BR>
|
---|
387 | # 0x1 - 8K.<BR>
|
---|
388 | # 0x2 - 16K.<BR>
|
---|
389 | # 0x3 - 32K.<BR>
|
---|
390 | # 0x4 - 64K.<BR>
|
---|
391 | # 0x5 - 128K.<BR>
|
---|
392 | # 0x6 - 256K.<BR>
|
---|
393 | # 0x7 - 512K.<BR>
|
---|
394 | # 0x8 - 1M.<BR>
|
---|
395 | # 0x9 - 2M.<BR>
|
---|
396 | # 0xA - 4M.<BR>
|
---|
397 | # 0xB - 8M.<BR>
|
---|
398 | # 0xC - 16M.<BR>
|
---|
399 | # 0xD - 32M.<BR>
|
---|
400 | # 0xE - 64M.<BR>
|
---|
401 | # 0xF - 128M.<BR>
|
---|
402 | # @Prompt The memory size used for processor trace if processor trace is enabled.
|
---|
403 | # @ValidRange 0x80000001 | 0 - 0xF
|
---|
404 | gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceMemSize|0x0|UINT32|0x60000012
|
---|
405 |
|
---|
406 | ## Contains the processor trace output scheme when CPU processor trace is enabled.<BR><BR>
|
---|
407 | # Processor trace is enabled through set BIT44(CPU_FEATURE_PROC_TRACE) in PcdCpuFeaturesSetting.<BR><BR>
|
---|
408 | # This PCD is ignored if CPU processor trace is disabled.<BR><BR>
|
---|
409 | # Default value is 0 which means single range output scheme will be used if CPU processor trace is enabled.<BR>
|
---|
410 | # 0 - Single Range output scheme.<BR>
|
---|
411 | # 1 - ToPA(Table of physical address) scheme.<BR>
|
---|
412 | # @Prompt The processor trace output scheme used when processor trace is enabled.
|
---|
413 | # @ValidRange 0x80000001 | 0 - 1
|
---|
414 | gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceOutputScheme|0x0|UINT8|0x60000015
|
---|
415 |
|
---|
416 | ## This dynamic PCD indicates whether SEV-ES is enabled
|
---|
417 | # TRUE - SEV-ES is enabled
|
---|
418 | # FALSE - SEV-ES is not enabled
|
---|
419 | # @Prompt SEV-ES Status
|
---|
420 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|FALSE|BOOLEAN|0x60000016
|
---|
421 |
|
---|
422 | ## This dynamic PCD contains the hypervisor features value obtained through the GHCB HYPERVISOR
|
---|
423 | # features VMGEXIT defined in the version 2 of GHCB spec.
|
---|
424 | # @Prompt GHCB Hypervisor Features
|
---|
425 | gUefiCpuPkgTokenSpaceGuid.PcdGhcbHypervisorFeatures|0x0|UINT64|0x60000018
|
---|
426 |
|
---|
427 | [UserExtensions.TianoCore."ExtraFiles"]
|
---|
428 | UefiCpuPkgExtra.uni
|
---|