summaryrefslogtreecommitdiff
path: root/hw/shix.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
commit0b7ade1d3e02aa7c5b2e8f4aa7de6d836759b39d (patch)
treef09340b7cfc400dd0baa32c85d4b2c32be1d463d /hw/shix.c
parent0e4213a7ef630e1de4c7fc0bd6ff9ecc6e07daea (diff)
downloadqemu-0b7ade1d3e02aa7c5b2e8f4aa7de6d836759b39d.tar.gz
sh4 hw/: Don't use CPUState
Scripted conversion: for file in hw/sh.h hw/shix.c hw/r2d.c; do sed -i "s/CPUState/CPUSH4State/g" $file done Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/shix.c')
-rw-r--r--hw/shix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/shix.c b/hw/shix.c
index e259c17c52..dd9ce174f9 100644
--- a/hw/shix.c
+++ b/hw/shix.c
@@ -43,7 +43,7 @@ static void shix_init(ram_addr_t ram_size,
const char *initrd_filename, const char *cpu_model)
{
int ret;
- CPUState *env;
+ CPUSH4State *env;
struct SH7750State *s;
MemoryRegion *sysmem = get_system_memory();
MemoryRegion *rom = g_new(MemoryRegion, 1);