gem5
v19.0.0.0
|
Registers "banked for each connected processor" per ARM IHI0048B. More...
#include <gic_v2.hh>
Public Member Functions | |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
BankedRegs () | |
![]() | |
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... | |
uint32_t | intGroup |
GICD_IGROUPR0 interrupt group 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 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 int | ckptCount = 0 |
static int | ckptMaxCount = 0 |
static int | ckptPrevCount = -1 |
Registers "banked for each connected processor" per ARM IHI0048B.
|
overridevirtual |
Serialize an object.
Output an object's state into the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 1022 of file gic_v2.cc.
References GicV2::activeInt, GicV2::intEnabled, GicV2::intGroup, GicV2::intPriority, GicV2::pendingInt, GicV2::PPI_MAX, SERIALIZE_ARRAY, SERIALIZE_SCALAR, and GicV2::SGI_MAX.
|
overridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 1081 of file gic_v2.cc.
References GicV2::activeInt, GicV2::GicV2(), GicV2::intEnabled, GicV2::intGroup, GicV2::intPriority, GicV2::pendingInt, GicV2::PPI_MAX, GicV2::SGI_MAX, UNSERIALIZE_ARRAY, and UNSERIALIZE_SCALAR.
Referenced by GicV2::unserialize().
uint32_t GicV2::BankedRegs::activeInt |
GICD_I{S,C}ACTIVER0 interrupt active bits for first 32 interrupts, 1b per interrupt.
Definition at line 191 of file gic_v2.hh.
Referenced by GicV2::getActiveInt().
uint32_t GicV2::BankedRegs::intEnabled |
GICD_I{S,C}ENABLER0 interrupt enable bits for first 32 interrupts, 1b per interrupt.
Definition at line 183 of file gic_v2.hh.
Referenced by GicV2::getIntEnabled().
uint32_t GicV2::BankedRegs::intGroup |
GICD_IGROUPR0 interrupt group bits for first 32 interrupts, 1b per interrupt.
Definition at line 195 of file gic_v2.hh.
Referenced by GicV2::getIntGroup().
GICD_IPRIORITYR{0..7} interrupt priority for SGIs and PPIs.
Definition at line 199 of file gic_v2.hh.
Referenced by GicV2::getIntPriority().
uint32_t GicV2::BankedRegs::pendingInt |
GICD_I{S,C}PENDR0 interrupt pending bits for first 32 interrupts, 1b per interrupt.
Definition at line 187 of file gic_v2.hh.
Referenced by GicV2::getPendingInt().