factor/vm/os-netbsd-x86.64.h

5 lines
128 B
C
Raw Normal View History

2007-04-14 06:49:09 -04:00
#include <ucontext.h>
#define ucontext_stack_pointer(uap) \
((void *)(((ucontext_t *)(uap))->uc_mcontext.__gregs[_REG_URSP]))