diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-13 02:32:12 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-04-30 11:32:10 +0200 |
commit | 2b4b49065670b46b424a329da5d35838180fc209 (patch) | |
tree | 6fba37c2f5902515a200d0f460a69dd41731135d /target-sh4/translate.c | |
parent | c4bb0f99e797e5e5720c27544a2fc61a0b722023 (diff) | |
download | qemu-2b4b49065670b46b424a329da5d35838180fc209.zip qemu-2b4b49065670b46b424a329da5d35838180fc209.tar.gz qemu-2b4b49065670b46b424a329da5d35838180fc209.tar.bz2 |
target-sh4: Start QOM'ifying CPU init
Move code from cpu_sh4_init() into a QOM initfn.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-sh4/translate.c')
-rw-r--r-- | target-sh4/translate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c index d0568e2..d25f0c5 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -259,8 +259,6 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model) cpu = SUPERH_CPU(object_new(TYPE_SUPERH_CPU)); env = &cpu->env; env->features = def->features; - cpu_exec_init(env); - env->movcal_backup_tail = &(env->movcal_backup); sh4_translate_init(); env->cpu_model_str = cpu_model; cpu_reset(CPU(cpu)); |