3 INLINE
void *ucontext_stack_pointer(void *uap
)
5 ucontext_t
*ucontext
= (ucontext_t
*)uap
;
6 return (void *)ucontext
->uc_mcontext
.gregs
[ESP
];
9 #define UAP_PROGRAM_COUNTER(ucontext) \
10 (((ucontext_t *)(ucontext))->uc_mcontext.gregs[EIP])