]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg: Add comments for PCDs definition.
authorEric Dong <eric.dong@intel.com>
Mon, 14 Aug 2017 07:18:23 +0000 (15:18 +0800)
committerEric Dong <eric.dong@intel.com>
Wed, 16 Aug 2017 08:16:17 +0000 (16:16 +0800)
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>
UefiCpuPkg/UefiCpuPkg.dec

index 2ddeab4cd92019463a5f931e2ca50b93d01e47b3..b4e099d43ec63353da6227cfb252c8be1be57b66 100644 (file)
   # @ValidList   0x80000001 | 0\r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSetting|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}|VOID*|0x00000019\r
 \r
-  ## Contains the size of memory required when CPU processor trace is enabled.\r
+  ## Contains the size of memory required when CPU processor trace is enabled.<BR><BR>\r
+  #  Default value is 0x10 which disables the processor trace.<BR>\r
+  #  0x0  -  4K.<BR>\r
+  #  0x1  -  8K.<BR>\r
+  #  0x2  -  16K.<BR>\r
+  #  0x3  -  32K.<BR>\r
+  #  0x4  -  64K.<BR>\r
+  #  0x5  -  128K.<BR>\r
+  #  0x6  -  256K.<BR>\r
+  #  0x7  -  512K.<BR>\r
+  #  0x8  -  1M.<BR>\r
+  #  0x9  -  2M.<BR>\r
+  #  0xA  -  4M.<BR>\r
+  #  0xB  -  8M.<BR>\r
+  #  0xC  -  16M.<BR>\r
+  #  0xD  -  32M.<BR>\r
+  #  0xE  -  64M.<BR>\r
+  #  0xF  -  128M.<BR>\r
+  #  0x10 -  ProcTraceMemDisable.<BR>\r
   # @Prompt The memory size used for processor trace.\r
+  # @ValidRange  0x80000001 | 0 - 0x10\r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceMemSize|0x10|UINT32|0x60000012\r
 \r
-  ## Contains the processor trace output scheme when CPU processor trace is enabled.\r
+  ## Contains the processor trace output scheme when CPU processor trace is enabled.<BR><BR>\r
+  #  Default value is 2 which disables the processor trace.<BR>\r
+  #  0 - Single Range output scheme.<BR>\r
+  #  1 - ToPA(Table of physical address) scheme.<BR>\r
+  #  2 - Invalid scheme.<BR>\r
   # @Prompt The processor trace output scheme.\r
+  # @ValidRange  0x80000001 | 0 - 2\r
   gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceOutputScheme|0x2|UINT8|0x60000015\r
 \r
 [UserExtensions.TianoCore."ExtraFiles"]\r