diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-05-02 22:52:32 +0300 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-05-02 22:52:32 +0300 |
commit | 7ab463cb524af324c4357ef4c148056c7e124f2c (patch) | |
tree | cbbf10673b92fd503a102fb04fee64c39784ee79 /target-sparc | |
parent | 41d728522b6f269b636fe5e2bc91b399a23e5a4c (diff) | |
download | qemu-7ab463cb524af324c4357ef4c148056c7e124f2c.tar.gz qemu-7ab463cb524af324c4357ef4c148056c7e124f2c.tar.bz2 qemu-7ab463cb524af324c4357ef4c148056c7e124f2c.zip |
Clarify: dmmuregs[1] is not a typo
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c index e249c64b0a..2ecafd1aff 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; |