summaryrefslogtreecommitdiff
path: root/target-m68k/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-18 14:20:52 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:50:59 +0100
commitcb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e (patch)
treebdc3a36985be3c3a98065c29b1d7250b14d458ff /target-m68k/cpu.h
parent9a6ee9fd35483446fe14e083fa335358c86ba595 (diff)
downloadqemu-cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e.tar.gz
qemu-cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e.tar.bz2
qemu-cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e.zip
target-m68k: Pass M68kCPU to m68k_set_irq_level()
Simplifies use of cpu_reset_interrupt() et al. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-m68k/cpu.h')
-rw-r--r--target-m68k/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
index ed9be802d4..2672eae7c8 100644
--- a/target-m68k/cpu.h
+++ b/target-m68k/cpu.h
@@ -169,7 +169,7 @@ enum {
#define MACSR_V 0x002
#define MACSR_EV 0x001
-void m68k_set_irq_level(CPUM68KState *env, int level, uint8_t vector);
+void m68k_set_irq_level(M68kCPU *cpu, int level, uint8_t vector);
void m68k_set_macsr(CPUM68KState *env, uint32_t val);
void m68k_switch_sp(CPUM68KState *env);