public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch v2 0/2] Add comments for two new added Pcds.
@ 2017-08-09 13:02 Eric Dong
  2017-08-09 13:02 ` [Patch v2 1/2] UefiCpuPkg: Add comments for PCDs definition Eric Dong
  2017-08-09 13:02 ` [Patch v2 2/2] UefiCpuPkg UefiCpupkg.uni: Add new pcds comments Eric Dong
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Dong @ 2017-08-09 13:02 UTC (permalink / raw)
  To: edk2-devel

v2 changes includes: Add valid values and prompt/help string for new add pcd
PcdCpuProcTraceMemSize and PcdCpuProcTraceOutputScheme.

Eric Dong (2):
  UefiCpuPkg: Add comments for PCDs definition.
  UefiCpuPkg UefiCpupkg.uni: Add new pcds comments.

 UefiCpuPkg/UefiCpuPkg.dec | 22 ++++++++++++++++++++++
 UefiCpuPkg/UefiCpuPkg.uni |  8 ++++++++
 2 files changed, 30 insertions(+)

-- 
2.10.1.windows.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Patch v2 1/2] UefiCpuPkg: Add comments for PCDs definition.
  2017-08-09 13:02 [Patch v2 0/2] Add comments for two new added Pcds Eric Dong
@ 2017-08-09 13:02 ` Eric Dong
  2017-08-09 13:02 ` [Patch v2 2/2] UefiCpuPkg UefiCpupkg.uni: Add new pcds comments Eric Dong
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Dong @ 2017-08-09 13:02 UTC (permalink / raw)
  To: edk2-devel; +Cc: Liming Gao, Ruiyu Ni, Michael D Kinney

Add valid 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>
---
 UefiCpuPkg/UefiCpuPkg.dec | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec
index 2ddeab4..1f3a992 100644
--- a/UefiCpuPkg/UefiCpuPkg.dec
+++ b/UefiCpuPkg/UefiCpuPkg.dec
@@ -287,10 +287,32 @@
 
   ## Contains the size of memory required when CPU processor trace is enabled.
   # @Prompt The memory size used for processor trace.
+  #  0x0:  4K,
+  #  0x1:  8K,
+  #  0x2:  16K,
+  #  0x3:  32K,
+  #  0x4:  64K,
+  #  0x5:  128K,
+  #  0x6:  256K,
+  #  0x7:  512K,
+  #  0x8:  1M,
+  #  0x9:  2M,
+  #  0xA:  4M,
+  #  0xB:  8M,
+  #  0xC:  16M,
+  #  0xD:  32M,
+  #  0xE:  64M,
+  #  0xF:  128M,
+  #  0x10: ProcTraceMemDisable
+  # @ValidRange  0x80000001 | 0 - 0x10
   gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceMemSize|0x10|UINT32|0x60000012
 
   ## Contains the processor trace output scheme when CPU processor trace is enabled.
   # @Prompt The processor trace output scheme.
+  #  0: Single Range output scheme.<BR>
+  #  1: ToPA(Table of physical address) scheme.<BR>
+  #  2: Invalid scheme.<BR>
+  # @ValidRange  0x80000001 | 0 - 2
   gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceOutputScheme|0x2|UINT8|0x60000015
 
 [UserExtensions.TianoCore."ExtraFiles"]
-- 
2.10.1.windows.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Patch v2 2/2] UefiCpuPkg UefiCpupkg.uni: Add new pcds comments.
  2017-08-09 13:02 [Patch v2 0/2] Add comments for two new added Pcds Eric Dong
  2017-08-09 13:02 ` [Patch v2 1/2] UefiCpuPkg: Add comments for PCDs definition Eric Dong
@ 2017-08-09 13:02 ` Eric Dong
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Dong @ 2017-08-09 13:02 UTC (permalink / raw)
  To: edk2-devel; +Cc: Liming Gao, Ruiyu Ni

Add prompt/help string for pcd PcdCpuProcTraceOutputScheme
and PcdCpuProcTraceMemSize in UefiCpuPkg.uni file.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
---
 UefiCpuPkg/UefiCpuPkg.uni | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/UefiCpuPkg/UefiCpuPkg.uni b/UefiCpuPkg/UefiCpuPkg.uni
index cd0ecab..dd62fc0 100644
--- a/UefiCpuPkg/UefiCpuPkg.uni
+++ b/UefiCpuPkg/UefiCpuPkg.uni
@@ -194,3 +194,11 @@
 #string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuFeaturesSetting_PROMPT  #language en-US "Actual processor feature settings."
 
 #string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuFeaturesSetting_HELP  #language en-US "Specifies actual settings for processor features, each bit corresponding to a specific feature."
+
+#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuProcTraceMemSize_PROMPT  #language en-US "Memory size used by Processor Trace feature."
+
+#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuProcTraceMemSize_HELP  #language en-US "User input the memory size can be used by processor trace feature."
+
+#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuProcTraceOutputScheme_PROMPT  #language en-US "Processor Trace output scheme type."
+
+#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuProcTraceOutputScheme_HELP  #language en-US "User input the processor trace output scheme type."
\ No newline at end of file
-- 
2.10.1.windows.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-09 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-09 13:02 [Patch v2 0/2] Add comments for two new added Pcds Eric Dong
2017-08-09 13:02 ` [Patch v2 1/2] UefiCpuPkg: Add comments for PCDs definition Eric Dong
2017-08-09 13:02 ` [Patch v2 2/2] UefiCpuPkg UefiCpupkg.uni: Add new pcds comments Eric Dong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox