From nobody Sun Apr 28 20:42:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+50660+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50660+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1573732103; cv=none; d=zoho.com; s=zohoarc; b=nfxfuEcxj2Ba3GJlRiipWfBg7+ednIlP+0BdHh8de9GuhklhBtOpcGhGMJi65vzXqih+4VNGnWU/3+UDKncDM4VOlaVifqDyXHln81SQN9kwSKUt3Y1pCkp/gs05KINnQWQ+lh+EIJHEvY4U+HPTuUevUiyvUh+2HBGrBRfggOg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573732103; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=qGW4lD6Xd/iLgNU9a7JqRqYKv41eV/We0gdQ2lbOo7o=; b=UbqnNymVMsLElMGl/xiqkNPH2f71ZDWN0IK2BwimpOWrmUl633U1wH8wUDjekZ+47KsSFSgsk94qboOMntaC73lKILng5FugF6Zlr55TYDSF9c72jFR22Hy+kE3kyhymFl0NxY4feYDqwNcud7CUqB+Pi3PLa9ooG3ELOGKsAio= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50660+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1573732103285655.1968887984647; Thu, 14 Nov 2019 03:48:23 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id onA6YY1788612xxcDQzFxSw2; Thu, 14 Nov 2019 03:48:22 -0800 X-Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.2840.1573732101728913286 for ; Thu, 14 Nov 2019 03:48:21 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 03:46:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,304,1569308400"; d="scan'208";a="203041250" X-Received: from shenglei-mobl.ccr.corp.intel.com ([10.67.162.167]) by fmsmga008.fm.intel.com with ESMTP; 14 Nov 2019 03:46:55 -0800 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Shenglei Zhang , Jian J Wang , Hao A Wu Subject: [edk2-devel] [PATCH 1/3] MdeModulePkg/MdeModulePkg.uni: Add missing strings for PCD Date: Thu, 14 Nov 2019 17:16:40 +0530 Message-Id: <20191114114644.5504-2-shenglei.zhang@intel.com> In-Reply-To: <20191114114644.5504-1-shenglei.zhang@intel.com> References: <20191114114644.5504-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: aR2MAckpr62iNSvdUuua0N8vx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1573732102; bh=su9Z1gn4SuL4eXJEoCqPz6RGj1NnYpDtz2CHSMH/tlo=; h=Cc:Date:From:Reply-To:Subject:To; b=BqHShhXxogwXmwYU9mj+bivE5mqcUQmnTqUKpyTnA3c2rbVsQwzFtQhkFa7kQIVtg0g UPQaQuirtuvTyyChfr4aYKKbZNC2EfiA0iFohHanVHWQmPs4/z7vraBEtyQZ25QjUfUAz sr0wR/t4grRh2EoPnM45lQu4LpZdPRnrt4g= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Shenglei Zhang Cc: Jian J Wang Cc: Hao A Wu Signed-off-by: Shenglei Zhang Reviewed-by: Jian J Wang --- MdeModulePkg/MdeModulePkg.uni | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.uni b/MdeModulePkg/MdeModulePkg.uni index a2c7a7ded3e8..d9c7b1ac6cf0 100644 --- a/MdeModulePkg/MdeModulePkg.uni +++ b/MdeModulePkg/MdeModulePkg.uni @@ -660,6 +660,18 @@ = "TRUE - Device Path From Text Protocol will = be produced.
\n" = "FALSE - Device Path From Text Protocol will = not be produced.
" =20 +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdEnableVariableRuntimeCache_P= ROMPT #language en-US "Enable the UEFI variable runtime cache." + +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdEnableVariableRuntimeCache_H= ELP #language en-US "Indicates if the UEFI variable runtime cache should b= e enabled.

\n" + = "This setting only applies if SMM variables are enable= d. When enabled, all variable
\n" + = "data for Runtime Service GetVariable () and GetNextVa= riableName () calls is retrieved
\n" + = "from a runtime data buffer referred to as the "runtim= e cache". An SMI is not triggered
\n" + = "at all for these requests. Variables writes still tri= gger an SMI. This can greatly
\n" + = "reduce overall system SMM usage as most boots tend to= issue far more variable reads
\n" + = "than writes.
\n" + = "TRUE - The UEFI variable runtime cache is enabled.\n" + = "FALSE - The UEFI variable runtime cache is disabled.<= BR>" + #string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdVariableCollectStatistics_PR= OMPT #language en-US "Enable variable statistics collection" =20 #string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdVariableCollectStatistics_HE= LP #language en-US "Indicates if the statistics about variable usage will = be collected. This information is stored as a vendor configuration table in= to the EFI system table. Set this PCD to TRUE to use VariableInfo applicati= on in MdeModulePkg\Application directory to get variable usage info. Variab= leInfo application will not output information if not set to TRUE.

\= n" --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50660): https://edk2.groups.io/g/devel/message/50660 Mute This Topic: https://groups.io/mt/57476141/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Apr 28 20:42:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+50665+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50665+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1573732104; cv=none; d=zoho.com; s=zohoarc; b=ksGSudHZ7ttADXJ+sGRHKQZO8wnrPVWuXKu02NcroVxXdYeZ5SlQyrD2Zqu3625/6v4nGVbW8TTrjgOb2g/4KIv2VoQil8EV6dpM0+LgYdorU0Qz5UcZEIIgI7f6D/Oc+wtxlA9NAiqhyhs9LzrM294i1h6aefFuKaNqwdKwAXc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573732104; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=/NvIh4aj3CW2ODrB+wzDH9Zp0IA4WMqWSA+Y1rnjxc4=; b=D7gT0IL7WzaFMOM26DxuMMuMOisKr411wFjK1XrHS5EVw/nC2A/ck/oHqyWiOZ/gKLX9i0fzhs6L+h19gt1uf7nNXyDqvDsJtNTwTa+fPqf51WYf+HvN4YUVRvwf4FxXotdy74ATAAi+XtqTKYOMiZO8R44czzwqW4LWfraGbDY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50665+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 157373210430427.004933149717658; Thu, 14 Nov 2019 03:48:24 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ICTVYY1788612xbC7T5xM3xY; Thu, 14 Nov 2019 03:48:23 -0800 X-Received: from mga12.intel.com (mga12.intel.com []) by mx.groups.io with SMTP id smtpd.web11.2840.1573732101728913286 for ; Thu, 14 Nov 2019 03:48:22 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 03:47:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,304,1569308400"; d="scan'208";a="203041292" X-Received: from shenglei-mobl.ccr.corp.intel.com ([10.67.162.167]) by fmsmga008.fm.intel.com with ESMTP; 14 Nov 2019 03:47:02 -0800 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Shenglei Zhang , Jiaxin Wu , Siyuan Fu , Maciej Rabeda Subject: [edk2-devel] [PATCH 2/3] NetworkPkg/NetworkPkg.uni: Add missing strings for PCD Date: Thu, 14 Nov 2019 17:16:43 +0530 Message-Id: <20191114114644.5504-5-shenglei.zhang@intel.com> In-Reply-To: <20191114114644.5504-1-shenglei.zhang@intel.com> References: <20191114114644.5504-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: MOjiZwrh8K8lfoGVfZiAMTg4x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1573732103; bh=YZiuXGbmEaO4+KCLYc6/mpbgN1rjIfft9P4xZKmpJUA=; h=Cc:Date:From:Reply-To:Subject:To; b=uhoN1J5lWyYQd6PpD+6Xm13gtv5Q4yD56BTTab+1mA37namXhfBm+0qzP9eAzDTaV4m GZfVtSNQFqgO+aqIQ7fkYYrkpjXctv1wMI3xzbknXf50cc+WKcSf1CwY10VJAFaX9e8xw 6fVujMVsBO2myDQCMc6Ehj60fhx3kZc4+8c= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Shenglei Zhang Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Signed-off-by: Shenglei Zhang Reviewed-by: Jiaxin Wu --- NetworkPkg/NetworkPkg.uni | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NetworkPkg/NetworkPkg.uni b/NetworkPkg/NetworkPkg.uni index 19e57a4a60de..328d8cb54a6e 100644 --- a/NetworkPkg/NetworkPkg.uni +++ b/NetworkPkg/NetworkPkg.uni @@ -61,6 +61,13 @@ = "TRUE - Certificate Authentication feature is enabled.
= \n" = "FALSE - Does not support Certificate Authentication.
" =20 +#string STR_gEfiNetworkPkgTokenSpaceGuid_PcdSnpCreateExitBootServicesEvent= _PROMPT #language en-US "Indicates whether SnpDxe creates event for ExitBo= otServices() call." + +#string STR_gEfiNetworkPkgTokenSpaceGuid_PcdSnpCreateExitBootServicesEvent= _HELP #language en-US "Indicates whether SnpDxe driver will create an even= t that will be notified

\n" + = "upon gBS->ExitBootServices() call.
\n" + = "TRUE - Event being triggered upon ExitBootServices = call will be created
\n" + = "FALSE - Event being triggered upon ExitBootServices= call will NOT be created
" + #string STR_gEfiNetworkPkgTokenSpaceGuid_PcdDhcp6UidType_PROMPT #language= en-US "Type Value of Dhcp6 Unique Identifier (DUID)." =20 #string STR_gEfiNetworkPkgTokenSpaceGuid_PcdDhcp6UidType_HELP #language e= n-US "IPv6 DHCP Unique Identifier (DUID) Type configuration (From RFCs 3315= and 6355).\n" --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50665): https://edk2.groups.io/g/devel/message/50665 Mute This Topic: https://groups.io/mt/57476157/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Apr 28 20:42:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+50664+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50664+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1573732104; cv=none; d=zoho.com; s=zohoarc; b=h8cBezio3/kUIIPe4UAgUK7bJBwcpZMQRedfQyPgbOHQv2uN10zciypJBQnRfc4YuzlfrIpwL/NrBepecHxS+oW6tDoSI0dRFxX08dB7Uv0kGcHES+gcllF/IF1ecsC62SLJXWeO2TlFhNgyu59ZU0eqhpgP2+XLWh0YaTtLhk4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573732104; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=c78tbO+/v/rE/E3N7fqMG3aSDO9Fd4i82BTQLhtq1E0=; b=KZZjRUznZmr/7FDhjN95Y9vrZdt3apHPuxHnzQ+3SBLwHLwa2zhbUadGRTRyA0Xthglo7DCr6RoQ3xeJNPYs6QGhXAxyFEhip9VBFeHSXeZbB1TpJLz24m0B8C6HnRVAf+b4OvH100VOSB6w6sxZtPf/PzDbjubizP0AwcwfN+Y= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50664+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1573732104417559.4711593536516; Thu, 14 Nov 2019 03:48:24 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id hn15YY1788612x7u7wcYEPHt; Thu, 14 Nov 2019 03:48:23 -0800 X-Received: from mga12.intel.com (mga12.intel.com []) by mx.groups.io with SMTP id smtpd.web09.2856.1573732102265149459 for ; Thu, 14 Nov 2019 03:48:22 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 03:47:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,304,1569308400"; d="scan'208";a="203041299" X-Received: from shenglei-mobl.ccr.corp.intel.com ([10.67.162.167]) by fmsmga008.fm.intel.com with ESMTP; 14 Nov 2019 03:47:04 -0800 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Shenglei Zhang , Eric Dong , Ray Ni , Laszlo Ersek Subject: [edk2-devel] [PATCH 3/3] UefiCpuPkg/UefiCpuPkg.uni: Add missing strings for PCD Date: Thu, 14 Nov 2019 17:16:44 +0530 Message-Id: <20191114114644.5504-6-shenglei.zhang@intel.com> In-Reply-To: <20191114114644.5504-1-shenglei.zhang@intel.com> References: <20191114114644.5504-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: NcZNOYZpSxx9lekHVlESHW5px1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1573732103; bh=CkFX8iM0aMKfDhJv13/eVri/3RBvJPVLXrZ8wr7YkpY=; h=Cc:Date:From:Reply-To:Subject:To; b=WCWNgmkTGcjoU78QbkWvpWS7Op8hglos+5AwPaKJtUNDM5QzJVKN7rS2K8G5rmuxYVa zVc5VWpPnXdkg2Y1UIV6f8WcMUh/zlvwJWJreKOsWRIq0wmNSsBKdcR9M3mMqOgkmpNdq Aim7YCXI8SLRliup+b915u2LcF0sZxy8rZk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Shenglei Zhang Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Signed-off-by: Shenglei Zhang Reviewed-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.uni | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.uni b/UefiCpuPkg/UefiCpuPkg.uni index a7e279c5cb14..bfd696f48c35 100644 --- a/UefiCpuPkg/UefiCpuPkg.uni +++ b/UefiCpuPkg/UefiCpuPkg.uni @@ -195,6 +195,22 @@ =20 #string STR_gUefiCpuPkgTokenSpaceGuid_PcdIsPowerOnReset_HELP #language en= -US "Indicates if the current boot is a power-on reset." =20 +#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuSmmRestrictedMemoryAccess_PROM= PT #language en-US "Access to non-SMRAM memory is restricted to reserved, = runtime and ACPI NVS type after SmmReadyToLock." + +#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuSmmRestrictedMemoryAccess_HELP= #language en-US "Indicate access to non-SMRAM memory is restricted to res= erved, runtime and ACPI NVS type after SmmReadyToLock.

\n" + = "MMIO access is always allowed regardless of the value of= this PCD.
\n" + = "Loose of such restriction is only required by RAS compon= ents in X64 platforms.
\n" + = "The PCD value is considered as constantly TRUE in IA32 p= latforms.
\n" + = "When the PCD value is TRUE, page table is initialized to= cover all memory spaces
\n" + = "and the memory occupied by page table is protected by pa= ge table itself as read-only.
\n" + = "In X64 build, it cannot be enabled at the same time with= SMM profile feature (PcdCpuSmmProfileEnable).
\n" + = "In X64 build, it could not be enabled also at the same t= ime with heap guard feature for SMM
\n" + = "(PcdHeapGuardPropertyMask in MdeModulePkg).
\n" + = "In IA32 build, page table memory is not marked as read-o= nly when either SMM profile feature (PcdCpuSmmProfileEnable)
\n" + = "or heap guard feature for SMM (PcdHeapGuardPropertyMask = in MdeModulePkg) is enabled.
\n" + = "TRUE - Access to non-SMRAM memory is restricted to rese= rved, runtime and ACPI NVS type after SmmReadyToLock.
\n" + = "FALSE - Access to any type of non-SMRAM memory after Smm= ReadyToLock is allowed.
" + #string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuFeaturesCapability_PROMPT #la= nguage en-US "Processor feature capabilities." =20 #string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuFeaturesCapability_HELP #lang= uage en-US "Indicates processor feature capabilities, each bit correspondin= g to a specific feature." --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50664): https://edk2.groups.io/g/devel/message/50664 Mute This Topic: https://groups.io/mt/57476155/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Apr 28 20:42:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+50662+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50662+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1573732103; cv=none; d=zoho.com; s=zohoarc; b=SXxLpQ609qEoYvRfQjdbuiRkFTMIhPpWDONqoA0FgKmWyzMlkhIlgP5VarLpPfcWS+BZmyfapWjfIHxD+00hWmDVqetgj00si6kvIArNe7k7F1cIRbvs4YpMMnRS9Q89ua4CVKAkIfZ3t3HMjQgWd1+a8EWe0noVqIpu/m1vIV8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573732103; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=VCC+rKQWcGi5NgjyJ/U2MOCFoAv1UAUL6okaEdrw5Wo=; b=DP6yBjG8TjL9EYEggCY/DXGryVDLxWO1Vi+aiDCC1W7fSHS6XjqZ642v9Fax2tTX/psVP9wE9VAZV/TC0qzrNdiw7sQ5oEx2GvRwwK0XzzLFxmUpujSnAm2bTgFdKdb8ZIQSylatFUleKORoTgeFJsFSQRDQTG7/iQppP+98wGM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50662+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 157373210347583.5674419629047; Thu, 14 Nov 2019 03:48:23 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id LSStYY1788612xHhrGthWTLe; Thu, 14 Nov 2019 03:48:23 -0800 X-Received: from mga12.intel.com (mga12.intel.com []) by mx.groups.io with SMTP id smtpd.web09.2856.1573732102265149459 for ; Thu, 14 Nov 2019 03:48:22 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 03:46:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,304,1569308400"; d="scan'208";a="203041258" X-Received: from shenglei-mobl.ccr.corp.intel.com ([10.67.162.167]) by fmsmga008.fm.intel.com with ESMTP; 14 Nov 2019 03:46:57 -0800 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Shenglei Zhang , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH] MdePkg: Update the comments of IsLanguageSupported Date: Thu, 14 Nov 2019 17:16:41 +0530 Message-Id: <20191114114644.5504-3-shenglei.zhang@intel.com> In-Reply-To: <20191114114644.5504-1-shenglei.zhang@intel.com> References: <20191114114644.5504-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: hzyf0N2ubdVEyPZLmqdDpUUtx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1573732103; bh=pvjyFOpoxjPmBT+3jJfLJTcr+2JV4lYyTmY5riCjb00=; h=Cc:Date:From:Reply-To:Subject:To; b=K0hMg8saLnwoP+mRU/uze8ZvzUFTDEeXVjmNq3fh/pRi5nioDJvOXTFm8jGRpvM1Drw CbUxpWUSbgTHqPVsTMhfFQNCHvmU5fFwbqIjgDEa1T/D0Du3+4ZO2OUtL1IjiMj+Y7hSD iRU709Bfp09kOzz1Ds4954N5vsZUPtDa3Po= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Shenglei Zhang Keep the comment style of IsLanguageSupported align with other functions. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- MdePkg/Library/UefiLib/UefiLib.c | 18 +++++++++--------- MdePkg/Include/Library/UefiLib.h | 19 ++++++++++--------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/Uefi= Lib.c index cc03be84c2d8..07c45d1e91ff 100644 --- a/MdePkg/Library/UefiLib/UefiLib.c +++ b/MdePkg/Library/UefiLib/UefiLib.c @@ -641,15 +641,15 @@ EfiTestChildHandle ( } =20 /** - * This function checks the supported languages list for a target language, - * This only supports RFC 4646 Languages. - * - * @param SupportedLanguages The supported languages - * @param TargetLanguage The target language - * - * @return Returns EFI_SUCCESS if the language is supported, - * EFI_UNSUPPORTED otherwise - */ + This function checks the supported languages list for a target language, + This only supports RFC 4646 Languages. + + @param SupportedLanguages The supported languages + @param TargetLanguage The target language + + @retval Returns EFI_SUCCESS if the language is supported, + EFI_UNSUPPORTED otherwise +**/ EFI_STATUS EFIAPI IsLanguageSupported ( diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/Uefi= Lib.h index 67c6f96747ca..0abb40d6ecbd 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -462,15 +462,16 @@ EfiTestChildHandle ( ); =20 /** - * This function checks the supported languages list for a target language, - * This only supports RFC 4646 Languages. - * - * @param SupportedLanguages The supported languages - * @param TargetLanguage The target language - * - * @return Returns EFI_SUCCESS if the language is supported, - * EFI_UNSUPPORTED otherwise - */ + This function checks the supported languages list for a target language, + This only supports RFC 4646 Languages. + + @param SupportedLanguages The supported languages + @param TargetLanguage The target language + + @retval Returns EFI_SUCCESS if the language is supported, + EFI_UNSUPPORTED otherwise + +**/ EFI_STATUS EFIAPI IsLanguageSupported ( --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50662): https://edk2.groups.io/g/devel/message/50662 Mute This Topic: https://groups.io/mt/57476152/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Apr 28 20:42:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+50661+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50661+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1573732103; cv=none; d=zoho.com; s=zohoarc; b=YjUgmJIRLVn1U8As0zq4BH79hcngF5ky0d3gdA6KNY3aAwB1gUAGzFOUKphLIa0qN44c/DlY1NGUCEgdx+nz/gFD0HjQcX3EnDENVdMDtqIbYEixNJ3fpbXZ0ls4A83nennFBFVM5y5NkyeGBM4fQ3YnPI0I1NUEHIgH+9ITyf8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573732103; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=A+AfFwtnrhKw5goXsTmFyPgq8MO/1S/7mbTHgWP0/m4=; b=VwkkHUX9oNuc/BSRtgc6qfHUMThmIGXPJavlQwK780xGH+fCed9sDJts8UrOeT+mx0FOGtaueVU++5hq6QDli7UWgcqcYZuYceiL2grBYC/BGF/wbsGSJcmLhzloGLkO3OIvcKAkeaKTeJ+P3lybpFooTk3FN7T6LuXeo3BIJ/Y= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50661+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1573732103169426.3695114025953; Thu, 14 Nov 2019 03:48:23 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id zZ45YY1788612xZXH64yrJdR; Thu, 14 Nov 2019 03:48:22 -0800 X-Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web09.2856.1573732102265149459 for ; Thu, 14 Nov 2019 03:48:22 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 03:47:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,304,1569308400"; d="scan'208";a="203041268" X-Received: from shenglei-mobl.ccr.corp.intel.com ([10.67.162.167]) by fmsmga008.fm.intel.com with ESMTP; 14 Nov 2019 03:46:59 -0800 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Shenglei Zhang , Eric Dong , Ray Ni , Laszlo Ersek Subject: [edk2-devel] [PATCH] UefiCpuPkg: Update the coding styles Date: Thu, 14 Nov 2019 17:16:42 +0530 Message-Id: <20191114114644.5504-4-shenglei.zhang@intel.com> In-Reply-To: <20191114114644.5504-1-shenglei.zhang@intel.com> References: <20191114114644.5504-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: BhFQaMILfqxgQ8i5qvhe4clGx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1573732102; bh=Va3NclI5cYluQNidOOiN/XAZVJSoNKtqCW22cRrMKDw=; h=Cc:Date:From:Reply-To:Subject:To; b=enX6h92z83WJqJL3oyvynkoc5R5IqgL7Wf0fnCfwY+bj9ZaVfEbnVcZ4+KCRaqVXtzV gKGf1iGXktQp69Jk+Bs1eT+hzsALqNG/S5A4n6pDQdRMufSmZt0LGJh2YgFxKYTshuy7A xvXw37kxfULLBsuJTpshezbQM8ZgBhwykXc= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Shenglei Zhang In MpLib.c, remove the white space on a new line. In PageTbl.c and PiSmmCpuDxeSmm.h, update the comment style. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Signed-off-by: Shenglei Zhang Reviewed-by: Eric Dong Reviewed-by: Laszlo Ersek --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 2 +- UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | 2 +- UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c | 2 +- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpIn= itLib/MpLib.c index 49be5d5385d9..d32adf0780b7 100644 --- a/UefiCpuPkg/Library/MpInitLib/MpLib.c +++ b/UefiCpuPkg/Library/MpInitLib/MpLib.c @@ -475,7 +475,7 @@ CollectProcessorCount ( CpuPause (); } =20 - =20 + // // Enable x2APIC mode if // 1. Number of CPU is greater than 255; or diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c b/UefiCpuPkg/PiSmmCpu= DxeSmm/Ia32/PageTbl.c index f891a811126f..2483f2ea849d 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c @@ -342,7 +342,7 @@ RestoreCr2 ( =20 @retval TRUE Access to non-SMRAM is restricted. @retval FALSE Access to non-SMRAM is not restricted. -*/ +**/ BOOLEAN IsRestrictedMemoryAccess ( VOID diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c b/UefiCpuPkg/PiSmmCpuD= xeSmm/X64/PageTbl.c index e5c4788c13d7..810985df20ae 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c @@ -1275,7 +1275,7 @@ RestoreCr2 ( =20 @retval TRUE Access to non-SMRAM is restricted. @retval FALSE Access to non-SMRAM is not restricted. -*/ +**/ BOOLEAN IsRestrictedMemoryAccess ( VOID diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h b/UefiCpuPkg/PiSmmC= puDxeSmm/PiSmmCpuDxeSmm.h index daf977f654b4..7e7c73f27f76 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h @@ -1455,7 +1455,7 @@ InitializeDataForMmMp ( =20 @retval TRUE Access to non-SMRAM is restricted. @retval FALSE Access to non-SMRAM is not restricted. -*/ +**/ BOOLEAN IsRestrictedMemoryAccess ( VOID --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50661): https://edk2.groups.io/g/devel/message/50661 Mute This Topic: https://groups.io/mt/57476145/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-