提交 7478757e 编写于 作者: A aurel32

sh4: doesn't set the cpu_model_str

Fix setting of cpu_model_str for sh4

(Michael Trimarchi)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5222 c046a42c-6fe2-441c-8c8c-71466251a162
上级 63242a00
...@@ -243,6 +243,7 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model) ...@@ -243,6 +243,7 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model)
return NULL; return NULL;
cpu_exec_init(env); cpu_exec_init(env);
sh4_translate_init(); sh4_translate_init();
env->cpu_model_str = cpu_model;
cpu_sh4_reset(env); cpu_sh4_reset(env);
cpu_sh4_register(env, def); cpu_sh4_register(env, def);
tlb_flush(env, 1); tlb_flush(env, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册