34#ifndef __ARCH_RISCV_ISA_HH__
35#define __ARCH_RISCV_ISA_HH__
37#include <unordered_map>
87 void clear()
override;
112 virtual const std::unordered_map<int, CSRMetadata>&
117 virtual const std::unordered_map<int, RegVal>&
136 Addr cacheBlockMask)
override;
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
virtual const std::unordered_map< int, CSRMetadata > & getCSRDataMap() const
void setMiscReg(RegIndex idx, RegVal val) override
void handleLockedSnoop(PacketPtr pkt, Addr cacheBlockMask) override
virtual const std::unordered_map< int, RegVal > & getCSRMaskMap() const
RegVal readMiscReg(RegIndex idx) override
void globalClearExclusive() override
void serialize(CheckpointOut &cp) const override
Serialize an object.
void resetThread() override
bool alignmentCheckEnabled() const
void setMiscRegNoEffect(RegIndex idx, RegVal val) override
PCStateBase * newPCState(Addr new_inst_addr=0) const override
RegVal readMiscRegNoEffect(RegIndex idx) const override
bool hpmCounterEnabled(int counter) const
void copyRegsFrom(ThreadContext *src) override
bool handleLockedWrite(const RequestPtr &req, Addr cacheBlockMask) override
void clearLoadReservation(ContextID cid) override
std::vector< RegVal > miscRegFile
bool inUserMode() const override
void unserialize(CheckpointIn &cp) override
Unserialize an object.
const Addr INVALID_RESERVATION_ADDR
std::unordered_map< int, Addr > load_reservation_addrs
void handleLockedRead(const RequestPtr &req) override
ThreadContext is the external interface to all thread state for anything outside of the CPU.
enums::RiscvType RiscvType
const std::unordered_map< int, CSRMetadata > CSRData
const std::unordered_map< int, RegVal > CSRMasks[enums::Num_RiscvType]
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
std::shared_ptr< Request > RequestPtr
std::ostream CheckpointOut
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
std::ostream & operator<<(std::ostream &os, const ArmSemihosting::InPlaceArg &ipa)
int ContextID
Globally unique thread context ID.