Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git] / vm / os-freebsd-x86.32.h
bloba04755e9dd318a404eb78b71ba7e6ce7e78a09d6
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_esp;
9 #define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)(ucontext))->uc_mcontext.mc_eip)