dd56374250
UefiCpuPkg/CpuExceptionHandlerLib: Trim white space at end of line
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
2017-04-07 10:06:37 +08:00
1b2f7b3e49
UefiCpuPkg/CpuExceptionHandlerLib: Add DumpCpuContext() implementation
...
Export DumpCpuCotext() to display CPU Context. We will invoke
PeCoffGetEntrypointLib's PeCoffSerachImageBase() to get PE/COFF image base.
Display exception data bit value for page fault exception.
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Michael Kinney <michael.d.kinney@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
2017-04-07 09:43:44 +08:00
d91225cfad
UefiCpuPkg/ExceptionLib: Move global variable location
...
Move some global variables location from PeiDxeSmmCpuException.c to
DxeCpuException.c and SmmCpuException.c. And remove some un-used global
vairables.
Cc: Michael Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2016-06-01 15:31:58 +08:00
44ecbc28b6
UefiCpuPkg/ExceptionLib: Add CommonExceptionHandlerWorker()
...
Add internal worker function RegisterCpuInterruptHandlerWorker().
Cc: Michael Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2016-06-01 15:31:53 +08:00
670f13af60
UefiCpuPkg/ExceptionLib: Update RegisterCpuInterruptHandlerWorker()
...
Add parameter CpuExceptionData for RegisterCpuInterruptHandlerWorker().
Cc: Michael Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2016-06-01 15:31:48 +08:00
ab95e54dc4
UefiCpuPkg/ExceptionLib: Update InitializeCpuExceptionHandlersWorker
...
Add parameter CpuExceptionData for InitializeCpuExceptionHandlersWorker().
Cc: Michael Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2016-06-01 15:31:40 +08:00
2c5873fede
UefiCpuPkg/ExceptionLib: Add EXCEPTION_HANDLER_DATA definition
...
Cc: Michael Kinney <michael.d.kinney@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2016-06-01 15:31:36 +08:00
3f25e6eab9
Fix comments format issue.
...
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14934 6f19259b-4bc3-4df7-8a09-765794883524
2013-12-06 01:13:11 +00:00
e41aad1521
1. Separated DxeSmmCpuExceptionHandlerLib.inf into 2 instance DxeCpuExceptionHandlerLib.inf and SmmCpuExceptionHandlerLib.inf.
...
2. Updated CPU Exception Handler Library instance according to the new CPU Exception Handler Library class definitions.
3. Updated CPU Exception Handler Library instance to handle the vector attributes defined in PI 1.2.1.
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Hot Tian <hot.tian@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14885 6f19259b-4bc3-4df7-8a09-765794883524
2013-11-22 06:24:41 +00:00