mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Fix CPU (re-)selection on reset.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2900 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
fdf41d225e
commit
51b2772f28
5 changed files with 12 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue