src/iodaFEMU/linux-user/signal.c
/* Install trampoline to jump back from signal handler */
Install trampoline to jump back from signal handler
Install trampoline to jump back from signal handler
static inline int install_sigtramp(unsigned int *tramp,   unsigned int syscall)
{
    int err = 0;
    __put_user(0x24020000 + syscall, tramp + 0);
    __put_user(0x0000000c          , tramp + 1);
    return err;
}
static inline int install_sigtramp ( unsigned int * tramp , unsigned int syscall ) { int err = 0 ; __put_user ( 0x24020000 + syscall , tramp + 0 ) ; __put_user ( 0x0000000c , tramp + 1 ) ; return err ; }
Install trampoline to jump back from signal handler
Install trampoline to jump back from signal handler
/*
     * Set up the return code ...
     *
     *         li      v0, __NR__foo_sigreturn
     *         syscall
     */