sh4 doesn't set the cpu_model_str
PATCH 1/1 sh4 doesn't set the cpu_model_str
Hi all,
this patch fix the setting of cpu_model_str for the sh4 cpu. When the qemu do a cpu_copy can crash.
Regards Michael
Fix setting of cpu_model_str for sh4
translate.c +1 -0
@@ -243,6 +243,7 @@return NULL ;cpu_exec_init (env);sh4_translate_init (); + env->cpu_model_str = cpu_model;cpu_sh4_reset (env);cpu_sh4_register (env, def);tlb_flush (env,1 );
Aurelien Jarno
AppliedQuoted 4 lines · michael
Hi all,
this patch fix the setting of
cpu_model_strfor the sh4 cpu. When the qemu do acpu_copycan crash.
Thanks, applied.
Quoted 20 lines
Regards Michael
Fix setting of
cpu_model_strfor sh4Index:
target-sh4/translate.c
===================================================================translate.c +1
-0@@ -243,6 +243,7 @@return NULL ;cpu_exec_init (env);sh4_translate_init (); + env->cpu_model_str = cpu_model;cpu_sh4_reset (env);cpu_sh4_register (env, def);tlb_flush (env,1 );
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net