3247 |
} |
} |
3248 |
|
|
3249 |
for(;;) { |
for(;;) { |
|
|
|
3250 |
ret = cpu_x86_exec(env); |
ret = cpu_x86_exec(env); |
3251 |
if (reset_requested) |
if (reset_requested) |
3252 |
break; |
break; |
3647 |
} else { |
} else { |
3648 |
#ifdef CONFIG_SDL |
#ifdef CONFIG_SDL |
3649 |
sdl_display_init(ds); |
sdl_display_init(ds); |
3650 |
/* the pthreads modify sigaction. We don't want that. */ |
/* SDL use the pthreads and they modify sigaction. We don't |
3651 |
|
want that. */ |
3652 |
|
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3) |
3653 |
|
#define sigaction __libc_sigaction |
3654 |
|
#else |
3655 |
#define sigaction __sigaction |
#define sigaction __sigaction |
3656 |
|
#endif |
3657 |
#else |
#else |
3658 |
dumb_display_init(ds); |
dumb_display_init(ds); |
3659 |
#endif |
#endif |