Go to the documentation of this file.
32 #include "params/IrisTLB.hh"
40 panic_if(!itc,
"Failed to cast to Iris::ThreadContext *");
44 bool success = itc->translateAddress(paddr,
vaddr);
46 return std::make_shared<GenericISA::M5PanicFault>(
47 "Failed translation");
58 return translateFunctional(req, tc,
mode);
66 translation->
finish(translateAtomic(req, tc,
mode), req, tc,
mode);
70 IrisTLBParams::create()
virtual void finish(const Fault &fault, const RequestPtr &req, ThreadContext *tc, Mode mode)=0
std::shared_ptr< Request > RequestPtr
Fault translateAtomic(const RequestPtr &req, ::ThreadContext *tc, Mode mode) override
std::shared_ptr< FaultBase > Fault
constexpr decltype(nullptr) NoFault
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
void translateTiming(const RequestPtr &req, ::ThreadContext *tc, Translation *translation, Mode mode) override
Fault translateFunctional(const RequestPtr &req, ::ThreadContext *tc, Mode mode) override
Generated on Wed Sep 30 2020 14:01:59 for gem5 by doxygen 1.8.17