diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-06-30 13:12:32 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-06-30 13:12:32 +0000 |
commit | 68a7931591fca65ac5dc2e1b23688e08d1c328a6 (patch) | |
tree | d7b9f908c23ad553d88eef3ab594ec9c700d31a1 /cpu-all.h | |
parent | c9159e5321628a29bcc26216f0166e9cdd7e4b26 (diff) | |
download | qemu-68a7931591fca65ac5dc2e1b23688e08d1c328a6.tar.gz qemu-68a7931591fca65ac5dc2e1b23688e08d1c328a6.tar.bz2 qemu-68a7931591fca65ac5dc2e1b23688e08d1c328a6.zip |
reduced irq latency
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@296 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -309,6 +309,10 @@ void page_unprotect_range(uint8_t *data, unsigned long data_size); void cpu_abort(CPUState *env, const char *fmt, ...); extern CPUState *cpu_single_env; +#define CPU_INTERRUPT_EXIT 0x01 /* wants exit from main loop */ +#define CPU_INTERRUPT_HARD 0x02 /* hardware interrupt pending */ +void cpu_interrupt(CPUX86State *s, int mask); + /* gdb stub API */ extern int gdbstub_fd; CPUState *cpu_gdbstub_get_env(void *opaque); |