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 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E8E811A1E3A for ; Mon, 10 Oct 2016 01:47:08 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 10 Oct 2016 01:47:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,471,1473145200"; d="scan'208";a="1051685470" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 10 Oct 2016 01:47:06 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 10 Oct 2016 01:47:05 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 10 Oct 2016 01:47:05 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.234]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.95]) with mapi id 14.03.0248.002; Mon, 10 Oct 2016 16:47:03 +0800 From: "Long, Qin" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" CC: "Gao, Liming" Thread-Topic: [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build failure Thread-Index: AQHSItKbG5hrOlwHwU27zQo8YgAKH6ChYAfQ Date: Mon, 10 Oct 2016 08:47:03 +0000 Message-ID: References: <1476089091-12112-1-git-send-email-chao.b.zhang@intel.com> In-Reply-To: <1476089091-12112-1-git-send-email-chao.b.zhang@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build failure 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: Mon, 10 Oct 2016 08:47:09 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Qin Long > -----Original Message----- > From: Zhang, Chao B > Sent: Monday, October 10, 2016 4:45 PM > To: edk2-devel@lists.01.org > Cc: Long, Qin; Gao, Liming; Zhang, Chao B > Subject: [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build > failure >=20 > GCC is case sensitive. Also add BaseMemoryLib in INF. >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Chao Zhang > --- > .../Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c | > 2 +- > .../Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf | > 3 ++- > 2 files changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git > a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese > nceLib.c > b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese > nceLib.c > index 8fcce74..c03b42b 100644 > --- > a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese > nceLib.c > +++ > b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese > nceLib.c > @@ -28,7 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY > KIND, EITHER EXPRESS OR IMPLIED. > #include >=20 > #include > -#include > +#include > #include > #include >=20 > diff --git > a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese > nceLib.inf > b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese > nceLib.inf > index a351dcb..5fa84b1 100644 > --- > a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese > nceLib.inf > +++ > b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese > nceLib.inf > @@ -45,7 +45,8 @@ > DebugLib > Tcg2PpVendorLib > SmmServicesTableLib > - > + BaseMemoryLib > + > [Guids] > ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence" > ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence" > -- > 1.9.5.msysgit.1