gem5 v24.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. | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. | |
BankedRegs () | |
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 | |
uint32_t | intEnabled |
GICD_I{S,C}ENABLER0 interrupt enable bits for first 32 interrupts, 1b per interrupt. | |
uint32_t | pendingInt |
GICD_I{S,C}PENDR0 interrupt pending bits for first 32 interrupts, 1b per interrupt. | |
uint32_t | activeInt |
GICD_I{S,C}ACTIVER0 interrupt active bits for first 32 interrupts, 1b per interrupt. | |
uint32_t | intGroup |
GICD_IGROUPR0 interrupt group bits for first 32 interrupts, 1b per interrupt. | |
uint32_t | intConfig [2] |
GICD_ICFGR0, GICD_ICFGR1 interrupt config bits for first 32 interrupts, 2b per interrupt. | |
uint8_t | intPriority [SGI_MAX+PPI_MAX] |
GICD_IPRIORITYR{0..7} interrupt priority for SGIs and PPIs. | |
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. | |
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 gem5::Serializable.
Definition at line 1226 of file gic_v2.cc.
References activeInt, intConfig, intEnabled, intGroup, intPriority, pendingInt, gem5::GicV2::PPI_MAX, SERIALIZE_ARRAY, SERIALIZE_SCALAR, and gem5::GicV2::SGI_MAX.
|
overridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
cp | Checkpoint state |
Implements gem5::Serializable.
Definition at line 1286 of file gic_v2.cc.
References gem5::GicV2::activeInt, gem5::GicV2::intConfig, gem5::GicV2::intEnabled, gem5::GicV2::intGroup, gem5::GicV2::intPriority, gem5::GicV2::pendingInt, gem5::GicV2::PPI_MAX, gem5::GicV2::SGI_MAX, UNSERIALIZE_ARRAY, and UNSERIALIZE_SCALAR.
Referenced by gem5::GicV2::unserialize().
uint32_t gem5::GicV2::BankedRegs::activeInt |
GICD_I{S,C}ACTIVER0 interrupt active bits for first 32 interrupts, 1b per interrupt.
Definition at line 224 of file gic_v2.hh.
Referenced by gem5::GicV2::getActiveInt(), and serialize().
uint32_t gem5::GicV2::BankedRegs::intConfig[2] |
GICD_ICFGR0, GICD_ICFGR1 interrupt config bits for first 32 interrupts, 2b per interrupt.
Definition at line 232 of file gic_v2.hh.
Referenced by gem5::GicV2::getIntConfig(), and serialize().
uint32_t gem5::GicV2::BankedRegs::intEnabled |
GICD_I{S,C}ENABLER0 interrupt enable bits for first 32 interrupts, 1b per interrupt.
Definition at line 216 of file gic_v2.hh.
Referenced by gem5::GicV2::getIntEnabled(), and serialize().
uint32_t gem5::GicV2::BankedRegs::intGroup |
GICD_IGROUPR0 interrupt group bits for first 32 interrupts, 1b per interrupt.
Definition at line 228 of file gic_v2.hh.
Referenced by gem5::GicV2::getIntGroup(), and serialize().
GICD_IPRIORITYR{0..7} interrupt priority for SGIs and PPIs.
Definition at line 236 of file gic_v2.hh.
Referenced by gem5::GicV2::getIntPriority(), and serialize().
uint32_t gem5::GicV2::BankedRegs::pendingInt |
GICD_I{S,C}PENDR0 interrupt pending bits for first 32 interrupts, 1b per interrupt.
Definition at line 220 of file gic_v2.hh.
Referenced by gem5::GicV2::getPendingInt(), and serialize().