x86: enable recoverable exceptions on 64-bit

These were previously assumed to always be fatal.
We can't have the faulting thread's XMM registers
clobbered, so put the SIMD/FPU state onto the stack
as well. This is fairly large (512 bytes) and the
execption stack is already uncomfortably small, so
increase to 2K.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-11-06 15:54:34 -08:00 committed by Anas Nashif
commit 10d033ebf0
3 changed files with 33 additions and 2 deletions

View file

@ -46,6 +46,7 @@ struct x86_esf {
unsigned long r12;
unsigned long r13;
unsigned long r14;
char fxsave[X86_FXSAVE_SIZE];
unsigned long r15;
unsigned long vector;
unsigned long code;