Commit 9acbed06053fc344feb4cd81f2523923c27c9277
1 parent
cf98951b
added CPU_INTERRUPT_EXITTB and code_copy_enabled
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@617 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
2 deletions
cpu-all.h
... | ... | @@ -464,9 +464,11 @@ void page_unprotect_range(uint8_t *data, unsigned long data_size); |
464 | 464 | |
465 | 465 | void cpu_abort(CPUState *env, const char *fmt, ...); |
466 | 466 | extern CPUState *cpu_single_env; |
467 | +extern int code_copy_enabled; | |
467 | 468 | |
468 | -#define CPU_INTERRUPT_EXIT 0x01 /* wants exit from main loop */ | |
469 | -#define CPU_INTERRUPT_HARD 0x02 /* hardware interrupt pending */ | |
469 | +#define CPU_INTERRUPT_EXIT 0x01 /* wants exit from main loop */ | |
470 | +#define CPU_INTERRUPT_HARD 0x02 /* hardware interrupt pending */ | |
471 | +#define CPU_INTERRUPT_EXITTB 0x04 /* exit the current TB (use for x86 a20 case) */ | |
470 | 472 | void cpu_interrupt(CPUState *s, int mask); |
471 | 473 | |
472 | 474 | int cpu_breakpoint_insert(CPUState *env, uint32_t pc); | ... | ... |