29 #ifndef __ARCH_SPARC_ISA_HH__ 30 #define __ARCH_SPARC_ISA_HH__ 44 struct SparcISAParams;
181 bool isPriv() {
return hpstate.hpriv || pstate.priv; }
258 const Params *
params()
const;
RegVal readMiscRegNoEffect(int miscReg) const
void installGlobals(int gl, int offset)
CpuEventWrapper< ISA, &ISA::processSTickCompare > STickCompareEvent
int flattenFloatIndex(int reg) const
void serialize(CheckpointOut &cp) const override
Serialize an object.
void processSTickCompare(ThreadContext *tc)
static const int NumWindowedRegs
TickCompareEvent * tickCompare
int flattenIntIndex(int reg) const
CpuEventWrapper< ISA, &ISA::processTickCompare > TickCompareEvent
int flattenVecElemIndex(int reg) const
RegIndex intRegMap[TotalInstIntRegs]
ThreadContext is the external interface to all thread state for anything outside of the CPU...
uint64_t fsr
Floating point misc registers.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void processTickCompare(ThreadContext *tc)
Process a tick compare event and generate an interrupt on the cpu if appropriate. ...
int flattenCCIndex(int reg) const
void processHSTickCompare(ThreadContext *tc)
static const int NumGlobalRegs
virtual void startup()
startup() is the final initialization call before simulation.
int flattenMiscIndex(int reg) const
int flattenVecPredIndex(int reg) const
RegVal readMiscReg(int miscReg, ThreadContext *tc)
HPSTATE hpstate
Hyperprivileged Registers.
CpuEventWrapper< ISA, &ISA::processHSTickCompare > HSTickCompareEvent
void setMiscReg(int miscReg, RegVal val, ThreadContext *tc)
static const int RegsPerWindow
HSTickCompareEvent * hSTickCompare
RegVal readFSReg(int miscReg, ThreadContext *tc)
static const int WindowOverlap
int flattenVecIndex(int reg) const
std::ostream CheckpointOut
RegId flattenRegId(const RegId ®Id) const
void startup(ThreadContext *tc)
STickCompareEvent * sTickCompare
const RegClass & classValue() const
Class accessor.
const RegIndex & index() const
Index accessors.
const Params * params() const
Register ID: describe an architectural register with its class and index.
void checkSoftInt(ThreadContext *tc)
static const int TotalGlobals
static const int TotalWindowed
void clear(ThreadContext *tc)
uint16_t priContext
MMU Internal Registers.
void installWindow(int cwp, int offset)
void setMiscRegNoEffect(int miscReg, RegVal val)
void setFSReg(int miscReg, RegVal val, ThreadContext *tc)