gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::copy_engine_reg::ChanRegs Struct Reference

#include <copy_engine_defs.hh>

Inheritance diagram for gem5::copy_engine_reg::ChanRegs:
gem5::Serializable

Classes

struct  CHANCMD
struct  CHANCTRL
struct  CHANERR
struct  CHANSTS

Public Member Functions

void serialize (CheckpointOut &cp) const override
 Serialize an object.
void unserialize (CheckpointIn &cp) override
 Unserialize an object.
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.
void serializeSection (CheckpointOut &cp, const std::string &name) const
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object.
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 gem5::Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section.
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it.

Detailed Description

Definition at line 153 of file copy_engine_defs.hh.

Member Function Documentation

◆ serialize()

void gem5::copy_engine_reg::ChanRegs::serialize ( CheckpointOut & cp) const
inlineoverridevirtual

Serialize an object.

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

Parameters
cpCheckpoint state

Implements gem5::Serializable.

Definition at line 216 of file copy_engine_defs.hh.

References command, completionAddr, ctrl, descChainAddr, error, gem5::paramOut(), SERIALIZE_SCALAR, and status.

◆ unserialize()

void gem5::copy_engine_reg::ChanRegs::unserialize ( CheckpointIn & cp)
inlineoverridevirtual

Unserialize an object.

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

Parameters
cpCheckpoint state

Implements gem5::Serializable.

Definition at line 226 of file copy_engine_defs.hh.

References command, completionAddr, ctrl, descChainAddr, error, gem5::paramIn(), status, and UNSERIALIZE_SCALAR.

Member Data Documentation

◆ command

CHANCMD gem5::copy_engine_reg::ChanRegs::command

Definition at line 190 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ completionAddr

uint64_t gem5::copy_engine_reg::ChanRegs::completionAddr

Definition at line 192 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ ctrl

CHANCTRL gem5::copy_engine_reg::ChanRegs::ctrl

Definition at line 166 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ descChainAddr

uint64_t gem5::copy_engine_reg::ChanRegs::descChainAddr

Definition at line 178 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ error

CHANERR gem5::copy_engine_reg::ChanRegs::error

Definition at line 214 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().

◆ status

CHANSTS gem5::copy_engine_reg::ChanRegs::status

Definition at line 176 of file copy_engine_defs.hh.

Referenced by serialize(), and unserialize().


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

Generated on Sat Oct 18 2025 08:06:58 for gem5 by doxygen 1.14.0