diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-11-12 14:39:07 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-11-12 14:39:07 -0800 |
commit | 49507982685b4e807e612ff176fb67901415a2ce (patch) | |
tree | 5f056c6d333f78cc8f0e071eddb238d15216e756 /src/arch/x86/tlb.hh | |
parent | f1f5dd79bf8c2cf2ef64cc1432a4a0601d475e72 (diff) | |
download | gem5-49507982685b4e807e612ff176fb67901415a2ce.tar.xz |
X86: Implement tlb invalidation and make it happen some of the times it should.
--HG--
extra : convert_revision : 376516d33cd539fa526c834ef2b2c33069af3040
Diffstat (limited to 'src/arch/x86/tlb.hh')
-rw-r--r-- | src/arch/x86/tlb.hh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/arch/x86/tlb.hh b/src/arch/x86/tlb.hh index d45f94520..93bbf2c9d 100644 --- a/src/arch/x86/tlb.hh +++ b/src/arch/x86/tlb.hh @@ -215,6 +215,13 @@ namespace X86ISA Port *getPort(const std::string &if_name, int idx = -1); + public: + void invalidateAll(); + + void invalidateNonGlobal(); + + void demapPage(Addr va); + protected: int size; @@ -226,12 +233,6 @@ namespace X86ISA void insert(Addr vpn, TlbEntry &entry); - void invalidateAll(); - - void invalidateNonGlobal(); - - void demapPage(Addr va); - template<class TlbFault> Fault translate(RequestPtr &req, ThreadContext *tc, bool write, bool execute); |