diff options
author | Vincentius Robby <acolyte@umich.edu> | 2007-08-04 14:25:35 -0400 |
---|---|---|
committer | Vincentius Robby <acolyte@umich.edu> | 2007-08-04 14:25:35 -0400 |
commit | 2898d768271a4a32b16a0ee01f884544bda490bd (patch) | |
tree | 12207c7756a5bae2dc4f28b2aad3f8b7c2ab30f4 /src/arch/alpha/tlb.hh | |
parent | acac5580f211809927f58d99f6dfd034a8dacd30 (diff) | |
download | gem5-2898d768271a4a32b16a0ee01f884544bda490bd.tar.xz |
alpha: Implement a cache for recently used page table entries
--HG--
extra : convert_revision : 1bb80d71fa91e500a68390e5dc17464ce7136fba
Diffstat (limited to 'src/arch/alpha/tlb.hh')
-rw-r--r-- | src/arch/alpha/tlb.hh | 4 |
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 §ion); + + // Most recently used page table entries + PTE *PTECache[2]; + inline void flushCache() { memset(PTECache, 0, 2 * sizeof(PTE*)); } }; class ITB : public TLB |