gem5
|
#include <copy_engine_defs.hh>
Classes | |
struct | CHANCMD |
struct | CHANCTRL |
struct | CHANERR |
struct | CHANSTS |
Public Member Functions | |
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) |
Public Attributes | |
CHANCTRL | ctrl |
CHANSTS | status |
uint64_t | descChainAddr |
CHANCMD | command |
uint64_t | completionAddr |
CHANERR | error |
Additional Inherited Members | |
Static Public Member Functions inherited from Serializable | |
static const std::string & | currentSection () |
Get the fully-qualified name of the active section. More... | |
static void | serializeAll (const std::string &cpt_dir) |
static void | unserializeGlobals (CheckpointIn &cp) |
Static Public Attributes inherited from Serializable | |
static int | ckptCount = 0 |
static int | ckptMaxCount = 0 |
static int | ckptPrevCount = -1 |
Definition at line 146 of file copy_engine_defs.hh.
|
inlineoverridevirtual |
Serialize an object.
Output an object's state into the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 200 of file copy_engine_defs.hh.
References CopyEngineReg::Reg< T >::_data, command, completionAddr, ctrl, descChainAddr, error, paramOut(), SERIALIZE_SCALAR, and status.
|
inlineoverridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 210 of file copy_engine_defs.hh.
References CopyEngineReg::Reg< T >::_data, command, completionAddr, ctrl, descChainAddr, error, paramIn(), status, and UNSERIALIZE_SCALAR.
CHANCMD CopyEngineReg::ChanRegs::command |
Definition at line 176 of file copy_engine_defs.hh.
Referenced by serialize(), and unserialize().
uint64_t CopyEngineReg::ChanRegs::completionAddr |
Definition at line 178 of file copy_engine_defs.hh.
Referenced by CopyEngine::CopyEngineChannel::CopyEngineChannel(), serialize(), and unserialize().
CHANCTRL CopyEngineReg::ChanRegs::ctrl |
Definition at line 156 of file copy_engine_defs.hh.
Referenced by serialize(), and unserialize().
uint64_t CopyEngineReg::ChanRegs::descChainAddr |
Definition at line 166 of file copy_engine_defs.hh.
Referenced by CopyEngine::CopyEngineChannel::CopyEngineChannel(), serialize(), and unserialize().
CHANERR CopyEngineReg::ChanRegs::error |
Definition at line 198 of file copy_engine_defs.hh.
Referenced by serialize(), and unserialize().
CHANSTS CopyEngineReg::ChanRegs::status |
Definition at line 164 of file copy_engine_defs.hh.
Referenced by CopyEngine::CopyEngineChannel::CopyEngineChannel(), serialize(), and unserialize().