Revision bfed01fc target-i386/helper.c

b/target-i386/helper.c
106 106
    spin_unlock(&global_cpu_lock);
107 107
}
108 108

  
109
void cpu_loop_exit(void)
110
{
111
    /* NOTE: the register at this point must be saved by hand because
112
       longjmp restore them */
113
    regs_to_env();
114
    longjmp(env->jmp_env, 1);
115
}
116

  
117 109
/* return non zero if error */
118 110
static inline int load_segment(uint32_t *e1_ptr, uint32_t *e2_ptr,
119 111
                               int selector)

Also available in: Unified diff