summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/ucontext_i.sym
blob: af3e0e544b87c8b34ebffdc321f118e1c653c475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <stddef.h>
#include <signal.h>
#include <sys/ucontext.h>

--

SIG_BLOCK
SIG_SETMASK

_NSIG8		(_NSIG / 8)

#define ucontext(member)	offsetof (ucontext_t, member)
#define mcontext(member)	ucontext (uc_mcontext.member)
#define mreg(reg)		mcontext (gregs[REG_##reg])

oRBP		mreg (RBP)
oRSP		mreg (RSP)
oRBX		mreg (RBX)
oR8		mreg (R8)
oR9		mreg (R9)
oR10		mreg (R10)
oR11		mreg (R11)
oR12		mreg (R12)
oR13		mreg (R13)
oR14		mreg (R14)
oR15		mreg (R15)
oRDI		mreg (RDI)
oRSI		mreg (RSI)
oRDX		mreg (RDX)
oRAX		mreg (RAX)
oRCX		mreg (RCX)
oRIP		mreg (RIP)
oEFL		mreg (EFL)
oFPREGS		mcontext (fpregs)
oSIGMASK	ucontext (uc_sigmask)
oFPREGSMEM	ucontext (__fpregs_mem)
oMXCSR		ucontext (__fpregs_mem.mxcsr)