From nobody Mon Apr 29 23:16:58 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1502283738428546.0135011964081; Wed, 9 Aug 2017 06:02:18 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id E32BB21E1DAEE; Wed, 9 Aug 2017 05:59:54 -0700 (PDT) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B302321E11D8E for ; Wed, 9 Aug 2017 05:59:53 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2017 06:02:11 -0700 Received: from ydong10-mobl.ccr.corp.intel.com ([10.239.194.138]) by orsmga002.jf.intel.com with ESMTP; 09 Aug 2017 06:02:10 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,348,1498546800"; d="scan'208";a="121658975" From: Eric Dong To: edk2-devel@lists.01.org Date: Wed, 9 Aug 2017 21:02:06 +0800 Message-Id: <20170809130207.5716-2-eric.dong@intel.com> X-Mailer: git-send-email 2.10.1.windows.1 In-Reply-To: <20170809130207.5716-1-eric.dong@intel.com> References: <20170809130207.5716-1-eric.dong@intel.com> Subject: [edk2] [Patch v2 1/2] UefiCpuPkg: Add comments for PCDs definition. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ruiyu Ni , Michael D Kinney , Liming Gao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add valid values for PCD PcdCpuProcTraceMemSize and PcdCpuProcTraceOutputScheme in the comment part. Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- 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 @@ =20 ## Contains the size of memory required when CPU processor trace is enab= led. # @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 =20 ## Contains the processor trace output scheme when CPU processor trace i= s enabled. # @Prompt The processor trace output scheme. + # 0: Single Range output scheme.
+ # 1: ToPA(Table of physical address) scheme.
+ # 2: Invalid scheme.
+ # @ValidRange 0x80000001 | 0 - 2 gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceOutputScheme|0x2|UINT8|0x600000= 15 =20 [UserExtensions.TianoCore."ExtraFiles"] --=20 2.10.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Mon Apr 29 23:16:58 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1502283739190436.0320941876922; Wed, 9 Aug 2017 06:02:19 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 28BEF21E11D9F; Wed, 9 Aug 2017 05:59:57 -0700 (PDT) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CE9EC21DFE91F for ; Wed, 9 Aug 2017 05:59:54 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2017 06:02:12 -0700 Received: from ydong10-mobl.ccr.corp.intel.com ([10.239.194.138]) by orsmga002.jf.intel.com with ESMTP; 09 Aug 2017 06:02:11 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,348,1498546800"; d="scan'208";a="121658985" From: Eric Dong To: edk2-devel@lists.01.org Date: Wed, 9 Aug 2017 21:02:07 +0800 Message-Id: <20170809130207.5716-3-eric.dong@intel.com> X-Mailer: git-send-email 2.10.1.windows.1 In-Reply-To: <20170809130207.5716-1-eric.dong@intel.com> References: <20170809130207.5716-1-eric.dong@intel.com> Subject: [edk2] [Patch v2 2/2] UefiCpuPkg UefiCpupkg.uni: Add new pcds comments. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ruiyu Ni , Liming Gao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add prompt/help string for pcd PcdCpuProcTraceOutputScheme and PcdCpuProcTraceMemSize in UefiCpuPkg.uni file. Cc: Liming Gao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- 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 #langu= age en-US "Actual processor feature settings." =20 #string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuFeaturesSetting_HELP #languag= e en-US "Specifies actual settings for processor features, each bit corresp= onding to a specific feature." + +#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuProcTraceMemSize_PROMPT #lang= uage en-US "Memory size used by Processor Trace feature." + +#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuProcTraceMemSize_HELP #langua= ge 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 #l= anguage en-US "User input the processor trace output scheme type." \ No newline at end of file --=20 2.10.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel