|
gem5
v21.1.0.2
|
#include <pcstate.hh>
Public Member Functions | |
| PCState () | |
| void | set (Addr val) |
| PCState (Addr val) | |
| ByteOrder | byteOrder () const |
| void | byteOrder (ByteOrder order) |
Public Member Functions inherited from gem5::GenericISA::SimplePCState< 4 > | |
| Addr | pc () const |
| void | pc (Addr val) |
| Addr | npc () const |
| void | npc (Addr val) |
| void | set (Addr val) |
| void | setNPC (Addr val) |
| SimplePCState () | |
| SimplePCState (Addr val) | |
| bool | branching () const |
| void | advance () |
Public Member Functions inherited from gem5::GenericISA::PCStateBase | |
| Addr | instAddr () const |
| Returns the memory address the bytes of this instruction came from. More... | |
| Addr | nextInstAddr () const |
| Returns the memory address the bytes of the next instruction came from. More... | |
| MicroPC | microPC () const |
| Returns the current micropc. More... | |
| void | set (Addr val) |
| Force this PC to reflect a particular value, resetting all its other fields around it. More... | |
| bool | operator== (const PCStateBase &opc) const |
| bool | operator!= (const PCStateBase &opc) const |
| void | serialize (CheckpointOut &cp) const override |
| Serialize an object. More... | |
| void | unserialize (CheckpointIn &cp) override |
| Unserialize an object. More... | |
Public Member Functions inherited from gem5::Serializable | |
| Serializable () | |
| virtual | ~Serializable () |
| void | serializeSection (CheckpointOut &cp, const char *name) const |
| Serialize an object into a new section. More... | |
| void | serializeSection (CheckpointOut &cp, const std::string &name) const |
| void | unserializeSection (CheckpointIn &cp, const char *name) |
| Unserialize an a child object. More... | |
| void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Private Types | |
| typedef GenericISA::SimplePCState< 4 > | Base |
Private Attributes | |
| ByteOrder | guestByteOrder = ByteOrder::big |
Additional Inherited Members | |
Static Public Member Functions inherited from gem5::Serializable | |
| static const std::string & | currentSection () |
| Gets the fully-qualified name of the active section. More... | |
| static void | generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream) |
| Generate a checkpoint file so that the serialization can be routed to it. More... | |
Protected Types inherited from gem5::GenericISA::SimplePCState< 4 > | |
| typedef PCStateBase | Base |
Protected Member Functions inherited from gem5::GenericISA::PCStateBase | |
| PCStateBase () | |
| PCStateBase (Addr val) | |
Protected Attributes inherited from gem5::GenericISA::PCStateBase | |
| Addr | _pc |
| Addr | _npc |
Definition at line 42 of file pcstate.hh.
|
private |
Definition at line 45 of file pcstate.hh.
|
inline |
Definition at line 49 of file pcstate.hh.
|
inline |
Definition at line 59 of file pcstate.hh.
References set(), and gem5::X86ISA::val.
|
inline |
Definition at line 65 of file pcstate.hh.
References guestByteOrder.
|
inline |
Definition at line 71 of file pcstate.hh.
References guestByteOrder.
|
inline |
Definition at line 53 of file pcstate.hh.
References gem5::GenericISA::SimplePCState< 4 >::npc(), gem5::GenericISA::SimplePCState< InstWidth >::set(), and gem5::X86ISA::val.
Referenced by PCState(), and gem5::ArmISA::SkipFunc::returnFromFuncIn().
|
private |
Definition at line 46 of file pcstate.hh.
Referenced by byteOrder().