aboutsummaryrefslogtreecommitdiff
path: root/hw/mips_r4k.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-30 20:46:02 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-30 20:46:02 +0000
commit51b2772f28f51b04e10e6e51f411f7246e1159d9 (patch)
tree46ac64740a6e04204a5e8285a715d5c564311b7f /hw/mips_r4k.c
parentfdf41d225e8c90f2822b4c706552e005837218a5 (diff)
downloadqemu-51b2772f28f51b04e10e6e51f411f7246e1159d9.zip
qemu-51b2772f28f51b04e10e6e51f411f7246e1159d9.tar.gz
qemu-51b2772f28f51b04e10e6e51f411f7246e1159d9.tar.bz2
Fix CPU (re-)selection on reset.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2900 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_r4k.c')
-rw-r--r--hw/mips_r4k.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index d600dbb..2208922 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -128,6 +128,7 @@ static void main_cpu_reset(void *opaque)
{
CPUState *env = opaque;
cpu_reset(env);
+ cpu_mips_register(env, NULL);
if (env->kernel_filename)
load_kernel (env, env->ram_size, env->kernel_filename,