gem5
v20.1.0.0
|
#include <isa.hh>
Public Types | |
typedef SparcISAParams | Params |
Public Types inherited from SimObject | |
typedef SimObjectParams | Params |
Public Member Functions | |
void | clear () |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
RegVal | readMiscRegNoEffect (int miscReg) const |
RegVal | readMiscReg (int miscReg) |
void | setMiscRegNoEffect (int miscReg, RegVal val) |
void | setMiscReg (int miscReg, RegVal val) |
RegId | flattenRegId (const RegId ®Id) const |
int | flattenIntIndex (int reg) const |
int | flattenFloatIndex (int reg) const |
int | flattenVecIndex (int reg) const |
int | flattenVecElemIndex (int reg) const |
int | flattenVecPredIndex (int reg) const |
int | flattenCCIndex (int reg) const |
int | flattenMiscIndex (int reg) const |
const Params * | params () const |
ISA (Params *p) | |
Public Member Functions inherited from BaseISA | |
virtual void | takeOverFrom (ThreadContext *new_tc, ThreadContext *old_tc) |
virtual void | setThreadContext (ThreadContext *_tc) |
Public Member Functions inherited from SimObject | |
const Params * | params () const |
SimObject (const Params *_params) | |
virtual | ~SimObject () |
virtual const std::string | name () const |
virtual void | init () |
init() is called after all C++ SimObjects have been created and all ports are connected. More... | |
virtual void | loadState (CheckpointIn &cp) |
loadState() is called on each SimObject when restoring from a checkpoint. More... | |
virtual void | initState () |
initState() is called on each SimObject when not restoring from a checkpoint. More... | |
virtual void | regProbePoints () |
Register probe points for this object. More... | |
virtual void | regProbeListeners () |
Register probe listeners for this object. More... | |
ProbeManager * | getProbeManager () |
Get the probe manager for this object. More... | |
virtual Port & | getPort (const std::string &if_name, PortID idx=InvalidPortID) |
Get a port with a given name and index. More... | |
virtual void | startup () |
startup() is the final initialization call before simulation. More... | |
DrainState | drain () override |
Provide a default implementation of the drain interface for objects that don't need draining. More... | |
virtual void | memWriteback () |
Write back dirty buffers to memory using functional writes. More... | |
virtual void | memInvalidate () |
Invalidate the contents of memory buffers. More... | |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
Public Member Functions inherited from EventManager | |
EventQueue * | eventQueue () const |
void | schedule (Event &event, Tick when) |
void | deschedule (Event &event) |
void | reschedule (Event &event, Tick when, bool always=false) |
void | schedule (Event *event, Tick when) |
void | deschedule (Event *event) |
void | reschedule (Event *event, Tick when, bool always=false) |
void | wakeupEventQueue (Tick when=(Tick) -1) |
This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers. More... | |
void | setCurTick (Tick newVal) |
EventManager (EventManager &em) | |
Event manger manages events in the event queue. More... | |
EventManager (EventManager *em) | |
EventManager (EventQueue *eq) | |
Public Member Functions inherited from Serializable | |
Serializable () | |
virtual | ~Serializable () |
void | serializeSection (CheckpointOut &cp, const char *name) const |
Serialize an object into a new section. More... | |
void | serializeSection (CheckpointOut &cp, const std::string &name) const |
void | unserializeSection (CheckpointIn &cp, const char *name) |
Unserialize an a child object. More... | |
void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Public Member Functions inherited from Drainable | |
DrainState | drainState () const |
Return the current drain state of an object. More... | |
virtual void | notifyFork () |
Notify a child process of a fork. More... | |
Public Member Functions inherited from Stats::Group | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. More... | |
virtual | ~Group () |
virtual void | regStats () |
Callback to set stat parameters. More... | |
virtual void | resetStats () |
Callback to reset stats. More... | |
virtual void | preDumpStats () |
Callback before stats are dumped. More... | |
void | addStat (Stats::Info *info) |
Register a stat with this group. More... | |
const std::map< std::string, Group * > & | getStatGroups () const |
Get all child groups associated with this object. More... | |
const std::vector< Info * > & | getStats () const |
Get all stats associated with this object. More... | |
void | addStatGroup (const char *name, Group *block) |
Add a stat block as a child of this block. More... | |
const Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. More... | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Protected Member Functions | |
bool | isHyperPriv () |
bool | isPriv () |
bool | isNonPriv () |
Protected Member Functions inherited from BaseISA | |
SimObject (const Params *_params) | |
Protected Member Functions inherited from Drainable | |
Drainable () | |
virtual | ~Drainable () |
virtual void | drainResume () |
Resume execution after a successful drain. More... | |
void | signalDrainDone () const |
Signal that an object is drained. More... | |
Private Types | |
enum | InstIntRegOffsets { CurrentGlobalsOffset = 0, CurrentWindowOffset = CurrentGlobalsOffset + NumGlobalRegs, MicroIntOffset = CurrentWindowOffset + NumWindowedRegs, NextGlobalsOffset = MicroIntOffset + NumMicroIntRegs, NextWindowOffset = NextGlobalsOffset + NumGlobalRegs, PreviousGlobalsOffset = NextWindowOffset + NumWindowedRegs, PreviousWindowOffset = PreviousGlobalsOffset + NumGlobalRegs, TotalInstIntRegs = PreviousWindowOffset + NumWindowedRegs } |
typedef EventWrapper< ISA, &ISA::processTickCompare > | TickCompareEvent |
typedef EventWrapper< ISA, &ISA::processSTickCompare > | STickCompareEvent |
typedef EventWrapper< ISA, &ISA::processHSTickCompare > | HSTickCompareEvent |
Private Member Functions | |
void | setFSReg (int miscReg, RegVal val) |
RegVal | readFSReg (int miscReg) |
void | checkSoftInt () |
void | processTickCompare () |
Process a tick compare event and generate an interrupt on the cpu if appropriate. More... | |
void | processSTickCompare () |
void | processHSTickCompare () |
void | installWindow (int cwp, int offset) |
void | installGlobals (int gl, int offset) |
void | reloadRegMap () |
Private Attributes | |
uint8_t | asi |
uint64_t | tick |
uint8_t | fprs |
uint64_t | gsr |
uint64_t | softint |
uint64_t | tick_cmpr |
uint64_t | stick |
uint64_t | stick_cmpr |
uint64_t | tpc [MaxTL] |
uint64_t | tnpc [MaxTL] |
uint64_t | tstate [MaxTL] |
uint16_t | tt [MaxTL] |
uint64_t | tba |
PSTATE | pstate |
uint8_t | tl |
uint8_t | pil |
uint8_t | cwp |
uint8_t | gl |
HPSTATE | hpstate |
Hyperprivileged Registers. More... | |
uint64_t | htstate [MaxTL] |
uint64_t | hintp |
uint64_t | htba |
uint64_t | hstick_cmpr |
uint64_t | strandStatusReg |
uint64_t | fsr |
Floating point misc registers. More... | |
uint16_t | priContext |
MMU Internal Registers. More... | |
uint16_t | secContext |
uint16_t | partId |
uint64_t | lsuCtrlReg |
uint64_t | scratchPad [8] |
uint64_t | cpu_mondo_head |
uint64_t | cpu_mondo_tail |
uint64_t | dev_mondo_head |
uint64_t | dev_mondo_tail |
uint64_t | res_error_head |
uint64_t | res_error_tail |
uint64_t | nres_error_head |
uint64_t | nres_error_tail |
TickCompareEvent * | tickCompare = nullptr |
STickCompareEvent * | sTickCompare = nullptr |
HSTickCompareEvent * | hSTickCompare = nullptr |
RegIndex | intRegMap [TotalInstIntRegs] |
Static Private Attributes | |
static const int | NumGlobalRegs = 8 |
static const int | NumWindowedRegs = 24 |
static const int | WindowOverlap = 8 |
static const int | TotalGlobals = (MaxGL + 1) * NumGlobalRegs |
static const int | RegsPerWindow = NumWindowedRegs - WindowOverlap |
static const int | TotalWindowed = NWindows * RegsPerWindow |
Additional Inherited Members | |
Static Public Member Functions inherited from SimObject | |
static void | serializeAll (CheckpointOut &cp) |
Serialize all SimObjects in the system. More... | |
static SimObject * | find (const char *name) |
Find the SimObject with the given name and return a pointer to it. More... | |
Static Public Member Functions inherited from Serializable | |
static const std::string & | currentSection () |
Gets the fully-qualified name of the active section. More... | |
static void | serializeAll (const std::string &cpt_dir) |
Serializes all the SimObjects. More... | |
static void | unserializeGlobals (CheckpointIn &cp) |
Protected Attributes inherited from BaseISA | |
ThreadContext * | tc = nullptr |
Protected Attributes inherited from SimObject | |
const SimObjectParams * | _params |
Cached copy of the object parameters. More... | |
Protected Attributes inherited from EventManager | |
EventQueue * | eventq |
A pointer to this object's event queue. More... | |
|
private |
typedef SparcISAParams SparcISA::ISA::Params |
|
private |
|
private |
|
private |
|
private |
Definition at line 45 of file ua2005.cc.
References BaseCPU::clearInterrupt(), SparcISA::IT_SOFT_INT, and BaseCPU::postInterrupt().
void SparcISA::ISA::clear | ( | ) |
Definition at line 108 of file isa.cc.
References asi, cpu_mondo_head, cpu_mondo_tail, cwp, dev_mondo_head, dev_mondo_tail, fprs, fsr, gl, gsr, hintp, hpstate, hstick_cmpr, hSTickCompare, htba, htstate, lsuCtrlReg, nres_error_head, nres_error_tail, panic, partId, pil, priContext, pstate, reloadRegMap(), res_error_head, res_error_tail, scratchPad, secContext, softint, stick, stick_cmpr, sTickCompare, strandStatusReg, tba, tick, tick_cmpr, tickCompare, tl, tnpc, tpc, tstate, tt, and ULL.
Referenced by ISA().
|
inline |
|
inline |
|
inline |
Definition at line 201 of file isa.hh.
References intRegMap, SparcISA::NumIntRegs, X86ISA::reg, and TotalInstIntRegs.
Referenced by flattenRegId().
|
inline |
Definition at line 183 of file isa.hh.
References CCRegClass, RegId::classValue(), flattenCCIndex(), flattenFloatIndex(), flattenIntIndex(), flattenMiscIndex(), FloatRegClass, RegId::index(), IntRegClass, and MiscRegClass.
|
inline |
Definition at line 211 of file isa.hh.
References X86ISA::reg.
|
inline |
Definition at line 210 of file isa.hh.
References X86ISA::reg.
|
inline |
Definition at line 212 of file isa.hh.
References X86ISA::reg.
|
private |
Definition at line 98 of file isa.cc.
References gl, ArmISA::i, intRegMap, NumGlobalRegs, SparcISA::NumIntRegs, and ArmISA::offset.
Referenced by reloadRegMap(), and setMiscReg().
|
private |
Definition at line 88 of file isa.cc.
References cwp, ArmISA::i, intRegMap, SparcISA::NumIntRegs, NumWindowedRegs, ArmISA::offset, RegsPerWindow, TotalGlobals, and TotalWindowed.
Referenced by reloadRegMap(), and setMiscReg().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
const SparcISAParams * SparcISA::ISA::params | ( | ) | const |
Definition at line 68 of file isa.cc.
References SimObject::_params.
|
private |
Definition at line 350 of file ua2005.cc.
References DPRINTF, ThreadContext::Halted, BaseCPU::instCount(), ArmISA::mask, SparcISA::MISCREG_HINTP, SparcISA::MISCREG_HSTICK_CMPR, ThreadContext::Suspended, and ULL.
|
private |
Definition at line 326 of file ua2005.cc.
References DPRINTF, BaseCPU::instCount(), ArmISA::mask, SparcISA::MISCREG_SOFTINT, SparcISA::MISCREG_STICK_CMPR, ThreadContext::Suspended, and ULL.
|
private |
|
private |
Definition at line 246 of file ua2005.cc.
References ThreadContext::Active, ThreadContext::Halted, SparcISA::MaxTL, SparcISA::MISCREG_HINTP, SparcISA::MISCREG_HPSTATE, SparcISA::MISCREG_HSTICK_CMPR, SparcISA::MISCREG_HTBA, SparcISA::MISCREG_HTSTATE, SparcISA::MISCREG_HVER, SparcISA::MISCREG_PIL, SparcISA::MISCREG_QUEUE_CPU_MONDO_HEAD, SparcISA::MISCREG_QUEUE_CPU_MONDO_TAIL, SparcISA::MISCREG_QUEUE_DEV_MONDO_HEAD, SparcISA::MISCREG_QUEUE_DEV_MONDO_TAIL, SparcISA::MISCREG_QUEUE_NRES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_NRES_ERROR_TAIL, SparcISA::MISCREG_QUEUE_RES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_RES_ERROR_TAIL, SparcISA::MISCREG_SOFTINT, SparcISA::MISCREG_STICK_CMPR, SparcISA::MISCREG_STRAND_STS_REG, SparcISA::MISCREG_TICK_CMPR, SparcISA::NWindows, panic, System::Threads::size(), ThreadContext::Suspended, System::threads, ULL, and RiscvISA::x.
Referenced by readMiscReg().
RegVal SparcISA::ISA::readMiscReg | ( | int | miscReg | ) |
Definition at line 332 of file isa.cc.
References DPRINTF, fprs, ThreadContext::getCpuPtr(), BaseCPU::instCount(), mbits(), SparcISA::MISCREG_FPRS, SparcISA::MISCREG_HINTP, SparcISA::MISCREG_HPSTATE, SparcISA::MISCREG_HSTICK_CMPR, SparcISA::MISCREG_HTBA, SparcISA::MISCREG_HTSTATE, SparcISA::MISCREG_HVER, SparcISA::MISCREG_PCR, SparcISA::MISCREG_PIC, SparcISA::MISCREG_PRIVTICK, SparcISA::MISCREG_QUEUE_CPU_MONDO_HEAD, SparcISA::MISCREG_QUEUE_CPU_MONDO_TAIL, SparcISA::MISCREG_QUEUE_DEV_MONDO_HEAD, SparcISA::MISCREG_QUEUE_DEV_MONDO_TAIL, SparcISA::MISCREG_QUEUE_NRES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_NRES_ERROR_TAIL, SparcISA::MISCREG_QUEUE_RES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_RES_ERROR_TAIL, SparcISA::MISCREG_SOFTINT, SparcISA::MISCREG_SOFTINT_CLR, SparcISA::MISCREG_SOFTINT_SET, SparcISA::MISCREG_STICK, SparcISA::MISCREG_STICK_CMPR, SparcISA::MISCREG_STRAND_STS_REG, SparcISA::MISCREG_TICK, SparcISA::MISCREG_TICK_CMPR, panic, readFSReg(), readMiscRegNoEffect(), stick, BaseISA::tc, and tick.
RegVal SparcISA::ISA::readMiscRegNoEffect | ( | int | miscReg | ) | const |
Privilged Registers
Hyper privileged registers
Floating Point Status Register
Definition at line 171 of file isa.cc.
References asi, bits(), cpu_mondo_head, cpu_mondo_tail, cwp, dev_mondo_head, dev_mondo_tail, DPRINTF, fprs, fsr, gl, gsr, hintp, hpstate, hstick_cmpr, htba, htstate, lsuCtrlReg, SparcISA::MISCREG_ASI, SparcISA::MISCREG_CWP, SparcISA::MISCREG_FPRS, SparcISA::MISCREG_FSR, SparcISA::MISCREG_GL, SparcISA::MISCREG_GSR, SparcISA::MISCREG_HINTP, SparcISA::MISCREG_HPSTATE, SparcISA::MISCREG_HSTICK_CMPR, SparcISA::MISCREG_HTBA, SparcISA::MISCREG_HTSTATE, SparcISA::MISCREG_MMU_LSU_CTRL, SparcISA::MISCREG_MMU_P_CONTEXT, SparcISA::MISCREG_MMU_PART_ID, SparcISA::MISCREG_MMU_S_CONTEXT, SparcISA::MISCREG_PCR, SparcISA::MISCREG_PIC, SparcISA::MISCREG_PIL, SparcISA::MISCREG_PRIVTICK, SparcISA::MISCREG_PSTATE, SparcISA::MISCREG_QUEUE_CPU_MONDO_HEAD, SparcISA::MISCREG_QUEUE_CPU_MONDO_TAIL, SparcISA::MISCREG_QUEUE_DEV_MONDO_HEAD, SparcISA::MISCREG_QUEUE_DEV_MONDO_TAIL, SparcISA::MISCREG_QUEUE_NRES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_NRES_ERROR_TAIL, SparcISA::MISCREG_QUEUE_RES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_RES_ERROR_TAIL, SparcISA::MISCREG_SCRATCHPAD_R0, SparcISA::MISCREG_SCRATCHPAD_R1, SparcISA::MISCREG_SCRATCHPAD_R2, SparcISA::MISCREG_SCRATCHPAD_R3, SparcISA::MISCREG_SCRATCHPAD_R4, SparcISA::MISCREG_SCRATCHPAD_R5, SparcISA::MISCREG_SCRATCHPAD_R6, SparcISA::MISCREG_SCRATCHPAD_R7, SparcISA::MISCREG_SOFTINT, SparcISA::MISCREG_STICK, SparcISA::MISCREG_STICK_CMPR, SparcISA::MISCREG_STRAND_STS_REG, SparcISA::MISCREG_TBA, SparcISA::MISCREG_TICK, SparcISA::MISCREG_TICK_CMPR, SparcISA::MISCREG_TL, SparcISA::MISCREG_TLB_DATA, SparcISA::MISCREG_TNPC, SparcISA::MISCREG_TPC, SparcISA::MISCREG_TSTATE, SparcISA::MISCREG_TT, nres_error_head, nres_error_tail, panic, partId, pil, priContext, pstate, res_error_head, res_error_tail, scratchPad, secContext, softint, stick, stick_cmpr, strandStatusReg, tba, tick, tick_cmpr, tl, tnpc, tpc, tstate, and tt.
Referenced by readMiscReg().
|
private |
Definition at line 74 of file isa.cc.
References CurrentGlobalsOffset, CurrentWindowOffset, cwp, gl, ArmISA::i, installGlobals(), installWindow(), intRegMap, MicroIntOffset, NextGlobalsOffset, NextWindowOffset, SparcISA::NumMicroIntRegs, SparcISA::NWindows, PreviousGlobalsOffset, PreviousWindowOffset, and TotalGlobals.
Referenced by clear(), and unserialize().
|
overridevirtual |
Serialize an object.
Output an object's state into the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 637 of file isa.cc.
References asi, cpu_mondo_head, cpu_mondo_tail, cwp, dev_mondo_head, dev_mondo_tail, fprs, fsr, gl, gsr, hintp, hpstate, hstick_cmpr, hSTickCompare, htba, htstate, lsuCtrlReg, SparcISA::MaxTL, nres_error_head, nres_error_tail, partId, pil, priContext, pstate, res_error_head, res_error_tail, Event::scheduled(), scratchPad, secContext, SERIALIZE_ARRAY, SERIALIZE_SCALAR, softint, stick, stick_cmpr, sTickCompare, strandStatusReg, tba, tick, tick_cmpr, tickCompare, tl, tnpc, tpc, tstate, tt, and Event::when().
|
private |
Definition at line 90 of file ua2005.cc.
References bits(), BaseCPU::clearInterrupt(), DPRINTF, getMiscRegName(), BaseCPU::instCount(), SparcISA::IT_CPU_MONDO, SparcISA::IT_DEV_MONDO, SparcISA::IT_HINTP, SparcISA::IT_RES_ERROR, SparcISA::IT_TRAP_LEVEL_ZERO, ArmISA::mask, SparcISA::MISCREG_HINTP, SparcISA::MISCREG_HPSTATE, SparcISA::MISCREG_HSTICK_CMPR, SparcISA::MISCREG_HTBA, SparcISA::MISCREG_HTSTATE, SparcISA::MISCREG_HVER, SparcISA::MISCREG_PIL, SparcISA::MISCREG_PSTATE, SparcISA::MISCREG_QUEUE_CPU_MONDO_HEAD, SparcISA::MISCREG_QUEUE_CPU_MONDO_TAIL, SparcISA::MISCREG_QUEUE_DEV_MONDO_HEAD, SparcISA::MISCREG_QUEUE_DEV_MONDO_TAIL, SparcISA::MISCREG_QUEUE_NRES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_NRES_ERROR_TAIL, SparcISA::MISCREG_QUEUE_RES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_RES_ERROR_TAIL, SparcISA::MISCREG_SOFTINT, SparcISA::MISCREG_SOFTINT_CLR, SparcISA::MISCREG_SOFTINT_SET, SparcISA::MISCREG_STICK_CMPR, SparcISA::MISCREG_STRAND_STS_REG, SparcISA::MISCREG_TICK_CMPR, panic, BaseCPU::postInterrupt(), MipsISA::tl, ULL, and X86ISA::val.
Referenced by setMiscReg().
void SparcISA::ISA::setMiscReg | ( | int | miscReg, |
RegVal | val | ||
) |
Definition at line 561 of file isa.cc.
References BaseCPU::clearInterrupt(), CurrentGlobalsOffset, CurrentWindowOffset, DPRINTF, ThreadContext::getCpuPtr(), ThreadContext::getDecoderPtr(), hpstate, installGlobals(), installWindow(), BaseCPU::instCount(), SparcISA::IT_TRAP_LEVEL_ZERO, mbits(), SparcISA::MISCREG_ASI, SparcISA::MISCREG_CWP, SparcISA::MISCREG_FPRS, SparcISA::MISCREG_GL, SparcISA::MISCREG_HINTP, SparcISA::MISCREG_HPSTATE, SparcISA::MISCREG_HSTICK_CMPR, SparcISA::MISCREG_HTBA, SparcISA::MISCREG_HTSTATE, SparcISA::MISCREG_HVER, SparcISA::MISCREG_PCR, SparcISA::MISCREG_PIL, SparcISA::MISCREG_PSTATE, SparcISA::MISCREG_QUEUE_CPU_MONDO_HEAD, SparcISA::MISCREG_QUEUE_CPU_MONDO_TAIL, SparcISA::MISCREG_QUEUE_DEV_MONDO_HEAD, SparcISA::MISCREG_QUEUE_DEV_MONDO_TAIL, SparcISA::MISCREG_QUEUE_NRES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_NRES_ERROR_TAIL, SparcISA::MISCREG_QUEUE_RES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_RES_ERROR_TAIL, SparcISA::MISCREG_SOFTINT, SparcISA::MISCREG_SOFTINT_CLR, SparcISA::MISCREG_SOFTINT_SET, SparcISA::MISCREG_STICK, SparcISA::MISCREG_STICK_CMPR, SparcISA::MISCREG_STRAND_STS_REG, SparcISA::MISCREG_TICK, SparcISA::MISCREG_TICK_CMPR, SparcISA::MISCREG_TL, NextGlobalsOffset, NextWindowOffset, SparcISA::NWindows, BaseCPU::postInterrupt(), PreviousGlobalsOffset, PreviousWindowOffset, pstate, SparcISA::PstateMask, setFSReg(), setMiscRegNoEffect(), stick, BaseISA::tc, tick, tl, and X86ISA::val.
void SparcISA::ISA::setMiscRegNoEffect | ( | int | miscReg, |
RegVal | val | ||
) |
Privilged Registers
Hyper privileged registers
Floating Point Status Register
Definition at line 380 of file isa.cc.
References asi, cpu_mondo_head, cpu_mondo_tail, cwp, dev_mondo_head, dev_mondo_tail, DPRINTF, fprs, fsr, gl, gsr, hintp, hpstate, hstick_cmpr, htba, htstate, lsuCtrlReg, SparcISA::MISCREG_ASI, SparcISA::MISCREG_CWP, SparcISA::MISCREG_FPRS, SparcISA::MISCREG_FSR, SparcISA::MISCREG_GL, SparcISA::MISCREG_GSR, SparcISA::MISCREG_HINTP, SparcISA::MISCREG_HPSTATE, SparcISA::MISCREG_HSTICK_CMPR, SparcISA::MISCREG_HTBA, SparcISA::MISCREG_HTSTATE, SparcISA::MISCREG_MMU_LSU_CTRL, SparcISA::MISCREG_MMU_P_CONTEXT, SparcISA::MISCREG_MMU_PART_ID, SparcISA::MISCREG_MMU_S_CONTEXT, SparcISA::MISCREG_PCR, SparcISA::MISCREG_PIC, SparcISA::MISCREG_PIL, SparcISA::MISCREG_PRIVTICK, SparcISA::MISCREG_PSTATE, SparcISA::MISCREG_QUEUE_CPU_MONDO_HEAD, SparcISA::MISCREG_QUEUE_CPU_MONDO_TAIL, SparcISA::MISCREG_QUEUE_DEV_MONDO_HEAD, SparcISA::MISCREG_QUEUE_DEV_MONDO_TAIL, SparcISA::MISCREG_QUEUE_NRES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_NRES_ERROR_TAIL, SparcISA::MISCREG_QUEUE_RES_ERROR_HEAD, SparcISA::MISCREG_QUEUE_RES_ERROR_TAIL, SparcISA::MISCREG_SCRATCHPAD_R0, SparcISA::MISCREG_SCRATCHPAD_R1, SparcISA::MISCREG_SCRATCHPAD_R2, SparcISA::MISCREG_SCRATCHPAD_R3, SparcISA::MISCREG_SCRATCHPAD_R4, SparcISA::MISCREG_SCRATCHPAD_R5, SparcISA::MISCREG_SCRATCHPAD_R6, SparcISA::MISCREG_SCRATCHPAD_R7, SparcISA::MISCREG_SOFTINT, SparcISA::MISCREG_STICK, SparcISA::MISCREG_STICK_CMPR, SparcISA::MISCREG_STRAND_STS_REG, SparcISA::MISCREG_TBA, SparcISA::MISCREG_TICK, SparcISA::MISCREG_TICK_CMPR, SparcISA::MISCREG_TL, SparcISA::MISCREG_TNPC, SparcISA::MISCREG_TPC, SparcISA::MISCREG_TSTATE, SparcISA::MISCREG_TT, nres_error_head, nres_error_tail, panic, partId, pil, priContext, pstate, SparcISA::PstateMask, res_error_head, res_error_tail, scratchPad, secContext, softint, stick, stick_cmpr, strandStatusReg, tba, tick, tick_cmpr, tl, tnpc, tpc, tstate, tt, ULL, and X86ISA::val.
Referenced by setMiscReg().
|
overridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 692 of file isa.cc.
References asi, cpu_mondo_head, cpu_mondo_tail, cwp, dev_mondo_head, dev_mondo_tail, fprs, fsr, gl, gsr, hintp, hpstate, hstick_cmpr, hSTickCompare, htba, htstate, lsuCtrlReg, SparcISA::MaxTL, nres_error_head, nres_error_tail, partId, pil, priContext, pstate, reloadRegMap(), res_error_head, res_error_tail, EventManager::schedule(), scratchPad, secContext, softint, stick, stick_cmpr, sTickCompare, strandStatusReg, tba, tick, tick_cmpr, tickCompare, tl, tnpc, tpc, tstate, tt, UNSERIALIZE_ARRAY, and UNSERIALIZE_SCALAR.
|
private |
Definition at line 55 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 106 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 107 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 78 of file isa.hh.
Referenced by clear(), installWindow(), readMiscRegNoEffect(), reloadRegMap(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 108 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 109 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 57 of file isa.hh.
Referenced by clear(), readMiscReg(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Floating point misc registers.
Definition at line 96 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 84 of file isa.hh.
Referenced by clear(), installGlobals(), readMiscRegNoEffect(), reloadRegMap(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 58 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 89 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Hyperprivileged Registers.
Definition at line 87 of file isa.hh.
Referenced by clear(), isHyperPriv(), isPriv(), readMiscRegNoEffect(), serialize(), setMiscReg(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 91 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 136 of file isa.hh.
Referenced by clear(), serialize(), and unserialize().
|
private |
Definition at line 90 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 88 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 157 of file isa.hh.
Referenced by flattenIntIndex(), installGlobals(), installWindow(), and reloadRegMap().
|
private |
Definition at line 102 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 112 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 113 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
staticprivate |
Definition at line 138 of file isa.hh.
Referenced by installGlobals().
|
staticprivate |
Definition at line 139 of file isa.hh.
Referenced by installWindow().
|
private |
Definition at line 101 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 77 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
MMU Internal Registers.
Definition at line 99 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 75 of file isa.hh.
Referenced by clear(), isPriv(), readMiscRegNoEffect(), serialize(), setMiscReg(), setMiscRegNoEffect(), and unserialize().
|
staticprivate |
Definition at line 143 of file isa.hh.
Referenced by installWindow().
|
private |
Definition at line 110 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 111 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 104 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 100 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 59 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 61 of file isa.hh.
Referenced by clear(), readMiscReg(), readMiscRegNoEffect(), serialize(), setMiscReg(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 62 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 133 of file isa.hh.
Referenced by clear(), serialize(), and unserialize().
|
private |
Definition at line 93 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 73 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 56 of file isa.hh.
Referenced by clear(), readMiscReg(), readMiscRegNoEffect(), serialize(), setMiscReg(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 60 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 130 of file isa.hh.
Referenced by clear(), serialize(), and unserialize().
|
private |
Definition at line 76 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscReg(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 68 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
staticprivate |
Definition at line 142 of file isa.hh.
Referenced by installWindow(), and reloadRegMap().
|
staticprivate |
Definition at line 144 of file isa.hh.
Referenced by installWindow().
|
private |
Definition at line 66 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 70 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().
|
private |
Definition at line 71 of file isa.hh.
Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().