gem5  v20.1.0.0
Classes | Public Member Functions | Public Attributes | List of all members
CopyEngineReg::Regs Struct Reference

#include <copy_engine_defs.hh>

Inheritance diagram for CopyEngineReg::Regs:
Serializable

Classes

struct  INTRCTRL
 

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

uint8_t chanCount
 
uint8_t xferCap
 
INTRCTRL intrctrl
 
uint32_t attnStatus
 

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

Member Function Documentation

◆ serialize()

void CopyEngineReg::Regs::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 126 of file copy_engine_defs.hh.

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

Referenced by CopyEngine::serialize().

◆ unserialize()

void CopyEngineReg::Regs::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 134 of file copy_engine_defs.hh.

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

Referenced by CopyEngine::unserialize().

Member Data Documentation

◆ attnStatus

uint32_t CopyEngineReg::Regs::attnStatus

◆ chanCount

uint8_t CopyEngineReg::Regs::chanCount

◆ intrctrl

INTRCTRL CopyEngineReg::Regs::intrctrl

Definition at line 122 of file copy_engine_defs.hh.

Referenced by CopyEngine::read(), serialize(), unserialize(), and CopyEngine::write().

◆ xferCap

uint8_t CopyEngineReg::Regs::xferCap

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