summaryrefslogtreecommitdiff
path: root/src/arch/arm/tlb.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-04-21 15:40:25 -0700
committerNathan Binkert <nate@binkert.org>2009-04-21 15:40:25 -0700
commit50f1570352a036aed49a078b17fa1af54d0a1787 (patch)
tree25514def7207d0ce38f01ee7d87f160f04a9fe95 /src/arch/arm/tlb.hh
parentfff9c93568d73dcb2d237f0386dc7323412ff710 (diff)
downloadgem5-50f1570352a036aed49a078b17fa1af54d0a1787.tar.xz
arm: Unify the ARM tlb. We forgot about this when we did the rest.
This code compiles, but there are no tests still
Diffstat (limited to 'src/arch/arm/tlb.hh')
-rw-r--r--src/arch/arm/tlb.hh39
1 files changed, 6 insertions, 33 deletions
diff --git a/src/arch/arm/tlb.hh b/src/arch/arm/tlb.hh
index fea317ef3..d2c035b31 100644
--- a/src/arch/arm/tlb.hh
+++ b/src/arch/arm/tlb.hh
@@ -43,8 +43,7 @@
#include "arch/arm/pagetable.hh"
#include "base/statistics.hh"
#include "mem/request.hh"
-#include "params/ArmDTB.hh"
-#include "params/ArmITB.hh"
+#include "params/ArmTLB.hh"
#include "sim/faults.hh"
#include "sim/tlb.hh"
@@ -135,6 +134,10 @@ class TLB : public BaseTLB
static Fault checkCacheability(RequestPtr &req);
+ Fault translateAtomic(RequestPtr req, ThreadContext *tc, Mode mode);
+ void translateTiming(RequestPtr req, ThreadContext *tc,
+ Translation *translation, Mode mode);
+
// Checkpointing
void serialize(std::ostream &os);
void unserialize(Checkpoint *cp, const std::string &section);
@@ -142,36 +145,6 @@ class TLB : public BaseTLB
void regStats();
};
-class ITB : public TLB
-{
- public:
- typedef ArmTLBParams Params;
- ITB(const Params *p);
-
- Fault translateAtomic(RequestPtr req, ThreadContext *tc);
- void translateTiming(RequestPtr req, ThreadContext *tc,
- Translation *translation);
-};
-
-class DTB : public TLB
-{
- public:
- typedef ArmTLBParams Params;
- DTB(const Params *p);
-
- Fault translateAtomic(RequestPtr req, ThreadContext *tc, bool write);
- void translateTiming(RequestPtr req, ThreadContext *tc,
- Translation *translation, bool write);
-};
-
-class UTB : public ITB, public DTB
-{
- public:
- typedef ArmTLBParams Params;
- UTB(const Params *p);
-
-};
-
-}
+/* namespace ArmISA */ }
#endif // __ARCH_ARM_TLB_HH__