[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT cbbf106] Clarify: dmmuregs[1] is not a typo
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT cbbf106] Clarify: dmmuregs[1] is not a typo |
Date: |
Sat, 02 May 2009 19:54:21 -0000 |
From: Blue Swirl <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>
diff --git a/target-sparc/helper.c b/target-sparc/helper.c
index e249c64..2ecafd1 100644
--- a/target-sparc/helper.c
+++ b/target-sparc/helper.c
@@ -490,6 +490,7 @@ static int get_physical_address_code(CPUState *env,
#ifdef DEBUG_MMU
printf("TMISS at 0x%" PRIx64 "\n", address);
#endif
+ /* Context is stored in DMMU (dmmuregs[1]) also for IMMU */
env->immuregs[6] = (address & ~0x1fffULL) | (env->dmmuregs[1] & 0x1fff);
env->exception_index = TT_TMISS;
return 1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT cbbf106] Clarify: dmmuregs[1] is not a typo,
Anthony Liguori <=