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 41AB080464 for ; Sun, 19 Mar 2017 18:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489974269; x=1521510269; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=kdIElH5Q7rtY2f4JIIBrcaLPXA0DU9kx7wQ0X5FABpw=; b=h/k07b1aNk6mYwthey86I4gzSIhBHKADcxemgEBj+rjGfRZlZ8Y4Bq8G 7wkQPhh22PZYVTc9aye9A3LJXe7cuA==; Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Mar 2017 18:44:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,191,1486454400"; d="scan'208";a="68882729" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 19 Mar 2017 18:44:28 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 19 Mar 2017 18:44:28 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 19 Mar 2017 18:44:28 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Mon, 20 Mar 2017 09:44:25 +0800 From: "Yao, Jiewen" To: "Bi, Dandan" , "edk2-devel@lists.01.org" Thread-Topic: [patch] MdeModulePkg/DxeCapsuleLibFmp: Fix build failure Thread-Index: AQHSoRsgAy4C3EEMZUGx9dBmta1g+KGc9L7w Date: Mon, 20 Mar 2017 01:44:22 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A906F64@shsmsx102.ccr.corp.intel.com> References: <1489974074-34284-1-git-send-email-dandan.bi@intel.com> In-Reply-To: <1489974074-34284-1-git-send-email-dandan.bi@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] MdeModulePkg/DxeCapsuleLibFmp: Fix build failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2017 01:44:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: jiewen.yao@intel.com > -----Original Message----- > From: Bi, Dandan > Sent: Monday, March 20, 2017 9:41 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen > Subject: [patch] MdeModulePkg/DxeCapsuleLibFmp: Fix build failure >=20 > Move the definition of variable "mEsrtTable" and > "mIsVirtualAddrConverted" to DxeCapsuleLib.c. >=20 > Cc: Jiewen Yao > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Dandan Bi > --- > MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 4 ++-- > MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleRuntime.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c > b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c > index 49f1103..2f39778 100644 > --- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c > +++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c > @@ -45,12 +45,12 @@ > #include > #include > #include > #include >=20 > -extern EFI_SYSTEM_RESOURCE_TABLE *mEsrtTable; > -extern BOOLEAN mIsVirtualAddrConverted; > +EFI_SYSTEM_RESOURCE_TABLE *mEsrtTable =3D NULL; > +BOOLEAN mIsVirtualAddrConverted =3D FALSE; >=20 > BOOLEAN mDxeCapsuleLibEndOfDxe =3D FALSE; > EFI_EVENT mDxeCapsuleLibEndOfDxeEvent =3D NULL; >=20 > /** > diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleRuntime.c > b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleRuntime.c > index 4725d53..c88a0fc 100644 > --- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleRuntime.c > +++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleRuntime.c > @@ -24,12 +24,12 @@ > #include > #include > #include > #include >=20 > -EFI_SYSTEM_RESOURCE_TABLE *mEsrtTable > =3D NULL; > -BOOLEAN mIsVirtualAddrConverted > =3D FALSE; > +extern EFI_SYSTEM_RESOURCE_TABLE *mEsrtTable; > +extern BOOLEAN mIsVirtualAddrConverted; > EFI_EVENT > mDxeRuntimeCapsuleLibVirtualAddressChangeEvent =3D NULL; >=20 > /** > Convert EsrtTable physical address to virtual address. >=20 > -- > 1.9.5.msysgit.1