arch: Add support for invalidating TLBs when draining
authorAndreas Sandberg <Andreas.Sandberg@arm.com>
Mon, 7 Jan 2013 18:05:40 +0000 (13:05 -0500)
committerAndreas Sandberg <Andreas.Sandberg@arm.com>
Mon, 7 Jan 2013 18:05:40 +0000 (13:05 -0500)
commit94561dd5268d139b721561166cbce94170701c2c
tree2e534ce3e0cdf0a9bbdec41978ef3bb775eb2929
parentd44f2f611ff51941a8702a33a0bc57d7f574e462
arch: Add support for invalidating TLBs when draining

This patch adds support for the memInvalidate() drain method.  TLB
flushing is requested by calling the virtual flushAll() method on the
TLB.

Note: This patch renames invalidateAll() to flushAll() on x86 and
SPARC to make the interface consistent across all supported
architectures.
src/arch/sparc/tlb.cc
src/arch/sparc/tlb.hh
src/arch/x86/isa.cc
src/arch/x86/tlb.cc
src/arch/x86/tlb.hh
src/arch/x86/utility.cc
src/sim/tlb.hh