]> git.proxmox.com Git - qemu.git/blobdiff - cpu-all.h
Watchpoint support (previous commit got eaten by Savannah server crash).
[qemu.git] / cpu-all.h
index 86acc36d6b927f177124bf2578b973ebae6fd794..9b617fcc7c5b188b3478eaa3cfb447095b7e1fdc 100644 (file)
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -775,10 +775,13 @@ extern int code_copy_enabled;
 #define CPU_INTERRUPT_FIQ    0x10 /* Fast interrupt pending.  */
 #define CPU_INTERRUPT_HALT   0x20 /* CPU halt wanted */
 #define CPU_INTERRUPT_SMI    0x40 /* (x86 only) SMI interrupt pending */
+#define CPU_INTERRUPT_DEBUG  0x80 /* Debug event occured.  */
 
 void cpu_interrupt(CPUState *s, int mask);
 void cpu_reset_interrupt(CPUState *env, int mask);
 
+int cpu_watchpoint_insert(CPUState *env, target_ulong addr);
+int cpu_watchpoint_remove(CPUState *env, target_ulong addr);
 int cpu_breakpoint_insert(CPUState *env, target_ulong pc);
 int cpu_breakpoint_remove(CPUState *env, target_ulong pc);
 void cpu_single_step(CPUState *env, int enabled);