Go to the documentation of this file.
34 #ifndef __ARCH_RISCV_ISA_HH__
35 #define __ARCH_RISCV_ISA_HH__
37 #include <unordered_map>
49 struct RiscvISAParams;
87 void clear()
override;
105 virtual const std::unordered_map<int, CSRMetadata>&
110 virtual const std::unordered_map<int, RegVal>&
129 Addr cacheBlockMask)
override;
146 #endif // __ARCH_RISCV_ISA_HH__
bool alignmentCheckEnabled() const
bool inUserMode() const override
void copyRegsFrom(ThreadContext *src) override
const Addr INVALID_RESERVATION_ADDR
std::unordered_map< int, Addr > load_reservation_addrs
ThreadContext is the external interface to all thread state for anything outside of the CPU.
virtual const std::unordered_map< int, CSRMetadata > & getCSRDataMap() const
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
std::shared_ptr< Request > RequestPtr
std::vector< RegVal > miscRegFile
RegVal readMiscReg(RegIndex idx) override
void handleLockedRead(const RequestPtr &req) override
void setMiscRegNoEffect(RegIndex idx, RegVal val) override
void handleLockedSnoop(PacketPtr pkt, Addr cacheBlockMask) override
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
std::ostream & operator<<(std::ostream &os, gem5::RiscvISA::PrivilegeMode pm)
void setMiscReg(RegIndex idx, RegVal val) override
void resetThread() override
enums::RiscvType RiscvType
void serialize(CheckpointOut &cp) const override
Serialize an object.
void globalClearExclusive() override
std::ostream CheckpointOut
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
const std::unordered_map< int, CSRMetadata > CSRData
virtual const std::unordered_map< int, RegVal > & getCSRMaskMap() const
RegVal readMiscRegNoEffect(RegIndex idx) const override
const std::unordered_map< int, RegVal > CSRMasks[enums::Num_RiscvType]
Generated on Sun Jul 30 2023 01:56:47 for gem5 by doxygen 1.8.17