|
gem5 [DEVELOP-FOR-25.0]
|
#include <base_gic.hh>
Public Member Functions | |
| void | raise () override |
| Signal an interrupt. | |
| void | clear () override |
| Clear a signalled interrupt. | |
Public Member Functions inherited from gem5::ArmInterruptPin | |
| void | setThreadContext (ThreadContext *tc) |
| Set the thread context owning this interrupt. | |
| uint32_t | num () const |
| Get interrupt number. | |
| bool | active () const |
| True if interrupt pin is active, false otherwise. | |
| 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) |
Private Member Functions | |
| ArmSPI (const ArmSPIParams &p) | |
Friends | |
| class | ArmSPIGen |
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. | |
Protected Member Functions inherited from gem5::ArmInterruptPin | |
| ArmInterruptPin (const ArmInterruptPinParams &p, ThreadContext *tc) | |
| ContextID | targetContext () const |
| Get the target context ID of this interrupt. | |
Protected Attributes inherited from gem5::ArmInterruptPin | |
| const ThreadContext * | threadContext |
| Pointer to the thread context that owns this interrupt in case it is a thread-/CPU-private interrupt. | |
| RealView *const | platform |
| Arm platform to use for interrupt generation. | |
| const uint32_t | intNum |
| Interrupt number to generate. | |
| const ArmInterruptType | triggerType |
| Interrupt triggering type. | |
| bool | _active |
| True if interrupt pin is active, false otherwise. | |
Definition at line 258 of file base_gic.hh.
|
private |
Definition at line 188 of file base_gic.cc.
References gem5::ArmInterruptPin::ArmInterruptPin(), fatal_if, gem5::MipsISA::p, and gem5::ArmInterruptPin::platform.
|
overridevirtual |
Clear a signalled interrupt.
Implements gem5::ArmInterruptPin.
Definition at line 203 of file base_gic.cc.
References gem5::ArmInterruptPin::_active, gem5::ArmInterruptPin::intNum, and gem5::ArmInterruptPin::platform.
|
overridevirtual |
Signal an interrupt.
Implements gem5::ArmInterruptPin.
Definition at line 196 of file base_gic.cc.
References gem5::ArmInterruptPin::_active, gem5::ArmInterruptPin::intNum, and gem5::ArmInterruptPin::platform.
|
friend |
Definition at line 260 of file base_gic.hh.
References ArmSPIGen, and gem5::MipsISA::p.
Referenced by ArmSPIGen.