summaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-30 13:12:32 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-30 13:12:32 +0000
commit68a7931591fca65ac5dc2e1b23688e08d1c328a6 (patch)
treed7b9f908c23ad553d88eef3ab594ec9c700d31a1 /cpu-all.h
parentc9159e5321628a29bcc26216f0166e9cdd7e4b26 (diff)
downloadqemu-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu-all.h b/cpu-all.h
index cc0a4ea33f..5c414e805f 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -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);