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