aboutsummaryrefslogtreecommitdiff
path: root/target-unicore32/helper.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-01-31 19:37:33 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2013-01-31 19:37:33 -0600
commit8a55ebf01507ab73cc458cfcd5b9cb856aba0b9e (patch)
tree3911782dacfae1ce19cd8eaaedcf1629e17e6d51 /target-unicore32/helper.c
parent2854c549e84532f0b76b7884f1903da8a1bf4dbb (diff)
parent77868120cfe93ad7816dfac6546684e5a6c6e256 (diff)
Merge remote-tracking branch 'afaerber/qom-cpu' into staging
# By Andreas Färber # Via Andreas Färber * afaerber/qom-cpu: linux-user: bsd-user: Don't reset X86CPU twice target-i386: Pass X86CPU to cpu_x86_set_a20() target-unicore32: Rename CPU subtypes target-openrisc: Rename CPU subtypes target-openrisc: TYPE_OPENRISC_CPU should be abstract target-m68k: Rename CPU subtypes target-m68k: Mark as unmigratable target-s390x: Mark as unmigratable target-sh4: Mark as unmigratable target-xtensa: Mark as unmigratable target-microblaze: Mark as unmigratable target-unicore32: Mark as unmigratable ide/mmio: QOM'ify MMIO IDE for R2D
Diffstat (limited to 'target-unicore32/helper.c')
-rw-r--r--target-unicore32/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-unicore32/helper.c b/target-unicore32/helper.c
index 183b5b3577..3a92232de5 100644
--- a/target-unicore32/helper.c
+++ b/target-unicore32/helper.c
@@ -38,6 +38,7 @@ CPUUniCore32State *uc32_cpu_init(const char *cpu_model)
}
cpu = UNICORE32_CPU(object_new(object_class_get_name(oc)));
env = &cpu->env;
+ env->cpu_model_str = cpu_model;
if (inited) {
inited = 0;