aboutsummaryrefslogtreecommitdiff
path: root/hw/mcf_intc.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-03-14 01:38:23 +0100
committerAndreas Färber <afaerber@suse.de>2012-03-14 22:20:26 +0100
commit7927df3a8bd9e501bba91a5897cc0d5ddd470ccd (patch)
treec17347024ad8e94c261c93f633da9d8c0b5fcd38 /hw/mcf_intc.c
parent93a674024c282e215fce14c500f757dcf298816a (diff)
downloadqemu-7927df3a8bd9e501bba91a5897cc0d5ddd470ccd.zip
qemu-7927df3a8bd9e501bba91a5897cc0d5ddd470ccd.tar.gz
qemu-7927df3a8bd9e501bba91a5897cc0d5ddd470ccd.tar.bz2
m68k hw/: Don't use CPUState
Scripted conversion: for file in hw/an5206.c hw/dummy_m68k.c hw/mcf.h hw/mcf5206.c hw/mcf5208.c hw/mcf_intc.c; do sed -i "s/CPUState/CPUM68KState/g" $file done Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mcf_intc.c')
-rw-r--r--hw/mcf_intc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mcf_intc.c b/hw/mcf_intc.c
index 0b498dd..cc1a5f3 100644
--- a/hw/mcf_intc.c
+++ b/hw/mcf_intc.c
@@ -16,7 +16,7 @@ typedef struct {
uint64_t ifr;
uint64_t enabled;
uint8_t icr[64];
- CPUState *env;
+ CPUM68KState *env;
int active_vector;
} mcf_intc_state;
@@ -139,7 +139,7 @@ static const MemoryRegionOps mcf_intc_ops = {
qemu_irq *mcf_intc_init(MemoryRegion *sysmem,
target_phys_addr_t base,
- CPUState *env)
+ CPUM68KState *env)
{
mcf_intc_state *s;