make-image can now generate images with Unicode strings
[factor/jcg.git] / vm / os-solaris-x86.64.h
blob54d1866d5038a7abeaebea64597d6b78156a0c58
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.gregs[RSP];
9 #define UAP_PROGRAM_COUNTER(ucontext) \
10 (((ucontext_t *)(ucontext))->uc_mcontext.gregs[RIP])