* [Qemu-devel] [4897] Update TLB miss addresses
@ 2008-07-19 10:04 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-07-19 10:04 UTC (permalink / raw)
To: qemu-devel
Revision: 4897
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4897
Author: blueswir1
Date: 2008-07-19 10:04:48 +0000 (Sat, 19 Jul 2008)
Log Message:
-----------
Update TLB miss addresses
Modified Paths:
--------------
trunk/target-sparc/helper.c
Modified: trunk/target-sparc/helper.c
===================================================================
--- trunk/target-sparc/helper.c 2008-07-19 09:56:24 UTC (rev 4896)
+++ trunk/target-sparc/helper.c 2008-07-19 10:04:48 UTC (rev 4897)
@@ -449,6 +449,7 @@
#ifdef DEBUG_MMU
printf("DMISS at 0x%" PRIx64 "\n", address);
#endif
+ env->dmmuregs[6] = (address & ~0x1fffULL) | (env->dmmuregs[1] & 0x1fff);
env->exception_index = TT_DMISS;
return 1;
}
@@ -507,6 +508,7 @@
#ifdef DEBUG_MMU
printf("TMISS at 0x%" PRIx64 "\n", address);
#endif
+ env->immuregs[6] = (address & ~0x1fffULL) | (env->dmmuregs[1] & 0x1fff);
env->exception_index = TT_TMISS;
return 1;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-19 10:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19 10:04 [Qemu-devel] [4897] Update TLB miss addresses Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).