[Top][All Lists]

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

[Qemu-devel] [PATCH moxie] Fix bug in tlb_fill.

From: Anthony Green
Subject: [Qemu-devel] [PATCH moxie] Fix bug in tlb_fill.
Date: Mon, 13 May 2013 16:04:24 -0400

Fix a simple bug in tlb_fill for moxie.  The port was mostly working
before, which is why I only really noticed it recently.  Thanks to
@jcmvbkbc for tracking it down.

Signed-off-by: Anthony Green <address@hidden>
 target-moxie/helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-moxie/helper.c b/target-moxie/helper.c
index 6e0ac2a..6c36c49 100644
--- a/target-moxie/helper.c
+++ b/target-moxie/helper.c
@@ -55,8 +55,8 @@ void tlb_fill(CPUMoxieState *env, target_ulong addr, int 
is_write, int mmu_idx,
         if (retaddr) {
             cpu_restore_state(env, retaddr);
+       cpu_loop_exit(env);
-    cpu_loop_exit(env);
 void helper_raise_exception(CPUMoxieState *env, int ex)

reply via email to

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