|
gem5
v20.1.0.5
|
Model base class for a single uni-directional link. More...
#include <dist_etherlink.hh>
Public Member Functions | |
| Link (const std::string &name, DistEtherLink *p, EtherDump *d, Event *e) | |
| ~Link () | |
| const std::string | name () const |
| bool | busy () const |
| void | setLocalInt (LocalIface *i) |
| void | serialize (CheckpointOut &cp) const override |
| Serialize an object. More... | |
| void | unserialize (CheckpointIn &cp) override |
| Unserialize an object. More... | |
Public Member Functions inherited from 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) |
Protected Attributes | |
| std::string | objName |
| DistEtherLink * | parent |
| LocalIface * | localIface |
| EtherDump * | dump |
| DistIface * | distIface |
| Event * | event |
| EthPacketPtr | packet |
Additional Inherited Members | |
Static Public Member Functions inherited from Serializable | |
| static const std::string & | currentSection () |
| Gets the fully-qualified name of the active section. More... | |
| static void | serializeAll (const std::string &cpt_dir) |
| Serializes all the SimObjects. More... | |
| static void | unserializeGlobals (CheckpointIn &cp) |
Model base class for a single uni-directional link.
The link will encapsulate and transfer Ethernet packets to/from the message server.
Definition at line 73 of file dist_etherlink.hh.
|
inline |
Definition at line 85 of file dist_etherlink.hh.
|
inline |
Definition at line 90 of file dist_etherlink.hh.
|
inline |
Definition at line 93 of file dist_etherlink.hh.
References packet.
Referenced by DistEtherLink::LocalIface::isBusy().
|
inline |
Definition at line 92 of file dist_etherlink.hh.
References objName.
|
overridevirtual |
Serialize an object.
Output an object's state into the current checkpoint section.
| cp | Checkpoint state |
Implements Serializable.
Definition at line 210 of file dist_etherlink.cc.
References SERIALIZE_SCALAR.
|
inline |
Definition at line 94 of file dist_etherlink.hh.
References ArmISA::i, and localIface.
Referenced by DistEtherLink::LocalIface::LocalIface().
|
overridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
| cp | Checkpoint state |
Implements Serializable.
Definition at line 226 of file dist_etherlink.cc.
References MipsISA::event, and UNSERIALIZE_SCALAR.
|
protected |
Definition at line 80 of file dist_etherlink.hh.
Referenced by DistEtherLink::TxLink::setDistInt(), and DistEtherLink::RxLink::setDistInt().
|
protected |
Definition at line 79 of file dist_etherlink.hh.
|
protected |
Definition at line 81 of file dist_etherlink.hh.
|
protected |
Definition at line 78 of file dist_etherlink.hh.
Referenced by setLocalInt().
|
protected |
Definition at line 76 of file dist_etherlink.hh.
Referenced by name().
|
protected |
Definition at line 82 of file dist_etherlink.hh.
Referenced by busy().
|
protected |
Definition at line 77 of file dist_etherlink.hh.