Clean up functors so that the generated code looks sane with 'see'
[factor/jcg.git] / vm / os-openbsd-x86.64.h
blob3386e80a4b3796e805e62c2622fceb3dde0b1d53
1 #include <amd64/signal.h>
3 INLINE void *openbsd_stack_pointer(void *uap)
5 struct sigcontext *sc = (struct sigcontext*) uap;
6 return (void *)sc->sc_rsp;
9 #define ucontext_stack_pointer openbsd_stack_pointer
10 #define UAP_PROGRAM_COUNTER(uap) (((struct sigcontext*)(uap))->sc_rip)