[6947] target-ppc: Explain why the whole TLB is flushed on SR write
Revision: 6947
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6947 Author: aurel32 Date: 2009-03-29 13:36:32 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
target-ppc: Explain why the whole TLB is flushed on SR write
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/target-ppc/helper.c
Modified: trunk/target-ppc/helper.c
===================================================================
target-ppc/helper.c +2 -0
@@ -2009,6 +2009,8 @@#endif if (env->sr[srnum] != value) { env->sr[srnum] = value; +/* Invalidating 256MB of virtual memory in 4kB pages is way longer than +flusing the whole TLB. */ #if !defined(FLUSH_ALL_TLBS ) &&0 {target_ulong page, end;