From 7b5a96f06b530db35637aca6f9d0f7a2ddfa6e60 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 8 Apr 2009 22:21:27 -0700 Subject: tlb: Don't separate the TLB classes into an instruction TLB and a data TLB --- src/sim/tlb.hh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/sim/tlb.hh') diff --git a/src/sim/tlb.hh b/src/sim/tlb.hh index 8893f8c97..6c1bf5350 100644 --- a/src/sim/tlb.hh +++ b/src/sim/tlb.hh @@ -60,7 +60,7 @@ class BaseTLB : public SimObject * function. Once it's called, the object is no longer valid. */ virtual void finish(Fault fault, RequestPtr req, - ThreadContext *tc, bool write=false) = 0; + ThreadContext *tc, bool write=false, bool execute=false) = 0; }; }; @@ -73,9 +73,10 @@ class GenericTLB : public BaseTLB public: void demapPage(Addr vaddr, uint64_t asn); - Fault translateAtomic(RequestPtr req, ThreadContext *tc, bool=false); + Fault translateAtomic(RequestPtr req, ThreadContext *tc, + bool=false, bool=false); void translateTiming(RequestPtr req, ThreadContext *tc, - Translation *translation, bool=false); + Translation *translation, bool=false, bool=false); }; #endif // __ARCH_SPARC_TLB_HH__ -- cgit v1.2.3