gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::copy_engine_reg::Regs Struct Reference

#include <copy_engine_defs.hh>

Inheritance diagram for gem5::copy_engine_reg::Regs:
gem5::Serializable

Classes

struct  INTRCTRL
 

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

uint8_t chanCount
 
uint8_t xferCap
 
INTRCTRL intrctrl
 
uint32_t attnStatus
 

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

Member Function Documentation

◆ serialize()

void gem5::copy_engine_reg::Regs::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 135 of file copy_engine_defs.hh.

References gem5::copy_engine_reg::Reg< T >::_data, attnStatus, chanCount, intrctrl, gem5::paramOut(), SERIALIZE_SCALAR, and xferCap.

Referenced by gem5::CopyEngine::serialize().

◆ unserialize()

void gem5::copy_engine_reg::Regs::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 143 of file copy_engine_defs.hh.

References gem5::copy_engine_reg::Reg< T >::_data, attnStatus, chanCount, intrctrl, gem5::paramIn(), UNSERIALIZE_SCALAR, and xferCap.

Referenced by gem5::CopyEngine::unserialize().

Member Data Documentation

◆ attnStatus

uint32_t gem5::copy_engine_reg::Regs::attnStatus

◆ chanCount

uint8_t gem5::copy_engine_reg::Regs::chanCount

◆ intrctrl

INTRCTRL gem5::copy_engine_reg::Regs::intrctrl

◆ xferCap

uint8_t gem5::copy_engine_reg::Regs::xferCap

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

Generated on Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0