diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/mips_malta.c | 1 | ||||
-rw-r--r-- | hw/mips_pica61.c | 1 | ||||
-rw-r--r-- | hw/mips_r4k.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c index 6339cc9419..f775c2f586 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -748,6 +748,7 @@ static void main_cpu_reset(void *opaque) { CPUState *env = opaque; cpu_reset(env); + cpu_mips_register(env, NULL); /* The bootload does not need to be rewritten as it is located in a read only location. The kernel location and the arguments table diff --git a/hw/mips_pica61.c b/hw/mips_pica61.c index 40ea8b5a6a..5bb3405356 100644 --- a/hw/mips_pica61.c +++ b/hw/mips_pica61.c @@ -51,6 +51,7 @@ static void main_cpu_reset(void *opaque) { CPUState *env = opaque; cpu_reset(env); + cpu_mips_register(env, NULL); } static diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index d600dbbb00..2208922a75 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, |