gem5  v20.1.0.0
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SparcISA::ISA Class Reference

#include <isa.hh>

Inheritance diagram for SparcISA::ISA:
BaseISA SimObject EventManager Serializable Drainable Stats::Group

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 &regId) 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 Paramsparams () 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 Paramsparams () 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...
 
ProbeManagergetProbeManager ()
 Get the probe manager for this object. More...
 
virtual PortgetPort (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
EventQueueeventQueue () 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 InforesolveStat (std::string name) const
 Resolve a stat by its name within this group. More...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (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::processTickCompareTickCompareEvent
 
typedef EventWrapper< ISA, &ISA::processSTickCompareSTickCompareEvent
 
typedef EventWrapper< ISA, &ISA::processHSTickCompareHSTickCompareEvent
 

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
 
TickCompareEventtickCompare = nullptr
 
STickCompareEventsTickCompare = nullptr
 
HSTickCompareEventhSTickCompare = 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 SimObjectfind (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
ThreadContexttc = nullptr
 
- Protected Attributes inherited from SimObject
const SimObjectParams * _params
 Cached copy of the object parameters. More...
 
- Protected Attributes inherited from EventManager
EventQueueeventq
 A pointer to this object's event queue. More...
 

Detailed Description

Definition at line 48 of file isa.hh.

Member Typedef Documentation

◆ HSTickCompareEvent

Definition at line 135 of file isa.hh.

◆ Params

typedef SparcISAParams SparcISA::ISA::Params

Definition at line 219 of file isa.hh.

◆ STickCompareEvent

Definition at line 132 of file isa.hh.

◆ TickCompareEvent

Definition at line 129 of file isa.hh.

Member Enumeration Documentation

◆ InstIntRegOffsets

Enumerator
CurrentGlobalsOffset 
CurrentWindowOffset 
MicroIntOffset 
NextGlobalsOffset 
NextWindowOffset 
PreviousGlobalsOffset 
PreviousWindowOffset 
TotalInstIntRegs 

Definition at line 146 of file isa.hh.

Constructor & Destructor Documentation

◆ ISA()

SparcISA::ISA::ISA ( Params p)

Definition at line 62 of file isa.cc.

References clear().

Member Function Documentation

◆ checkSoftInt()

void ISA::checkSoftInt ( )
private

◆ clear()

void SparcISA::ISA::clear ( )

◆ flattenCCIndex()

int SparcISA::ISA::flattenCCIndex ( int  reg) const
inline

Definition at line 215 of file isa.hh.

References X86ISA::reg.

Referenced by flattenRegId().

◆ flattenFloatIndex()

int SparcISA::ISA::flattenFloatIndex ( int  reg) const
inline

Definition at line 209 of file isa.hh.

References X86ISA::reg.

Referenced by flattenRegId().

◆ flattenIntIndex()

int SparcISA::ISA::flattenIntIndex ( int  reg) const
inline

Definition at line 201 of file isa.hh.

References intRegMap, SparcISA::NumIntRegs, X86ISA::reg, and TotalInstIntRegs.

Referenced by flattenRegId().

◆ flattenMiscIndex()

int SparcISA::ISA::flattenMiscIndex ( int  reg) const
inline

Definition at line 216 of file isa.hh.

References X86ISA::reg.

Referenced by flattenRegId().

◆ flattenRegId()

RegId SparcISA::ISA::flattenRegId ( const RegId regId) const
inline

◆ flattenVecElemIndex()

int SparcISA::ISA::flattenVecElemIndex ( int  reg) const
inline

Definition at line 211 of file isa.hh.

References X86ISA::reg.

◆ flattenVecIndex()

int SparcISA::ISA::flattenVecIndex ( int  reg) const
inline

Definition at line 210 of file isa.hh.

References X86ISA::reg.

◆ flattenVecPredIndex()

int SparcISA::ISA::flattenVecPredIndex ( int  reg) const
inline

Definition at line 212 of file isa.hh.

References X86ISA::reg.

◆ installGlobals()

void SparcISA::ISA::installGlobals ( int  gl,
int  offset 
)
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().

◆ installWindow()

void SparcISA::ISA::installWindow ( int  cwp,
int  offset 
)
private

◆ isHyperPriv()

bool SparcISA::ISA::isHyperPriv ( )
inlineprotected

Definition at line 170 of file isa.hh.

References hpstate.

◆ isNonPriv()

bool SparcISA::ISA::isNonPriv ( )
inlineprotected

Definition at line 172 of file isa.hh.

References isPriv().

◆ isPriv()

bool SparcISA::ISA::isPriv ( )
inlineprotected

Definition at line 171 of file isa.hh.

References hpstate, and pstate.

Referenced by isNonPriv().

◆ params()

const SparcISAParams * SparcISA::ISA::params ( ) const

Definition at line 68 of file isa.cc.

References SimObject::_params.

◆ processHSTickCompare()

void ISA::processHSTickCompare ( )
private

◆ processSTickCompare()

void ISA::processSTickCompare ( )
private

◆ processTickCompare()

void ISA::processTickCompare ( )
private

Process a tick compare event and generate an interrupt on the cpu if appropriate.

Definition at line 320 of file ua2005.cc.

References panic.

◆ readFSReg()

RegVal ISA::readFSReg ( int  miscReg)
private

◆ readMiscReg()

RegVal SparcISA::ISA::readMiscReg ( int  miscReg)

◆ readMiscRegNoEffect()

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().

◆ reloadRegMap()

void SparcISA::ISA::reloadRegMap ( )
private

◆ serialize()

void SparcISA::ISA::serialize ( CheckpointOut cp) const
overridevirtual

◆ setFSReg()

void ISA::setFSReg ( int  miscReg,
RegVal  val 
)
private

◆ setMiscReg()

void SparcISA::ISA::setMiscReg ( int  miscReg,
RegVal  val 
)

◆ setMiscRegNoEffect()

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().

◆ unserialize()

void SparcISA::ISA::unserialize ( CheckpointIn cp)
overridevirtual

Member Data Documentation

◆ asi

uint8_t SparcISA::ISA::asi
private

Definition at line 55 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ cpu_mondo_head

uint64_t SparcISA::ISA::cpu_mondo_head
private

Definition at line 106 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ cpu_mondo_tail

uint64_t SparcISA::ISA::cpu_mondo_tail
private

Definition at line 107 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ cwp

uint8_t SparcISA::ISA::cwp
private

◆ dev_mondo_head

uint64_t SparcISA::ISA::dev_mondo_head
private

Definition at line 108 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ dev_mondo_tail

uint64_t SparcISA::ISA::dev_mondo_tail
private

Definition at line 109 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ fprs

uint8_t SparcISA::ISA::fprs
private

◆ fsr

uint64_t SparcISA::ISA::fsr
private

Floating point misc registers.

Definition at line 96 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ gl

uint8_t SparcISA::ISA::gl
private

◆ gsr

uint64_t SparcISA::ISA::gsr
private

Definition at line 58 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ hintp

uint64_t SparcISA::ISA::hintp
private

Definition at line 89 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ hpstate

HPSTATE SparcISA::ISA::hpstate
private

Hyperprivileged Registers.

Definition at line 87 of file isa.hh.

Referenced by clear(), isHyperPriv(), isPriv(), readMiscRegNoEffect(), serialize(), setMiscReg(), setMiscRegNoEffect(), and unserialize().

◆ hstick_cmpr

uint64_t SparcISA::ISA::hstick_cmpr
private

Definition at line 91 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ hSTickCompare

HSTickCompareEvent* SparcISA::ISA::hSTickCompare = nullptr
private

Definition at line 136 of file isa.hh.

Referenced by clear(), serialize(), and unserialize().

◆ htba

uint64_t SparcISA::ISA::htba
private

Definition at line 90 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ htstate

uint64_t SparcISA::ISA::htstate[MaxTL]
private

Definition at line 88 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ intRegMap

RegIndex SparcISA::ISA::intRegMap[TotalInstIntRegs]
private

Definition at line 157 of file isa.hh.

Referenced by flattenIntIndex(), installGlobals(), installWindow(), and reloadRegMap().

◆ lsuCtrlReg

uint64_t SparcISA::ISA::lsuCtrlReg
private

Definition at line 102 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ nres_error_head

uint64_t SparcISA::ISA::nres_error_head
private

Definition at line 112 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ nres_error_tail

uint64_t SparcISA::ISA::nres_error_tail
private

Definition at line 113 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ NumGlobalRegs

const int SparcISA::ISA::NumGlobalRegs = 8
staticprivate

Definition at line 138 of file isa.hh.

Referenced by installGlobals().

◆ NumWindowedRegs

const int SparcISA::ISA::NumWindowedRegs = 24
staticprivate

Definition at line 139 of file isa.hh.

Referenced by installWindow().

◆ partId

uint16_t SparcISA::ISA::partId
private

Definition at line 101 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ pil

uint8_t SparcISA::ISA::pil
private

Definition at line 77 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ priContext

uint16_t SparcISA::ISA::priContext
private

MMU Internal Registers.

Definition at line 99 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ pstate

PSTATE SparcISA::ISA::pstate
private

◆ RegsPerWindow

const int SparcISA::ISA::RegsPerWindow = NumWindowedRegs - WindowOverlap
staticprivate

Definition at line 143 of file isa.hh.

Referenced by installWindow().

◆ res_error_head

uint64_t SparcISA::ISA::res_error_head
private

Definition at line 110 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ res_error_tail

uint64_t SparcISA::ISA::res_error_tail
private

Definition at line 111 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ scratchPad

uint64_t SparcISA::ISA::scratchPad[8]
private

Definition at line 104 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ secContext

uint16_t SparcISA::ISA::secContext
private

Definition at line 100 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ softint

uint64_t SparcISA::ISA::softint
private

Definition at line 59 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ stick

uint64_t SparcISA::ISA::stick
private

◆ stick_cmpr

uint64_t SparcISA::ISA::stick_cmpr
private

Definition at line 62 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ sTickCompare

STickCompareEvent* SparcISA::ISA::sTickCompare = nullptr
private

Definition at line 133 of file isa.hh.

Referenced by clear(), serialize(), and unserialize().

◆ strandStatusReg

uint64_t SparcISA::ISA::strandStatusReg
private

Definition at line 93 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ tba

uint64_t SparcISA::ISA::tba
private

Definition at line 73 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ tick

uint64_t SparcISA::ISA::tick
private

◆ tick_cmpr

uint64_t SparcISA::ISA::tick_cmpr
private

Definition at line 60 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ tickCompare

TickCompareEvent* SparcISA::ISA::tickCompare = nullptr
private

Definition at line 130 of file isa.hh.

Referenced by clear(), serialize(), and unserialize().

◆ tl

uint8_t SparcISA::ISA::tl
private

◆ tnpc

uint64_t SparcISA::ISA::tnpc[MaxTL]
private

Definition at line 68 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ TotalGlobals

const int SparcISA::ISA::TotalGlobals = (MaxGL + 1) * NumGlobalRegs
staticprivate

Definition at line 142 of file isa.hh.

Referenced by installWindow(), and reloadRegMap().

◆ TotalWindowed

const int SparcISA::ISA::TotalWindowed = NWindows * RegsPerWindow
staticprivate

Definition at line 144 of file isa.hh.

Referenced by installWindow().

◆ tpc

uint64_t SparcISA::ISA::tpc[MaxTL]
private

Definition at line 66 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ tstate

uint64_t SparcISA::ISA::tstate[MaxTL]
private

Definition at line 70 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ tt

uint16_t SparcISA::ISA::tt[MaxTL]
private

Definition at line 71 of file isa.hh.

Referenced by clear(), readMiscRegNoEffect(), serialize(), setMiscRegNoEffect(), and unserialize().

◆ WindowOverlap

const int SparcISA::ISA::WindowOverlap = 8
staticprivate

Definition at line 140 of file isa.hh.


The documentation for this class was generated from the following files:

Generated on Wed Sep 30 2020 14:03:11 for gem5 by doxygen 1.8.17