Go to the documentation of this file.
29 #ifndef __ARCH_X86_ISA_HH__
30 #define __ARCH_X86_ISA_HH__
57 SegAttr csAttr, SegAttr ssAttr, RFLAGS rflags);
67 return new PCState(new_inst_addr);
120 return m5reg.cpl == 3;
void copyRegsFrom(ThreadContext *src) override
@ CCRegClass
Condition-code register.
int flattenMiscIndex(int reg) const
void setMiscReg(int miscReg, RegVal val)
int flattenVecElemIndex(int reg) const
void serialize(CheckpointOut &cp) const override
Serialize an object.
int flattenFloatIndex(int reg) const
@ FloatRegClass
Floating-point register.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
ThreadContext is the external interface to all thread state for anything outside of the CPU.
RegVal readMiscRegNoEffect(int miscReg) const
PCStateBase * newPCState(Addr new_inst_addr=0) const override
void setThreadContext(ThreadContext *_tc) override
GenericISA::DelaySlotPCState< 4 > PCState
static RegId stack(int index, int top)
RegVal readMiscReg(int miscReg)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
int flattenCCIndex(int reg) const
std::string getVendorString() const
int flattenVecIndex(int reg) const
RegVal regVal[misc_reg::NumRegs]
@ IntRegClass
Integer register.
RegId flattenRegId(const RegId ®Id) const
@ MiscRegClass
Control (misc) register.
void updateHandyM5Reg(Efer efer, CR0 cr0, SegAttr csAttr, SegAttr ssAttr, RFLAGS rflags)
std::ostream CheckpointOut
constexpr RegIndex IntFoldBit
int flattenVecPredIndex(int reg) const
constexpr RegIndex index() const
Index accessors.
void setMiscRegNoEffect(int miscReg, RegVal val)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
constexpr RegClassType classValue() const
Class accessor.
int flattenIntIndex(int reg) const
Register ID: describe an architectural register with its class and index.
bool inUserMode() const override
Generated on Thu Jul 28 2022 13:32:22 for gem5 by doxygen 1.8.17