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 343D881EA8 for ; Wed, 30 Nov 2016 23:28:51 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP; 30 Nov 2016 23:28:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,723,1477983600"; d="scan'208";a="37741315" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 30 Nov 2016 23:28:50 -0800 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 30 Nov 2016 23:28:50 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 30 Nov 2016 23:28:50 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.239]) by shsmsx102.ccr.corp.intel.com ([169.254.2.239]) with mapi id 14.03.0248.002; Thu, 1 Dec 2016 15:28:47 +0800 From: "Tian, Feng" To: "Fan, Jeff" , "edk2-devel@lists.01.org" CC: "Tian, Feng" Thread-Topic: [edk2] [PATCH 0/3] mReservedVectors is not set Thread-Index: AQHSStqVIi+1QuSg/U+YDxvjdrDb+6Dys1gA Date: Thu, 1 Dec 2016 07:28:46 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE566E56BFC@SHSMSX101.ccr.corp.intel.com> References: <20161130072243.35268-1-jeff.fan@intel.com> In-Reply-To: <20161130072243.35268-1-jeff.fan@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 0/3] mReservedVectors is not set 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, 01 Dec 2016 07:28:51 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Feng Tian Thanks Feng -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Jeff= Fan Sent: Wednesday, November 30, 2016 3:23 PM To: edk2-devel@lists.01.org Subject: [edk2] [PATCH 0/3] mReservedVectors is not set mReservedVectors is used by ArchSaveExceptionContext() and ArchRestoreExceptionContext() to support HOOK_AFTER capability. But it is not set to correct pointer. This is one regression issue when we = add PeiExcpetionHandlerLib.inf. The fix is to add parameter ExceptionHandlerData for thoese 2 APIs and not = to use mReservedVectors. Jeff Fan (3): UefiCpuPkg: Add ExceptionHandlerData for ArchSaveExceptionContext() UefiCpuPkg: Add ExceptionHandlerData for ArchRestoreExceptionContext() UefiCpuPkg/CpuExceptionHandlerLib: remove un-used mReservedVectors .../CpuExceptionHandlerLib/CpuExceptionCommon.c | 5 +- .../CpuExceptionHandlerLib/CpuExceptionCommon.h | 23 ++++----- .../Ia32/ArchExceptionHandler.c | 47 +++++++++++-------= - .../CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 4 +- .../X64/ArchExceptionHandler.c | 54 +++++++++++++-----= ---- 5 files changed, 76 insertions(+), 57 deletions(-) -- 2.9.3.windows.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel