projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f2cfc
)
sparc64 fix context value for ITLB fault
author
Igor Kovalenko
<igor.v.kovalenko@gmail.com>
Mon, 27 Apr 2009 20:10:08 +0000
(
00:10
+0400)
committer
Blue Swirl
<blauwirbel@gmail.com>
Tue, 28 Apr 2009 15:59:51 +0000
(15:59 +0000)
Revert previous change to get_physical_address_code:
I/D MMU context register is shared, so using dmmuregs[1] is correct
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
target-sparc/helper.c
patch
|
blob
|
history
diff --git
a/target-sparc/helper.c
b/target-sparc/helper.c
index 09a2829a54019b61cd00e78edcafb85ee7e08fe8..e249c64b0ac2bd8fc80a7002cc067cdb3c509b89 100644
(file)
--- 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->
i
mmuregs[1] & 0x1fff);
+ env->immuregs[6] = (address & ~0x1fffULL) | (env->
d
mmuregs[1] & 0x1fff);
env->exception_index = TT_TMISS;
return 1;
}