about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym
blob: b3cfe9aa4c90861580ee88151d2ee4319a02c4a7 (plain) (blame)
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
#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)
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)
oFPREGS		mcontext (fpregs)
oSIGMASK	ucontext (uc_sigmask)
oFPREGSMEM	ucontext (__fpregs_mem)
oMXCSR		ucontext (__fpregs_mem.mxcsr)