From 98cf57fb89b76a8ca423083d52cc647c7923fe51 Mon Sep 17 00:00:00 2001 From: Geoffrey Blake Date: Fri, 9 Mar 2012 09:59:28 -0500 Subject: CheckerCPU: Add function stubs to non-ARM ISA source to compile with CheckerCPU Making the CheckerCPU a runtime time option requires the code to be compatible with ISAs other than ARM. This patch adds the appropriate function stubs to allow compilation. --- src/arch/alpha/tlb.cc | 7 +++++++ src/arch/alpha/tlb.hh | 4 ++++ 2 files changed, 11 insertions(+) (limited to 'src/arch/alpha') diff --git a/src/arch/alpha/tlb.cc b/src/arch/alpha/tlb.cc index f1199b9b6..1d18c8d39 100644 --- a/src/arch/alpha/tlb.cc +++ b/src/arch/alpha/tlb.cc @@ -600,6 +600,13 @@ TLB::translateTiming(RequestPtr req, ThreadContext *tc, translation->finish(translateAtomic(req, tc, mode), req, tc, mode); } +Fault +TLB::translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode) +{ + panic("Not implemented\n"); + return NoFault; +} + } // namespace AlphaISA AlphaISA::TLB * diff --git a/src/arch/alpha/tlb.hh b/src/arch/alpha/tlb.hh index 1d4b6c6f8..4e56100c7 100644 --- a/src/arch/alpha/tlb.hh +++ b/src/arch/alpha/tlb.hh @@ -144,6 +144,10 @@ class TLB : public BaseTLB Fault translateAtomic(RequestPtr req, ThreadContext *tc, Mode mode); void translateTiming(RequestPtr req, ThreadContext *tc, Translation *translation, Mode mode); + /** + * translateFunctional stub function for future CheckerCPU support + */ + Fault translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode); }; } // namespace AlphaISA -- cgit v1.2.3