Commit bf1752ef58cd9bd83d21d434f24197c6650bbd9e
1 parent
004efc96
target-ppc: Explain why the whole TLB is flushed on SR write
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6947 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
target-ppc/helper.c
... | ... | @@ -2009,6 +2009,8 @@ void ppc_store_sr (CPUPPCState *env, int srnum, target_ulong value) |
2009 | 2009 | #endif |
2010 | 2010 | if (env->sr[srnum] != value) { |
2011 | 2011 | env->sr[srnum] = value; |
2012 | +/* Invalidating 256MB of virtual memory in 4kB pages is way longer than | |
2013 | + flusing the whole TLB. */ | |
2012 | 2014 | #if !defined(FLUSH_ALL_TLBS) && 0 |
2013 | 2015 | { |
2014 | 2016 | target_ulong page, end; | ... | ... |