Blame sysdeps/unix/sysv/linux/riscv/ucontext_i.sym
|
Packit |
6c4009 |
#include <inttypes.h>
|
|
Packit |
6c4009 |
#include <signal.h>
|
|
Packit |
6c4009 |
#include <stddef.h>
|
|
Packit |
6c4009 |
#include <sys/ucontext.h>
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
-- Constants used by the rt_sigprocmask call.
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
SIG_BLOCK
|
|
Packit |
6c4009 |
SIG_SETMASK
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
_NSIG8 (_NSIG / 8)
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
-- Offsets of the fields in the ucontext_t structure.
|
|
Packit |
6c4009 |
#define ucontext(member) offsetof (ucontext_t, member)
|
|
Packit |
6c4009 |
#define stack(member) ucontext (uc_stack.member)
|
|
Packit |
6c4009 |
#define mcontext(member) ucontext (uc_mcontext.member)
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
UCONTEXT_FLAGS ucontext (__uc_flags)
|
|
Packit |
6c4009 |
UCONTEXT_LINK ucontext (uc_link)
|
|
Packit |
6c4009 |
UCONTEXT_STACK ucontext (uc_stack)
|
|
Packit |
6c4009 |
UCONTEXT_MCONTEXT ucontext (uc_mcontext)
|
|
Packit |
6c4009 |
UCONTEXT_SIGMASK ucontext (uc_sigmask)
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
STACK_SP stack (ss_sp)
|
|
Packit |
6c4009 |
STACK_SIZE stack (ss_size)
|
|
Packit |
6c4009 |
STACK_FLAGS stack (ss_flags)
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
MCONTEXT_GREGS mcontext (__gregs)
|
|
Packit |
6c4009 |
MCONTEXT_FPREGS mcontext (__fpregs)
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
UCONTEXT_SIZE sizeof (ucontext_t)
|