summaryrefslogtreecommitdiff
path: root/include/hw/sh4
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-04-09 16:51:24 +0200
committerAurelien Jarno <aurelien@aurel32.net>2013-04-13 13:51:45 +0200
commit2f493fee18a62104caddfabaa2712b076528cede (patch)
treec6a22f2c8f6b8dc6dfb457cb4ed1ad1a0ced02bb /include/hw/sh4
parent06f3ed26983a04df74729d748a7b05400d8f3386 (diff)
downloadqemu-2f493fee18a62104caddfabaa2712b076528cede.zip
sh7750: Change cpu field type to SuperHCPU
This brings us a step closer to QOM'ified SH7750 SoC and fixes b350ab75 (target-sh4: Move PVR/PRR/CVR into SuperHCPUClass) assuming SuperHCPU type for SUPERH_CPU_GET_CLASS(). Fix Coding Style issues while at it (indentation, braces). Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'include/hw/sh4')
-rw-r--r--include/hw/sh4/sh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/sh4/sh.h b/include/hw/sh4/sh.h
index 87c378f1eb..e61de9acc6 100644
--- a/include/hw/sh4/sh.h
+++ b/include/hw/sh4/sh.h
@@ -11,7 +11,7 @@
struct SH7750State;
struct MemoryRegion;
-struct SH7750State *sh7750_init(CPUSH4State * cpu, struct MemoryRegion *sysmem);
+struct SH7750State *sh7750_init(SuperHCPU *cpu, struct MemoryRegion *sysmem);
typedef struct {
/* The callback will be triggered if any of the designated lines change */