2 #include <asm/unistd.h>
3 #include <sys/syscall.h>
8 inline static void *ucontext_stack_pointer(void *uap)
10 ucontext_t *ucontext = (ucontext_t *)uap;
11 return (void *)ucontext->uc_mcontext.arm_sp;
14 #define UAP_PROGRAM_COUNTER(ucontext) \
15 (((ucontext_t *)(ucontext))->uc_mcontext.arm_pc)
17 void flush_icache(cell start, cell len);