summaryrefslogtreecommitdiff
path: root/hw/dummy_m68k.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/dummy_m68k.c
parent93a674024c282e215fce14c500f757dcf298816a (diff)
downloadqemu-7927df3a8bd9e501bba91a5897cc0d5ddd470ccd.tar.gz
qemu-7927df3a8bd9e501bba91a5897cc0d5ddd470ccd.tar.bz2
qemu-7927df3a8bd9e501bba91a5897cc0d5ddd470ccd.zip
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/dummy_m68k.c')
-rw-r--r--hw/dummy_m68k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dummy_m68k.c b/hw/dummy_m68k.c
index e3c574008f..7cc7a99bfb 100644
--- a/hw/dummy_m68k.c
+++ b/hw/dummy_m68k.c
@@ -21,7 +21,7 @@ static void dummy_m68k_init(ram_addr_t ram_size,
const char *kernel_filename, const char *kernel_cmdline,
const char *initrd_filename, const char *cpu_model)
{
- CPUState *env;
+ CPUM68KState *env;
MemoryRegion *address_space_mem = get_system_memory();
MemoryRegion *ram = g_new(MemoryRegion, 1);
int kernel_size;