From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 74BE18225B for ; Tue, 21 Feb 2017 17:57:44 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2017 17:57:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,191,1484035200"; d="scan'208";a="67531496" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 21 Feb 2017 17:57:44 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 21 Feb 2017 17:57:43 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 21 Feb 2017 17:57:43 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.59]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Wed, 22 Feb 2017 09:57:40 +0800 From: "Ni, Ruiyu" To: "Wu, Hao A" , "edk2-devel@lists.01.org" CC: "Wu, Hao A" , "Yao, Jiewen" Thread-Topic: [edk2] [PATCH 3/7] Nt32Pkg: Replace [Ascii|Unicode]ValueToString Thread-Index: AQHSjDa6owdk+ph6UUGIgzOpl4NLq6F0RVQg Date: Wed, 22 Feb 2017 01:57:38 +0000 Deferred-Delivery: Wed, 22 Feb 2017 01:57:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B8AA9BC@SHSMSX104.ccr.corp.intel.com> References: <1487676934-12984-1-git-send-email-hao.a.wu@intel.com> <1487676934-12984-4-git-send-email-hao.a.wu@intel.com> In-Reply-To: <1487676934-12984-4-git-send-email-hao.a.wu@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 3/7] Nt32Pkg: Replace [Ascii|Unicode]ValueToString X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 01:57:44 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ha= o > Wu > Sent: Tuesday, February 21, 2017 7:36 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Ni, Ruiyu ; Yao, > Jiewen > Subject: [edk2] [PATCH 3/7] Nt32Pkg: Replace [Ascii|Unicode]ValueToString >=20 > It is the follow up of commits 51f0ceb..9e32e97 to replace > AsciiValueToString/UnicodeValueToString with > AsciiValueToStringS/UnicodeValueToStringS. >=20 > Cc: Jiewen Yao > Cc: Ruiyu Ni > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Hao Wu > --- > Nt32Pkg/Library/PlatformBootManagerLib/MemoryTest.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/Nt32Pkg/Library/PlatformBootManagerLib/MemoryTest.c > b/Nt32Pkg/Library/PlatformBootManagerLib/MemoryTest.c > index 93ecc7d..53e9ff4 100644 > --- a/Nt32Pkg/Library/PlatformBootManagerLib/MemoryTest.c > +++ b/Nt32Pkg/Library/PlatformBootManagerLib/MemoryTest.c > @@ -1,7 +1,7 @@ > /** @file > Perform the platform memory test >=20 > -Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.
> +Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.
> This program and the accompanying materials are licensed and made avail= able > under the terms and conditions of the BSD License which accompanies this > distribution. The full text of the license may be found at @@ -155,7 +15= 5,7 @@ > PlatformBootManagerMemoryTest ( > TempData > ); > if (TestPercent !=3D PreviousValue) { > - UnicodeValueToString (StrPercent, 0, TestPercent, 0); > + UnicodeValueToStringS (StrPercent, sizeof (StrPercent), 0, > + TestPercent, 0); > TmpStr =3D HiiGetString (gStringPackHandle, STRING_TOKEN > (STR_MEMORY_TEST_PERCENT), NULL); > if (TmpStr !=3D NULL) { > // > @@ -223,7 +223,7 @@ PlatformBootManagerMemoryTest ( >=20 > Done: > if (!FeaturePcdGet(PcdBootlogoOnlyEnable)) { > - UnicodeValueToString (StrTotalMemory, COMMA_TYPE, TotalMemorySize, > 0); > + UnicodeValueToStringS (StrTotalMemory, StrTotalMemorySize, > + COMMA_TYPE, TotalMemorySize, 0); > if (StrTotalMemory[0] =3D=3D L',') { > StrTotalMemory++; > StrTotalMemorySize -=3D sizeof (CHAR16); > -- > 1.9.5.msysgit.0 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel