diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-02-26 23:39:53 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-02-26 23:39:53 -0500 |
commit | 43ecce5fda625e057724d10e087180b02d027ca0 (patch) | |
tree | 2984a0315219c95b6aa6d9f06e4ad026e3090514 /src/arch/x86/tlb.hh | |
parent | 98d2ca403e859f289e6d637a2179e62728370d5f (diff) | |
download | gem5-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.hh | 7 |
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; |