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

5 lines
128 B
C++
Raw Normal View History

2009-05-02 05:04:19 -04:00
#include <ucontext.h>
#define ucontext_stack_pointer(uap) \
((void *)(((ucontext_t *)(uap))->uc_mcontext.__gregs[_REG_URSP]))