target-sh4: Let cpu_sh4_init() return SuperHCPU
authorAndreas Färber <afaerber@suse.de>
Fri, 4 May 2012 16:35:09 +0000 (18:35 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 4 Jun 2012 21:00:42 +0000 (23:00 +0200)
commit445e957194807aa9eb1d02c23430dbb0c6bac34e
tree22a68ba7fcfb505729989f08ced42d9e0d0bc8ff
parente5fe7a34d421eb97fc3b69f58d8e91f4679ffb41
target-sh4: Let cpu_sh4_init() return SuperHCPU

Turn cpu_init macro into a static inline function returning
CPUSH4State for backwards compatibility.

Signed-off-by: Andreas Färber <afaerber@suse.de>
target-sh4/cpu.h
target-sh4/translate.c