audk/UefiCpuPkg/Library/CpuExceptionHandlerLib
Jian J Wang eae7b476c2 UefiCpuPkg/CpuExceptionHandlerLib: always clear descriptor data in advance
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1237

Sometimes the memory will be contaminated by random data left in last
boot (warm reset). The code should not assume the allocated memory is
always filled with zero. This patch add code to clear data structure
used for stack switch to prevent such problem from happening.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2018-10-18 13:19:14 +08:00
..
Ia32 UefiCpuPkg/CpuExceptionHandlerLib: always clear descriptor data in advance 2018-10-18 13:19:14 +08:00
X64 UefiCpuPkg/CpuExceptionHandlerLib: always clear descriptor data in advance 2018-10-18 13:19:14 +08:00
CpuExceptionCommon.c UefiCpuPkg: Clean up source files 2018-06-28 11:19:53 +08:00
CpuExceptionCommon.h UefiCpuPkg/CpuExceptionHandlerLib: Avoid calling PEI services from AP 2018-09-03 14:02:26 +08:00
DxeCpuExceptionHandlerLib.inf UefiCpuPkg: Remove X86 ASM and S files 2018-06-07 15:27:36 +08:00
DxeCpuExceptionHandlerLib.uni UefiCpuPkg/CpuExceptionHandlerLib: Trim white space at end of line 2017-04-07 10:06:37 +08:00
DxeException.c UefiCpuPkg/CpuExceptionHandlerLib: fix incorrect init of exception stack 2018-02-28 15:30:26 +08:00
PeiCpuException.c UefiCpuPkg/PeiCpuException: Fix coding style issue 2018-09-10 10:22:27 +08:00
PeiCpuExceptionHandlerLib.inf UefiCpuPkg/CpuExceptionHandlerLib: support stack switch for PEI exceptions 2018-09-10 09:28:26 +08:00
PeiCpuExceptionHandlerLib.uni UefiCpuPkg/CpuExceptionHandlerLib: Trim white space at end of line 2017-04-07 10:06:37 +08:00
PeiDxeSmmCpuException.c CpuExceptionHandlerLib: Add comments to make code more readable 2018-09-03 14:02:24 +08:00
SecPeiCpuException.c UefiCpuPkg/CpuExceptionHandler: Init serial port before context dump 2018-01-26 18:56:26 +08:00
SecPeiCpuExceptionHandlerLib.inf UefiCpuPkg: Remove X86 ASM and S files 2018-06-07 15:27:36 +08:00
SecPeiCpuExceptionHandlerLib.uni UefiCpuPkg/CpuExceptionHandlerLib: Trim white space at end of line 2017-04-07 10:06:37 +08:00
SmmCpuExceptionHandlerLib.inf UefiCpuPkg: Remove X86 ASM and S files 2018-06-07 15:27:36 +08:00
SmmCpuExceptionHandlerLib.uni UefiCpuPkg/CpuExceptionHandlerLib: Trim white space at end of line 2017-04-07 10:06:37 +08:00
SmmException.c UefiCpuPkg/CpuExceptionHandlerLib: Add stack switch support 2017-12-08 14:38:48 +08:00