add an unlimit word, refactor limited-streams, better docs
[factor/jcg.git] / vm / os-freebsd-x86.64.h
blob23e1ff57330c2732eb24b7281d7ecc915b44400c
1 #include <ucontext.h>
3 INLINE void *ucontext_stack_pointer(void *uap)
5 ucontext_t *ucontext = (ucontext_t *)uap;
6 return (void *)ucontext->uc_mcontext.mc_rsp;
9 #define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)(ucontext))->uc_mcontext.mc_rip)