Go to the documentation of this file.
34 #ifndef __ARCH_RISCV_ISA_HH__
35 #define __ARCH_RISCV_ISA_HH__
47 struct RiscvISAParams;
83 return new PCState(new_inst_addr);
112 Addr cacheBlockMask)
override;
124 #endif // __ARCH_RISCV_ISA_HH__
bool inUserMode() const override
int flattenFloatIndex(int reg) const
void copyRegsFrom(ThreadContext *src) override
int flattenIntIndex(int reg) const
int flattenCCIndex(int reg) const
RegVal readMiscReg(int misc_reg)
ThreadContext is the external interface to all thread state for anything outside of the CPU.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
GenericISA::DelaySlotPCState< 4 > PCState
void unserialize(CheckpointIn &cp) override
Unserialize an object.
PCStateBase * newPCState(Addr new_inst_addr=0) const override
RegId flattenRegId(const RegId ®Id) const
std::shared_ptr< Request > RequestPtr
RegVal readMiscRegNoEffect(int misc_reg) const
std::vector< RegVal > miscRegFile
void handleLockedRead(const RequestPtr &req) override
void handleLockedSnoop(PacketPtr pkt, Addr cacheBlockMask) override
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
int flattenMiscIndex(int reg) const
std::ostream & operator<<(std::ostream &os, gem5::RiscvISA::PrivilegeMode pm)
int flattenVecElemIndex(int reg) const
void serialize(CheckpointOut &cp) const override
Serialize an object.
void globalClearExclusive() override
int flattenVecPredIndex(int reg) const
std::ostream CheckpointOut
void setMiscReg(int misc_reg, RegVal val)
int flattenVecIndex(int reg) const
bool handleLockedWrite(const RequestPtr &req, Addr cacheBlockMask) override
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
bool hpmCounterEnabled(int counter) const
Register ID: describe an architectural register with its class and index.
void setMiscRegNoEffect(int misc_reg, RegVal val)
Generated on Thu Jul 28 2022 13:32:22 for gem5 by doxygen 1.8.17