virtual RegVal readMiscReg(RegIndex misc_reg)=0
virtual const PCStateBase & pcState() const =0
constexpr T mbits(T val, unsigned first, unsigned last)
Mask off the given bits in place like bits() but without shifting.
ThreadContext is the external interface to all thread state for anything outside of the CPU.
virtual RegVal readIntReg(RegIndex reg_idx) const =0
virtual Process * getProcessPtr()=0