gem5  v20.1.0.0
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 ()
 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)
 

Detailed Description

Definition at line 144 of file copy_engine_defs.hh.

Member Function Documentation

◆ serialize()

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 198 of file copy_engine_defs.hh.

References CopyEngineReg::Reg< T >::_data, command, completionAddr, ctrl, descChainAddr, error, paramOut(), SERIALIZE_SCALAR, and status.

◆ unserialize()

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 208 of file copy_engine_defs.hh.

References CopyEngineReg::Reg< T >::_data, command, completionAddr, ctrl, descChainAddr, error, paramIn(), status, and UNSERIALIZE_SCALAR.

Member Data Documentation

◆ command

CHANCMD CopyEngineReg::ChanRegs::command

Definition at line 174 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ completionAddr

uint64_t CopyEngineReg::ChanRegs::completionAddr

Definition at line 176 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ ctrl

CHANCTRL CopyEngineReg::ChanRegs::ctrl

Definition at line 154 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ descChainAddr

uint64_t CopyEngineReg::ChanRegs::descChainAddr

Definition at line 164 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ error

CHANERR CopyEngineReg::ChanRegs::error

Definition at line 196 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ status

CHANSTS CopyEngineReg::ChanRegs::status

Definition at line 162 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().


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

Generated on Wed Sep 30 2020 14:02:39 for gem5 by doxygen 1.8.17