diff options
author | Andreas Färber <afaerber@suse.de> | 2013-01-20 01:30:32 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-02-16 14:50:58 +0100 |
commit | aa7408ec18c3517b2476a3671cd0b7f171241e2d (patch) | |
tree | 064adc63ba5210ce9f1687966cde6bdff64f6ad2 /target-sh4/cpu.h | |
parent | 2b7ac76729c8253d799a8d3bb9bae76cccb0714e (diff) |
target-sh4: Move TCG initialization to SuperHCPU initfn
Add a tcg_enabled() check to suppress it for qtest.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-sh4/cpu.h')
-rw-r--r-- | target-sh4/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h index 34e9b0acf7..49dcd9e7f3 100644 --- a/target-sh4/cpu.h +++ b/target-sh4/cpu.h @@ -191,6 +191,7 @@ typedef struct CPUSH4State { #include "cpu-qom.h" +void sh4_translate_init(void); SuperHCPU *cpu_sh4_init(const char *cpu_model); int cpu_sh4_exec(CPUSH4State * s); int cpu_sh4_signal_handler(int host_signum, void *pinfo, |