qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] malta: Load kernel only during initialization


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] malta: Load kernel only during initialization
Date: Fri, 13 Nov 2009 23:30:25 +0100

A 2nd load during reset is wrong and raises an assertion.

Signed-off-by: Stefan Weil <address@hidden>
---
 hw/mips_malta.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index 30fa6b8..094f597 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -758,7 +758,6 @@ static void main_cpu_reset(void *opaque)
        location does not change. */
     if (loaderparams.kernel_filename) {
         env->CP0_Status &= ~((1 << CP0St_BEV) | (1 << CP0St_ERL));
-        load_kernel (env);
     }
 }
 
-- 
1.5.6.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]