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

Registers "banked for each connected processor" per ARM IHI0048B. More...

#include <gic_pl390.hh>

Inheritance diagram for Pl390::BankedRegs:
Serializable

Public Member Functions

void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
 BankedRegs ()
 
- 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

uint32_t intEnabled
 GICD_I{S,C}ENABLER0 interrupt enable bits for first 32 interrupts, 1b per interrupt. More...
 
uint32_t pendingInt
 GICD_I{S,C}PENDR0 interrupt pending bits for first 32 interrupts, 1b per interrupt. More...
 
uint32_t activeInt
 GICD_I{S,C}ACTIVER0 interrupt active bits for first 32 interrupts, 1b per interrupt. More...
 
uint8_t intPriority [SGI_MAX+PPI_MAX]
 GICD_IPRIORITYR{0..7} interrupt priority for SGIs and PPIs. More...
 

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

Registers "banked for each connected processor" per ARM IHI0048B.

Definition at line 163 of file gic_pl390.hh.

Constructor & Destructor Documentation

Pl390::BankedRegs::BankedRegs ( )
inline

Definition at line 183 of file gic_pl390.hh.

Member Function Documentation

void Pl390::BankedRegs::serialize ( CheckpointOut cp) const
overridevirtual

Serialize an object.

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

Parameters
cpCheckpoint state

Implements Serializable.

Definition at line 903 of file gic_pl390.cc.

References activeInt, intEnabled, intPriority, pendingInt, Pl390::PPI_MAX, SERIALIZE_ARRAY, SERIALIZE_SCALAR, and Pl390::SGI_MAX.

void Pl390::BankedRegs::unserialize ( CheckpointIn cp)
overridevirtual

Unserialize an object.

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

Parameters
cpCheckpoint state

Implements Serializable.

Definition at line 961 of file gic_pl390.cc.

References Pl390::activeInt, Pl390::intEnabled, Pl390::intPriority, Pl390::pendingInt, Pl390::PPI_MAX, Pl390::SGI_MAX, UNSERIALIZE_ARRAY, and UNSERIALIZE_SCALAR.

Referenced by Pl390::unserialize().

Member Data Documentation

uint32_t Pl390::BankedRegs::activeInt

GICD_I{S,C}ACTIVER0 interrupt active bits for first 32 interrupts, 1b per interrupt.

Definition at line 174 of file gic_pl390.hh.

Referenced by Pl390::getActiveInt(), and serialize().

uint32_t Pl390::BankedRegs::intEnabled

GICD_I{S,C}ENABLER0 interrupt enable bits for first 32 interrupts, 1b per interrupt.

Definition at line 166 of file gic_pl390.hh.

Referenced by Pl390::getIntEnabled(), and serialize().

uint8_t Pl390::BankedRegs::intPriority[SGI_MAX+PPI_MAX]

GICD_IPRIORITYR{0..7} interrupt priority for SGIs and PPIs.

Definition at line 178 of file gic_pl390.hh.

Referenced by Pl390::getIntPriority(), and serialize().

uint32_t Pl390::BankedRegs::pendingInt

GICD_I{S,C}PENDR0 interrupt pending bits for first 32 interrupts, 1b per interrupt.

Definition at line 170 of file gic_pl390.hh.

Referenced by Pl390::getPendingInt(), and serialize().


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

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