From: "Tian, Feng" <feng.tian@intel.com>
To: "Fan, Jeff" <jeff.fan@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Tian, Feng" <feng.tian@intel.com>
Subject: Re: [PATCH 0/3] mReservedVectors is not set
Date: Thu, 1 Dec 2016 07:28:46 +0000 [thread overview]
Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE566E56BFC@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20161130072243.35268-1-jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@Intel.com>
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
prev parent reply other threads:[~2016-12-01 7:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 7:22 [PATCH 0/3] mReservedVectors is not set Jeff Fan
2016-11-30 7:22 ` [PATCH 1/3] UefiCpuPkg: Add ExceptionHandlerData for ArchSaveExceptionContext() Jeff Fan
2016-11-30 7:22 ` [PATCH 2/3] UefiCpuPkg: Add ExceptionHandlerData for ArchRestoreExceptionContext() Jeff Fan
2016-11-30 7:22 ` [PATCH 3/3] UefiCpuPkg/CpuExceptionHandlerLib: remove un-used mReservedVectors Jeff Fan
2016-12-01 7:28 ` Tian, Feng [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7F1BAD85ADEA444D97065A60D2E97EE566E56BFC@SHSMSX101.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox