diff options
author | Eric Dong <eric.dong@intel.com> | 2017-08-14 15:18:23 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2017-08-16 16:16:17 +0800 |
commit | 234d4c5fe6cc5856faf517ee404ac703d94d6702 (patch) | |
tree | 716f1229fa14bd3f3c64f576a7f419edf5a5cfa5 /UefiCpuPkg/UefiCpuPkg.dec | |
parent | a136bc3ccfa479ec8a3fc9afcbd00283339101fa (diff) | |
download | edk2-234d4c5fe6cc5856faf517ee404ac703d94d6702.tar.gz |
UefiCpuPkg: Add comments for PCDs definition.
Add valid/default values for PCD PcdCpuProcTraceMemSize and
PcdCpuProcTraceOutputScheme in the comment part.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'UefiCpuPkg/UefiCpuPkg.dec')
-rw-r--r-- | UefiCpuPkg/UefiCpuPkg.dec | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index 2ddeab4cd9..b4e099d43e 100644 --- a/UefiCpuPkg/UefiCpuPkg.dec +++ b/UefiCpuPkg/UefiCpuPkg.dec @@ -285,12 +285,36 @@ # @ValidList 0x80000001 | 0
gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSetting|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}|VOID*|0x00000019
- ## Contains the size of memory required when CPU processor trace is enabled.
+ ## Contains the size of memory required when CPU processor trace is enabled.<BR><BR>
+ # Default value is 0x10 which disables the processor trace.<BR>
+ # 0x0 - 4K.<BR>
+ # 0x1 - 8K.<BR>
+ # 0x2 - 16K.<BR>
+ # 0x3 - 32K.<BR>
+ # 0x4 - 64K.<BR>
+ # 0x5 - 128K.<BR>
+ # 0x6 - 256K.<BR>
+ # 0x7 - 512K.<BR>
+ # 0x8 - 1M.<BR>
+ # 0x9 - 2M.<BR>
+ # 0xA - 4M.<BR>
+ # 0xB - 8M.<BR>
+ # 0xC - 16M.<BR>
+ # 0xD - 32M.<BR>
+ # 0xE - 64M.<BR>
+ # 0xF - 128M.<BR>
+ # 0x10 - ProcTraceMemDisable.<BR>
# @Prompt The memory size used for processor trace.
+ # @ValidRange 0x80000001 | 0 - 0x10
gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceMemSize|0x10|UINT32|0x60000012
- ## Contains the processor trace output scheme when CPU processor trace is enabled.
+ ## Contains the processor trace output scheme when CPU processor trace is enabled.<BR><BR>
+ # Default value is 2 which disables the processor trace.<BR>
+ # 0 - Single Range output scheme.<BR>
+ # 1 - ToPA(Table of physical address) scheme.<BR>
+ # 2 - Invalid scheme.<BR>
# @Prompt The processor trace output scheme.
+ # @ValidRange 0x80000001 | 0 - 2
gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceOutputScheme|0x2|UINT8|0x60000015
[UserExtensions.TianoCore."ExtraFiles"]
|