diff options
author | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2013-01-07 13:05:40 -0500 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2013-01-07 13:05:40 -0500 |
commit | 94561dd5268d139b721561166cbce94170701c2c (patch) | |
tree | 2e534ce3e0cdf0a9bbdec41978ef3bb775eb2929 /src/arch/sparc/tlb.cc | |
parent | d44f2f611ff51941a8702a33a0bc57d7f574e462 (diff) | |
download | gem5-94561dd5268d139b721561166cbce94170701c2c.tar.xz |
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.
Diffstat (limited to 'src/arch/sparc/tlb.cc')
-rw-r--r-- | src/arch/sparc/tlb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/tlb.cc b/src/arch/sparc/tlb.cc index 9faf297d6..5d6dfe2c3 100644 --- a/src/arch/sparc/tlb.cc +++ b/src/arch/sparc/tlb.cc @@ -323,7 +323,7 @@ TLB::demapAll(int partition_id) } void -TLB::invalidateAll() +TLB::flushAll() { cacheValid = false; lookupTable.clear(); |