From 34b6a0e22210b825ca5ea8447ac8bc513c0c96c5 Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Wed, 23 Aug 2017 10:28:55 +0800 Subject: UefiCpuPkg: Update default for PcdCpuProcTraceMemSize/PcdCpuProcTraceOutputScheme. These two definitions have redundant definition which can be handle by code. This patch update them to follow new code definitions. V2: Add more comments for the PCDs and keep consistent in .dec and .uni files. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Reviewed-by: Michael Kinney --- UefiCpuPkg/UefiCpuPkg.uni | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'UefiCpuPkg/UefiCpuPkg.uni') diff --git a/UefiCpuPkg/UefiCpuPkg.uni b/UefiCpuPkg/UefiCpuPkg.uni index 858e4a7235..9472b185e4 100644 --- a/UefiCpuPkg/UefiCpuPkg.uni +++ b/UefiCpuPkg/UefiCpuPkg.uni @@ -197,8 +197,10 @@ #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.

\n" - "Default value is 0x10 which disables the processor memory trace.
\n" +#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuProcTraceMemSize_HELP #language en-US "User input the size of memory required when CPU processor trace is enabled.

\n" + "Processor trace is enabled through set BIT44(CPU_FEATURE_PROC_TRACE) in PcdCpuFeaturesSetting.

\n" + "This PCD is ignored if CPU processor trace is disabled.

\n" + "Default value is 0x00 which means 4KB of memory is allocated if CPU processor trace is enabled.
\n" "0x0 - 4K.
\n" "0x1 - 8K.
\n" "0x2 - 16K.
\n" @@ -215,12 +217,12 @@ "0xD - 32M.
\n" "0xE - 64M.
\n" "0xF - 128M.
\n" - "0x10 - ProcTraceMemDisable.
\n" #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.

\n" - "Default value is 2 which disables the processor memory trace.
\n" +#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuProcTraceOutputScheme_HELP #language en-US "User input the processor trace output scheme when CPU processor trace is enabled.

\n" + "Processor trace is enabled through set BIT44(CPU_FEATURE_PROC_TRACE) in PcdCpuFeaturesSetting.

\n" + "This PCD is ignored if CPU processor trace is disabled.

\n" + "Default value is 0 which means single range output scheme will be used if CPU processor trace is enabled.
\n" "0 - Single Range output scheme.
\n" - "1 - ToPA(Table of physical address) scheme.
\n" - "2 - Invalid scheme.
\n" \ No newline at end of file + "1 - ToPA(Table of physical address) scheme.
\n" \ No newline at end of file -- cgit