146 panic(
"Arithmetic traps are unimplemented!");
165 (((
Opcode(machInst) & 0x3f) << 11) |
166 ((
Ra(machInst) & 0x1f) << 6) |
200 panic_if(!pte,
"Tried to execute unmapped address %#x.\n",
pc);
225 dynamic_cast<TLB *
>(tc->
getDTBPtr())->insert(vaddr.page(), entry);
#define panic(...)
This implements a cprintf based panic() function.
void invoke(ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr)
virtual FaultStat & countStat()=0
void invoke(ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr)
virtual BaseTLB * getDTBPtr()=0
virtual TheISA::PCState pcState() const =0
virtual void setMiscRegNoEffect(RegIndex misc_reg, RegVal val)=0
virtual FaultVect vect()=0
bool FullSystem
The FullSystem variable can be used to determine the current mode of simulation.
virtual Process * getProcessPtr()=0
void invoke(ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr)
ThreadContext is the external interface to all thread state for anything outside of the CPU...
This is a simple scalar statistic, like a counter.
const ExtMachInst machInst
The binary machine instruction.
void invoke(ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr)
void invoke(ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr)
The request is a prefetch.
virtual BaseTLB * getITBPtr()=0
static const ArchFlagsType VPTE
The request is an ALPHA VPTE pal access (hw_ld).
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void invoke(ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr)
bool fixupStackFault(Addr vaddr)
Attempt to fix up a fault at vaddr by allocating a page on the stack.
EmulationPageTable * pTable
virtual RegVal readMiscRegNoEffect(RegIndex misc_reg) const =0
Declarations of a non-full system Page Table.
virtual bool setRestartAddress()
const Entry * lookup(Addr vaddr)
Lookup function.
int Opcode(MachInst inst)
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
virtual bool skipFaultingInstruction()
virtual void invoke(ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr)