summaryrefslogtreecommitdiff
path: root/src/arch/alpha/tlb.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-07 15:31:36 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-07 15:31:36 -0700
commit0fd999ca403f427ab5278bf69b005ed1ce851876 (patch)
tree71b8758cd0140466c1a52ff47d1d4ccc6b92e4b5 /src/arch/alpha/tlb.hh
parente85144bff21445ef19864c38be87055045d95c35 (diff)
parent1db9e1fb8f8921a599a0b2933d682a20f97abdb8 (diff)
downloadgem5-0fd999ca403f427ab5278bf69b005ed1ce851876.tar.xz
Merge with head.
--HG-- extra : convert_revision : ae7b3df573368c29a66d5b027ecad9ffb3a99104
Diffstat (limited to 'src/arch/alpha/tlb.hh')
-rw-r--r--src/arch/alpha/tlb.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/alpha/tlb.hh b/src/arch/alpha/tlb.hh
index ea5ba5539..20f0037fd 100644
--- a/src/arch/alpha/tlb.hh
+++ b/src/arch/alpha/tlb.hh
@@ -88,6 +88,10 @@ namespace AlphaISA
// Checkpointing
virtual void serialize(std::ostream &os);
virtual void unserialize(Checkpoint *cp, const std::string &section);
+
+ // Most recently used page table entries
+ PTE *PTECache[2];
+ inline void flushCache() { memset(PTECache, 0, 2 * sizeof(PTE*)); }
};
class ITB : public TLB