1234567891011121314151617181920212223242526 |
- #define SIGCONTEXT struct sigcontext *
- #define SIGCONTEXT_EXTRA_ARGS
- #define GET_PC(ctx) ((void *) (ctx)->regs.ea)
- #define GET_FRAME(ctx) ((void *) (ctx)->regs.sp)
- #define GET_STACK(ctx) ((void *) (ctx)->regs.fp)
- #define CALL_SIGHANDLER(handler, signo, ctx) \
- (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx))
|