summaryrefslogtreecommitdiff
path: root/src/arch/x86/tlb.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-02-26 23:39:53 -0500
committerGabe Black <gblack@eecs.umich.edu>2008-02-26 23:39:53 -0500
commit43ecce5fda625e057724d10e087180b02d027ca0 (patch)
tree2984a0315219c95b6aa6d9f06e4ad026e3090514 /src/arch/x86/tlb.hh
parent98d2ca403e859f289e6d637a2179e62728370d5f (diff)
downloadgem5-43ecce5fda625e057724d10e087180b02d027ca0.tar.xz
X86: Put in initial implementation of the local APIC.
--HG-- extra : convert_revision : 1708a93d96b819e64ed456c75dbb5325ac8114a8
Diffstat (limited to 'src/arch/x86/tlb.hh')
-rw-r--r--src/arch/x86/tlb.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/arch/x86/tlb.hh b/src/arch/x86/tlb.hh
index f6ccd5731..89b965e97 100644
--- a/src/arch/x86/tlb.hh
+++ b/src/arch/x86/tlb.hh
@@ -90,6 +90,8 @@ namespace X86ISA
friend class FakeITLBFault;
friend class FakeDTLBFault;
+ typedef std::list<TlbEntry *> EntryList;
+
bool _allowNX;
uint32_t configAddress;
@@ -108,6 +110,10 @@ namespace X86ISA
void setConfigAddress(uint32_t addr);
+ protected:
+
+ EntryList::iterator lookupIt(Addr va, bool update_lru = true);
+
#if FULL_SYSTEM
protected:
@@ -128,7 +134,6 @@ namespace X86ISA
TlbEntry * tlb;
- typedef std::list<TlbEntry *> EntryList;
EntryList freeList;
EntryList entryList;