From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 17C0A81806 for ; Wed, 28 Dec 2016 17:49:38 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP; 28 Dec 2016 17:49:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,424,1477983600"; d="scan'208";a="48133755" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 28 Dec 2016 17:49:37 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 28 Dec 2016 17:49:37 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 28 Dec 2016 17:49:37 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX103.ccr.corp.intel.com ([10.239.4.69]) with mapi id 14.03.0248.002; Thu, 29 Dec 2016 09:49:35 +0800 From: "Bi, Dandan" To: "Fan, Jeff" , "edk2-devel@lists.01.org" CC: "Tian, Feng" Thread-Topic: [PATCH] UefiCpuPkg/MpInitLib: Set initialize value of TimerPeriod Thread-Index: AQHSYXNGnO57ibHcYESvpFxEubof46EeKDig Date: Thu, 29 Dec 2016 01:49:34 +0000 Message-ID: <3C0D5C461C9E904E8F62152F6274C0BB3B888FAC@shsmsx102.ccr.corp.intel.com> References: <20161229013120.8644-1-jeff.fan@intel.com> In-Reply-To: <20161229013120.8644-1-jeff.fan@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] UefiCpuPkg/MpInitLib: Set initialize value of TimerPeriod 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: Thu, 29 Dec 2016 01:49:38 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Dandan Bi Thanks, Dandan -----Original Message----- From: Fan, Jeff=20 Sent: Thursday, December 29, 2016 9:31 AM To: edk2-devel@lists.01.org Cc: Tian, Feng ; Bi, Dandan Subject: [PATCH] UefiCpuPkg/MpInitLib: Set initialize value of TimerPeriod This fix is to pass VS2010/VS2012 build. Cc: Feng Tian Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan --- UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c b/UefiCpuPkg/Library/M= pInitLib/DxeMpLib.c index 5e50b4c..b393244 100644 --- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c @@ -651,6 +651,7 @@ MpInitLibSwitchBSP ( EFI_TIMER_ARCH_PROTOCOL *Timer; UINT64 TimerPeriod; =20 + TimerPeriod =3D 0; // // Locate Timer Arch Protocol // --=20 2.9.3.windows.2