31 #ifndef __ARCH_SPARC_ISA_HH__
32 #define __ARCH_SPARC_ISA_HH__
44 struct SparcISAParams;
int flattenIntIndex(int reg) const
void setFSReg(int miscReg, const MiscReg &val, ThreadContext *tc)
MiscReg readFSReg(int miscReg, ThreadContext *tc)
void setMiscReg(int miscReg, const MiscReg val, ThreadContext *tc)
void installGlobals(int gl, int offset)
CpuEventWrapper< ISA,&ISA::processSTickCompare > STickCompareEvent
void serialize(CheckpointOut &cp) const override
Serialize an object.
void processSTickCompare(ThreadContext *tc)
static const int NumWindowedRegs
int flattenFloatIndex(int reg) const
TickCompareEvent * tickCompare
CpuEventWrapper< ISA,&ISA::processTickCompare > TickCompareEvent
int flattenCCIndex(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. ...
void processHSTickCompare(ThreadContext *tc)
static const int NumGlobalRegs
MiscReg readMiscReg(int miscReg, ThreadContext *tc)
HPSTATE hpstate
Hyperprivileged Registers.
CpuEventWrapper< ISA,&ISA::processHSTickCompare > HSTickCompareEvent
static const int RegsPerWindow
void setMiscRegNoEffect(int miscReg, const MiscReg val)
HSTickCompareEvent * hSTickCompare
const Params * params() const
static const int WindowOverlap
std::ostream CheckpointOut
MiscReg readMiscRegNoEffect(int miscReg) const
void startup(ThreadContext *tc)
STickCompareEvent * sTickCompare
const int NumMicroIntRegs
void checkSoftInt(ThreadContext *tc)
static const int TotalGlobals
static const int TotalWindowed
uint16_t priContext
MMU Internal Registers.
Abstract superclass for simulation objects.
int flattenMiscIndex(int reg) const
void installWindow(int cwp, int offset)
virtual void startup()
startup() is the final initialization call before simulation.