From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 ED1031A1E3A for ; Mon, 10 Oct 2016 01:45:53 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP; 10 Oct 2016 01:45:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,471,1473145200"; d="scan'208";a="1042601083" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 10 Oct 2016 01:45:53 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 10 Oct 2016 01:45:53 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 10 Oct 2016 01:45:52 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.15]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.234]) with mapi id 14.03.0248.002; Mon, 10 Oct 2016 16:45:51 +0800 From: "Gao, Liming" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" CC: "Long, Qin" Thread-Topic: [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build failure Thread-Index: AQHSItKbixCb0AVUBU20zJwOvGX2VKChX6+w Date: Mon, 10 Oct 2016 08:45:50 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14B482BC6@shsmsx102.ccr.corp.intel.com> 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: 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:45:54 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----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