qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [COMMIT a71836d] Fix rbase initialization


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT a71836d] Fix rbase initialization
Date: Sun, 19 Jul 2009 21:24:52 -0000

From: malc <address@hidden>

Signed-off-by: malc <address@hidden>

diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index 5c64a13..2409288 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -845,7 +845,7 @@ static void tcg_out_qemu_st (TCGContext *s, const TCGArg 
*args, int opc)
 #else  /* !CONFIG_SOFTMMU */
     r0 = addr_reg;
     r1 = 3;
-    rbase = GUEST_BASE ? rbase : 0;
+    rbase = GUEST_BASE ? TCG_GUEST_BASE_REG : 0;
 #endif
 
 #ifdef TARGET_WORDS_BIGENDIAN




reply via email to

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