projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d7285
)
Clarify: dmmuregs[1] is not a typo
author
Blue Swirl
<blauwirbel@gmail.com>
Sat, 2 May 2009 19:52:32 +0000
(22:52 +0300)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 2 May 2009 19:52:32 +0000
(22:52 +0300)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/helper.c
patch
|
blob
|
history
diff --git
a/target-sparc/helper.c
b/target-sparc/helper.c
index e249c64b0ac2bd8fc80a7002cc067cdb3c509b89..2ecafd1aff725c628ce6d9c1cbc9e5be8525d4cb 100644
(file)
--- 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;