gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Public Attributes | List of all members
CopyEngineReg::ChanRegs Struct Reference

#include <copy_engine_defs.hh>

Inheritance diagram for CopyEngineReg::ChanRegs:
Serializable

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
 

Detailed Description

Definition at line 146 of file copy_engine_defs.hh.

Member Function Documentation

void CopyEngineReg::ChanRegs::serialize ( CheckpointOut cp) const
inlineoverridevirtual

Serialize an object.

Output an object's state into the current checkpoint section.

Parameters
cpCheckpoint 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.

void CopyEngineReg::ChanRegs::unserialize ( CheckpointIn cp)
inlineoverridevirtual

Unserialize an object.

Read an object's state from the current checkpoint section.

Parameters
cpCheckpoint 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.

Member Data Documentation

CHANCMD CopyEngineReg::ChanRegs::command

Definition at line 176 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

uint64_t CopyEngineReg::ChanRegs::completionAddr
CHANCTRL CopyEngineReg::ChanRegs::ctrl

Definition at line 156 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

uint64_t CopyEngineReg::ChanRegs::descChainAddr
CHANERR CopyEngineReg::ChanRegs::error

Definition at line 198 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

CHANSTS CopyEngineReg::ChanRegs::status

The documentation for this struct was generated from the following file:

Generated on Fri Jun 9 2017 13:04:30 for gem5 by doxygen 1.8.6