mirror of https://gitee.com/openkylin/qemu.git
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
This commit is contained in:
parent
004efc967b
commit
bf1752ef58
|
@ -2009,6 +2009,8 @@ void ppc_store_sr (CPUPPCState *env, int srnum, target_ulong value)
|
|||
#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;
|
||||
|
|
Loading…
Reference in New Issue