29#ifndef __ARCH_SPARC_ISA_HH__
30#define __ARCH_SPARC_ISA_HH__
173 void clear()
override;
178 return new PCState(new_inst_addr);
Wrap a member function inside MemberEventWrapper to use it as an event callback.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void installWindow(int cwp, int offset)
static const int RegsPerWindow
STickCompareEvent * sTickCompare
uint16_t priContext
MMU Internal Registers.
void copyRegsFrom(ThreadContext *src) override
static const int NumWindowedRegs
static const int WindowOverlap
MemberEventWrapper<&ISA::processSTickCompare > STickCompareEvent
uint64_t fsr
Floating point misc registers.
static const int TotalGlobals
void setMiscReg(RegIndex idx, RegVal val) override
TickCompareEvent * tickCompare
RegVal readMiscReg(RegIndex idx) override
RegIndex intRegMap[TotalInstIntRegs]
void serialize(CheckpointOut &cp) const override
Serialize an object.
HSTickCompareEvent * hSTickCompare
PCStateBase * newPCState(Addr new_inst_addr=0) const override
bool inUserMode() const override
static const int TotalWindowed
HPSTATE hpstate
Hyperprivileged Registers.
static const int NumGlobalRegs
MemberEventWrapper<&ISA::processHSTickCompare > HSTickCompareEvent
uint64_t getExecutingAsid() const override
void setFSReg(int miscReg, RegVal val)
void processHSTickCompare()
MemberEventWrapper<&ISA::processTickCompare > TickCompareEvent
RegVal readMiscRegNoEffect(RegIndex idx) const override
const RegIndex & mapIntRegId(RegIndex idx) const
void installGlobals(int gl, int offset)
void processSTickCompare()
void processTickCompare()
Process a tick compare event and generate an interrupt on the cpu if appropriate.
RegVal readFSReg(int miscReg)
void setMiscRegNoEffect(RegIndex idx, RegVal val) override
ThreadContext is the external interface to all thread state for anything outside of the CPU.
@ MISCREG_HPSTATE
Hyper privileged registers.
@ MISCREG_MMU_P_CONTEXT
MMU Internal Registers.
GenericISA::DelaySlotUPCState< 4 > PCState
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::ostream CheckpointOut
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.