Skip to contentSkip to conversation

[5222] sh4: doesn't set the cpu_model_str

Qemu-devel Aurelien Jarno 1 participant 1 message Sep 15, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5222

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5222
Author:   aurel32
Date:     2008-09-15 07:34:45 +0000 (Mon, 15 Sep 2008)

Log Message:
-----------
sh4: doesn't set the cpu_model_str

Fix setting of cpu_model_str for sh4

(Michael Trimarchi)

Modified Paths:
--------------
trunk/target-sh4/translate.c

Modified: trunk/target-sh4/translate.c
===================================================================

target-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);