virtual RegVal readMiscReg(RegIndex misc_reg)=0
virtual RegVal getReg(const RegId ®) const
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 Process * getProcessPtr()=0