diff options
-rw-r--r-- | target-sparc/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c index 09a2829a54..e249c64b0a 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -490,7 +490,7 @@ static int get_physical_address_code(CPUState *env, #ifdef DEBUG_MMU printf("TMISS at 0x%" PRIx64 "\n", address); #endif - env->immuregs[6] = (address & ~0x1fffULL) | (env->immuregs[1] & 0x1fff); + env->immuregs[6] = (address & ~0x1fffULL) | (env->dmmuregs[1] & 0x1fff); env->exception_index = TT_TMISS; return 1; } |