Skip to content
Snippets Groups Projects
Commit 7f223053 authored by Avi Kivity's avatar Avi Kivity
Browse files

exceptions: use a separate exception stack

Exceptions are challenging on x64 because the ABI reserves 128 bytes below
%rsp for local variables; this will be overwritten by an exception or
interrupt.  We can't use -mno-red-zone because the payload may not have been
compiled for it.  Instead, use the interrupt stack stack table mechanism
and a separate stack for exceptions.  May fix random corruptions when timers
are used.
parent 4cda9ad1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment