diff options
author | Andreas Färber <afaerber@suse.de> | 2013-04-09 16:51:24 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-04-13 13:51:45 +0200 |
commit | 2f493fee18a62104caddfabaa2712b076528cede (patch) | |
tree | c6a22f2c8f6b8dc6dfb457cb4ed1ad1a0ced02bb /include/hw/sh4 | |
parent | 06f3ed26983a04df74729d748a7b05400d8f3386 (diff) | |
download | qemu-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.h | 2 |
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 */ |