diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-16 21:57:02 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-16 21:57:02 +0000 |
commit | 9acbed06053fc344feb4cd81f2523923c27c9277 (patch) | |
tree | cbf182a14a60188d078e50ef6b33a6351eaa2320 /cpu-all.h | |
parent | cf98951b82adefb46318b3ed45c8456aac2b9575 (diff) | |
download | qemu-9acbed06053fc344feb4cd81f2523923c27c9277.tar.gz qemu-9acbed06053fc344feb4cd81f2523923c27c9277.tar.bz2 qemu-9acbed06053fc344feb4cd81f2523923c27c9277.zip |
added CPU_INTERRUPT_EXITTB and code_copy_enabled
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@617 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -464,9 +464,11 @@ void page_unprotect_range(uint8_t *data, unsigned long data_size); void cpu_abort(CPUState *env, const char *fmt, ...); extern CPUState *cpu_single_env; +extern int code_copy_enabled; -#define CPU_INTERRUPT_EXIT 0x01 /* wants exit from main loop */ -#define CPU_INTERRUPT_HARD 0x02 /* hardware interrupt pending */ +#define CPU_INTERRUPT_EXIT 0x01 /* wants exit from main loop */ +#define CPU_INTERRUPT_HARD 0x02 /* hardware interrupt pending */ +#define CPU_INTERRUPT_EXITTB 0x04 /* exit the current TB (use for x86 a20 case) */ void cpu_interrupt(CPUState *s, int mask); int cpu_breakpoint_insert(CPUState *env, uint32_t pc); |