gem5
v21.0.0.0
|
Derived ThreadContext class for use with the Checker. More...
#include <thread_context.hh>
Public Member Functions | |
CheckerThreadContext (TC *actual_tc, CheckerCPU *checker_cpu) | |
bool | schedule (PCEvent *e) override |
bool | remove (PCEvent *e) override |
void | scheduleInstCountEvent (Event *event, Tick count) override |
void | descheduleInstCountEvent (Event *event) override |
Tick | getCurrentInstCount () override |
BaseCPU * | getCpuPtr () override |
uint32_t | socketId () const override |
int | cpuId () const override |
ContextID | contextId () const override |
void | setContextId (ContextID id) override |
int | threadId () const override |
Returns this thread's ID number. More... | |
void | setThreadId (int id) override |
BaseMMU * | getMMUPtr () override |
CheckerCPU * | getCheckerCpuPtr () override |
BaseISA * | getIsaPtr () override |
TheISA::Decoder * | getDecoderPtr () override |
System * | getSystemPtr () override |
Process * | getProcessPtr () override |
void | setProcessPtr (Process *p) override |
PortProxy & | getPhysProxy () override |
PortProxy & | getVirtProxy () override |
void | initMemProxies (ThreadContext *tc) override |
Initialise the physical and virtual port proxies and tie them to the data port of the CPU. More... | |
void | connectMemPorts (ThreadContext *tc) |
Status | status () const override |
void | setStatus (Status new_status) override |
void | activate () override |
Set the status to Active. More... | |
void | suspend () override |
Set the status to Suspended. More... | |
void | halt () override |
Set the status to Halted. More... | |
void | takeOverFrom (ThreadContext *oldContext) override |
void | regStats (const std::string &name) override |
Tick | readLastActivate () override |
Tick | readLastSuspend () override |
void | copyArchRegs (ThreadContext *tc) override |
void | clearArchRegs () override |
RegVal | readIntReg (RegIndex reg_idx) const override |
RegVal | readFloatReg (RegIndex reg_idx) const override |
const TheISA::VecRegContainer & | readVecReg (const RegId ®) const override |
TheISA::VecRegContainer & | getWritableVecReg (const RegId ®) override |
Read vector register for modification, hierarchical indexing. More... | |
const TheISA::VecElem & | readVecElem (const RegId ®) const override |
const TheISA::VecPredRegContainer & | readVecPredReg (const RegId ®) const override |
TheISA::VecPredRegContainer & | getWritableVecPredReg (const RegId ®) override |
RegVal | readCCReg (RegIndex reg_idx) const override |
void | setIntReg (RegIndex reg_idx, RegVal val) override |
void | setFloatReg (RegIndex reg_idx, RegVal val) override |
void | setVecReg (const RegId ®, const TheISA::VecRegContainer &val) override |
void | setVecElem (const RegId ®, const TheISA::VecElem &val) override |
void | setVecPredReg (const RegId ®, const TheISA::VecPredRegContainer &val) override |
void | setCCReg (RegIndex reg_idx, RegVal val) override |
TheISA::PCState | pcState () const override |
Reads this thread's PC state. More... | |
void | pcState (const TheISA::PCState &val) override |
Sets this thread's PC state. More... | |
void | setNPC (Addr val) |
void | pcStateNoRecord (const TheISA::PCState &val) override |
Addr | instAddr () const override |
Reads this thread's PC. More... | |
Addr | nextInstAddr () const override |
Reads this thread's next PC. More... | |
MicroPC | microPC () const override |
Reads this thread's next PC. More... | |
RegVal | readMiscRegNoEffect (RegIndex misc_reg) const override |
RegVal | readMiscReg (RegIndex misc_reg) override |
void | setMiscRegNoEffect (RegIndex misc_reg, RegVal val) override |
void | setMiscReg (RegIndex misc_reg, RegVal val) override |
RegId | flattenRegId (const RegId ®Id) const override |
unsigned | readStCondFailures () const override |
void | setStCondFailures (unsigned sc_failures) override |
Counter | readFuncExeInst () const override |
RegVal | readIntRegFlat (RegIndex idx) const override |
Flat register interfaces. More... | |
void | setIntRegFlat (RegIndex idx, RegVal val) override |
RegVal | readFloatRegFlat (RegIndex idx) const override |
void | setFloatRegFlat (RegIndex idx, RegVal val) override |
const TheISA::VecRegContainer & | readVecRegFlat (RegIndex idx) const override |
TheISA::VecRegContainer & | getWritableVecRegFlat (RegIndex idx) override |
Read vector register for modification, flat indexing. More... | |
void | setVecRegFlat (RegIndex idx, const TheISA::VecRegContainer &val) override |
const TheISA::VecElem & | readVecElemFlat (RegIndex idx, const ElemIndex &elem_idx) const override |
void | setVecElemFlat (RegIndex idx, const ElemIndex &elem_idx, const TheISA::VecElem &val) override |
const TheISA::VecPredRegContainer & | readVecPredRegFlat (RegIndex idx) const override |
TheISA::VecPredRegContainer & | getWritableVecPredRegFlat (RegIndex idx) override |
void | setVecPredRegFlat (RegIndex idx, const TheISA::VecPredRegContainer &val) override |
RegVal | readCCRegFlat (RegIndex idx) const override |
void | setCCRegFlat (RegIndex idx, RegVal val) override |
void | htmAbortTransaction (uint64_t htm_uid, HtmFailureFaultCause cause) override |
BaseHTMCheckpointPtr & | getHtmCheckpointPtr () override |
void | setHtmCheckpointPtr (BaseHTMCheckpointPtr new_cpt) override |
ConstVecLane8 | readVec8BitLaneReg (const RegId ®) const override |
Vector Register Lane Interfaces. More... | |
ConstVecLane16 | readVec16BitLaneReg (const RegId ®) const override |
Reads source vector 16bit operand. More... | |
ConstVecLane32 | readVec32BitLaneReg (const RegId ®) const override |
Reads source vector 32bit operand. More... | |
ConstVecLane64 | readVec64BitLaneReg (const RegId ®) const override |
Reads source vector 64bit operand. More... | |
virtual void | setVecLane (const RegId ®, const LaneData< LaneSize::Byte > &val) override |
Write a lane of the destination vector register. More... | |
virtual void | setVecLane (const RegId ®, const LaneData< LaneSize::TwoByte > &val) override |
virtual void | setVecLane (const RegId ®, const LaneData< LaneSize::FourByte > &val) override |
virtual void | setVecLane (const RegId ®, const LaneData< LaneSize::EightByte > &val) override |
![]() | |
bool | getUseForClone () |
void | setUseForClone (bool new_val) |
virtual | ~ThreadContext () |
void | quiesce () |
Quiesce thread context. More... | |
void | quiesceTick (Tick resume) |
Quiesce, suspend, and schedule activate at resume. More... | |
void | setNPC (Addr val) |
virtual int | exit () |
Private Attributes | |
TC * | actualTC |
The main CPU's ThreadContext, or class that implements the ThreadContext interface. More... | |
SimpleThread * | checkerTC |
The checker's own SimpleThread. More... | |
CheckerCPU * | checkerCPU |
Pointer to the checker CPU. More... | |
Additional Inherited Members | |
![]() | |
enum | Status { Active, Suspended, Halting, Halted } |
![]() | |
static void | compare (ThreadContext *one, ThreadContext *two) |
function to compare two thread contexts (for debugging) More... | |
![]() | |
int | intResult = DefaultIntResult |
double | floatResult = DefaultFloatResult |
int | intOffset = 0 |
![]() | |
static const int | ints [] |
static const double | floats [] |
static const int | DefaultIntResult = 0 |
static const double | DefaultFloatResult = 0.0 |
![]() | |
bool | useForClone = false |
Derived ThreadContext class for use with the Checker.
The template parameter is the ThreadContext class used by the specific CPU being verified. This CheckerThreadContext is then used by the main CPU in place of its usual ThreadContext class. It handles updating the checker's state any time state is updated externally through the ThreadContext.
Definition at line 66 of file thread_context.hh.
|
inline |
Definition at line 69 of file thread_context.hh.
|
inlineoverridevirtual |
Set the status to Active.
Implements ThreadContext.
Definition at line 182 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 216 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, and SimpleThread::clearArchRegs().
|
inline |
Definition at line 167 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 112 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 209 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, and SimpleThread::copyArchRegs().
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 110 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 96 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and MipsISA::event.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 443 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 133 of file thread_context.hh.
References CheckerThreadContext< TC >::checkerCPU.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 106 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 101 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 141 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 138 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 130 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 152 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 148 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 146 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 155 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 322 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::reg.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 531 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Read vector register for modification, hierarchical indexing.
Implements ThreadContext.
Definition at line 247 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::reg.
|
inlineoverridevirtual |
Read vector register for modification, flat indexing.
Implements ThreadContext.
Definition at line 500 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Set the status to Halted.
Implements ThreadContext.
Definition at line 188 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Initialise the physical and virtual port proxies and tie them to the data port of the CPU.
tc ThreadContext for the virtual-to-physical translation
Implements ThreadContext.
Definition at line 161 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Reads this thread's PC.
Implements ThreadContext.
Definition at line 404 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Reads this thread's next PC.
Implements ThreadContext.
Definition at line 410 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Reads this thread's next PC.
Implements ThreadContext.
Definition at line 407 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Reads this thread's PC state.
Implements ThreadContext.
Definition at line 377 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Sets this thread's PC state.
Implements ThreadContext.
Definition at line 381 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerCPU, CheckerThreadContext< TC >::checkerTC, DPRINTF, SimpleThread::pcState(), CheckerCPU::recordPCChange(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 398 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 328 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 544 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 232 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 479 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 461 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 226 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Flat register interfaces.
Some architectures have different registers visible in different modes. Such architectures "flatten" a register (see flattenRegId()) to map it into the gem5 register file. This interface provides a flat interface to the underlying register file, which allows for example serialization code to access all registers.
Implements ThreadContext.
Definition at line 467 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 204 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 205 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 419 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 413 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 449 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Reads source vector 16bit operand.
Implements ThreadContext.
Definition at line 263 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::reg.
|
inlineoverridevirtual |
Reads source vector 32bit operand.
Implements ThreadContext.
Definition at line 270 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::reg.
|
inlineoverridevirtual |
Reads source vector 64bit operand.
Implements ThreadContext.
Definition at line 277 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::reg.
|
inlineoverridevirtual |
Vector Register Lane Interfaces.
Reads source vector 8bit operand.
Implements ThreadContext.
Definition at line 256 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::reg.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 310 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::reg.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 512 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 316 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::reg.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 525 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 238 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::reg.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 491 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Reimplemented from ThreadContext.
Definition at line 198 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, name(), and ThreadContext::regStats().
|
inlineoverridevirtual |
Implements PCEventScope.
Definition at line 88 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and ArmISA::e.
|
inlineoverridevirtual |
Implements PCEventScope.
Definition at line 87 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and ArmISA::e.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 91 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, X86ISA::count, and MipsISA::event.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 370 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, SimpleThread::setCCReg(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 550 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 115 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, and SimpleThread::setContextId().
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 341 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, SimpleThread::setFloatReg(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 485 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::val.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 334 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, SimpleThread::setIntReg(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 473 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 434 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, DPRINTF, SimpleThread::setMiscReg(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 425 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, DPRINTF, SimpleThread::setMiscRegNoEffect(), and X86ISA::val.
|
inline |
Definition at line 391 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, ThreadContext::setNPC(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 150 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and MipsISA::p.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 175 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, and SimpleThread::setStatus().
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 455 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 124 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, and SimpleThread::setThreadId().
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 355 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, X86ISA::reg, SimpleThread::setVecElem(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 518 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::val.
|
inlineoverridevirtual |
Write a lane of the destination vector register.
Implements ThreadContext.
Definition at line 284 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, X86ISA::reg, and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 302 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, X86ISA::reg, and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 296 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, X86ISA::reg, and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 290 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, X86ISA::reg, and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 362 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, X86ISA::reg, SimpleThread::setVecPredReg(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 537 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 348 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, X86ISA::reg, SimpleThread::setVecReg(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 506 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, and X86ISA::val.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 108 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 172 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Set the status to Suspended.
Implements ThreadContext.
Definition at line 185 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
inlineoverridevirtual |
Implements ThreadContext.
Definition at line 191 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC, CheckerThreadContext< TC >::checkerTC, and SimpleThread::copyState().
|
inlineoverridevirtual |
Returns this thread's ID number.
Implements ThreadContext.
Definition at line 122 of file thread_context.hh.
References CheckerThreadContext< TC >::actualTC.
|
private |
The main CPU's ThreadContext, or class that implements the ThreadContext interface.
Definition at line 78 of file thread_context.hh.
Referenced by CheckerThreadContext< TC >::activate(), CheckerThreadContext< TC >::clearArchRegs(), CheckerThreadContext< TC >::connectMemPorts(), CheckerThreadContext< TC >::contextId(), CheckerThreadContext< TC >::copyArchRegs(), CheckerThreadContext< TC >::cpuId(), CheckerThreadContext< TC >::descheduleInstCountEvent(), CheckerThreadContext< TC >::flattenRegId(), CheckerThreadContext< TC >::getCpuPtr(), CheckerThreadContext< TC >::getCurrentInstCount(), CheckerThreadContext< TC >::getDecoderPtr(), CheckerThreadContext< TC >::getIsaPtr(), CheckerThreadContext< TC >::getMMUPtr(), CheckerThreadContext< TC >::getPhysProxy(), CheckerThreadContext< TC >::getProcessPtr(), CheckerThreadContext< TC >::getSystemPtr(), CheckerThreadContext< TC >::getVirtProxy(), CheckerThreadContext< TC >::getWritableVecPredReg(), CheckerThreadContext< TC >::getWritableVecPredRegFlat(), CheckerThreadContext< TC >::getWritableVecReg(), CheckerThreadContext< TC >::getWritableVecRegFlat(), CheckerThreadContext< TC >::halt(), CheckerThreadContext< TC >::initMemProxies(), CheckerThreadContext< TC >::instAddr(), CheckerThreadContext< TC >::microPC(), CheckerThreadContext< TC >::nextInstAddr(), CheckerThreadContext< TC >::pcState(), CheckerThreadContext< TC >::pcStateNoRecord(), CheckerThreadContext< TC >::readCCReg(), CheckerThreadContext< TC >::readCCRegFlat(), CheckerThreadContext< TC >::readFloatReg(), CheckerThreadContext< TC >::readFloatRegFlat(), CheckerThreadContext< TC >::readFuncExeInst(), CheckerThreadContext< TC >::readIntReg(), CheckerThreadContext< TC >::readIntRegFlat(), CheckerThreadContext< TC >::readLastActivate(), CheckerThreadContext< TC >::readLastSuspend(), CheckerThreadContext< TC >::readMiscReg(), CheckerThreadContext< TC >::readMiscRegNoEffect(), CheckerThreadContext< TC >::readStCondFailures(), CheckerThreadContext< TC >::readVec16BitLaneReg(), CheckerThreadContext< TC >::readVec32BitLaneReg(), CheckerThreadContext< TC >::readVec64BitLaneReg(), CheckerThreadContext< TC >::readVec8BitLaneReg(), CheckerThreadContext< TC >::readVecElem(), CheckerThreadContext< TC >::readVecElemFlat(), CheckerThreadContext< TC >::readVecPredReg(), CheckerThreadContext< TC >::readVecPredRegFlat(), CheckerThreadContext< TC >::readVecReg(), CheckerThreadContext< TC >::readVecRegFlat(), CheckerThreadContext< TC >::regStats(), CheckerThreadContext< TC >::remove(), CheckerThreadContext< TC >::schedule(), CheckerThreadContext< TC >::scheduleInstCountEvent(), CheckerThreadContext< TC >::setCCReg(), CheckerThreadContext< TC >::setCCRegFlat(), CheckerThreadContext< TC >::setContextId(), CheckerThreadContext< TC >::setFloatReg(), CheckerThreadContext< TC >::setFloatRegFlat(), CheckerThreadContext< TC >::setIntReg(), CheckerThreadContext< TC >::setIntRegFlat(), CheckerThreadContext< TC >::setMiscReg(), CheckerThreadContext< TC >::setMiscRegNoEffect(), CheckerThreadContext< TC >::setNPC(), CheckerThreadContext< TC >::setProcessPtr(), CheckerThreadContext< TC >::setStatus(), CheckerThreadContext< TC >::setStCondFailures(), CheckerThreadContext< TC >::setThreadId(), CheckerThreadContext< TC >::setVecElem(), CheckerThreadContext< TC >::setVecElemFlat(), CheckerThreadContext< TC >::setVecLane(), CheckerThreadContext< TC >::setVecPredReg(), CheckerThreadContext< TC >::setVecPredRegFlat(), CheckerThreadContext< TC >::setVecReg(), CheckerThreadContext< TC >::setVecRegFlat(), CheckerThreadContext< TC >::socketId(), CheckerThreadContext< TC >::status(), CheckerThreadContext< TC >::suspend(), CheckerThreadContext< TC >::takeOverFrom(), and CheckerThreadContext< TC >::threadId().
|
private |
Pointer to the checker CPU.
Definition at line 84 of file thread_context.hh.
Referenced by CheckerThreadContext< TC >::getCheckerCpuPtr(), and CheckerThreadContext< TC >::pcState().
|
private |
The checker's own SimpleThread.
Will be updated any time anything uses this ThreadContext to externally update a thread's state.
Definition at line 82 of file thread_context.hh.
Referenced by CheckerThreadContext< TC >::clearArchRegs(), CheckerThreadContext< TC >::copyArchRegs(), CheckerThreadContext< TC >::pcState(), CheckerThreadContext< TC >::regStats(), CheckerThreadContext< TC >::setCCReg(), CheckerThreadContext< TC >::setContextId(), CheckerThreadContext< TC >::setFloatReg(), CheckerThreadContext< TC >::setIntReg(), CheckerThreadContext< TC >::setMiscReg(), CheckerThreadContext< TC >::setMiscRegNoEffect(), CheckerThreadContext< TC >::setNPC(), CheckerThreadContext< TC >::setStatus(), CheckerThreadContext< TC >::setThreadId(), CheckerThreadContext< TC >::setVecElem(), CheckerThreadContext< TC >::setVecPredReg(), CheckerThreadContext< TC >::setVecReg(), and CheckerThreadContext< TC >::takeOverFrom().