123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef _SYS_UCONTEXT_H
- #define _SYS_UCONTEXT_H 1
- #include <features.h>
- #include <signal.h>
- #include <bits/sigcontext.h>
- typedef unsigned long int greg_t;
- #define NGREG 80
- #define NFPREG 32
- typedef struct gregset
- {
- greg_t g_regs[32];
- greg_t sr_regs[8];
- greg_t cr_regs[24];
- greg_t g_pad[16];
- } gregset_t;
- typedef struct fpregset
- {
- double fp_dregs[32];
- } fpregset_t;
- typedef struct sigcontext mcontext_t;
- typedef struct ucontext
- {
- unsigned long int uc_flags;
- struct ucontext *uc_link;
- stack_t uc_stack;
- mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
- } ucontext_t;
- #endif
|