Clean up functors so that the generated code looks sane with 'see'
[factor/jcg.git] / vm / os-linux-arm.h
blob6e078b014d180015267c98ecf3231c2ddf301c2d
1 #include <ucontext.h>
2 #include <asm/unistd.h>
3 #include <sys/syscall.h>
5 INLINE void *ucontext_stack_pointer(void *uap)
7 ucontext_t *ucontext = (ucontext_t *)uap;
8 return (void *)ucontext->uc_mcontext.arm_sp;
11 #define UAP_PROGRAM_COUNTER(ucontext) \
12 (((ucontext_t *)(ucontext))->uc_mcontext.arm_pc)
14 void flush_icache(CELL start, CELL len);