gem5  v21.1.0.2
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
gem5::ArmSigInterruptPin Class Reference

#include <base_gic.hh>

Inheritance diagram for gem5::ArmSigInterruptPin:
gem5::ArmInterruptPin gem5::Serializable

Public Member Functions

void raise () override
 Signal an interrupt. More...
 
void clear () override
 Clear a signalled interrupt. More...
 
- Public Member Functions inherited from gem5::ArmInterruptPin
void setThreadContext (ThreadContext *tc)
 Set the thread context owning this interrupt. More...
 
uint32_t num () const
 Get interrupt number. More...
 
bool active () const
 True if interrupt pin is active, false otherwise. More...
 
void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
- 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. 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)
 

Private Member Functions

 ArmSigInterruptPin (const ArmSigInterruptPinParams &p)
 

Private Attributes

std::vector< std::unique_ptr< IntSourcePin< ArmSigInterruptPinGen > > > sigPin
 

Friends

class ArmSigInterruptPinGen
 

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. More...
 
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it. More...
 
- Protected Member Functions inherited from gem5::ArmInterruptPin
 ArmInterruptPin (const ArmInterruptPinParams &p, ThreadContext *tc)
 
ContextID targetContext () const
 Get the target context ID of this interrupt. More...
 
- Protected Attributes inherited from gem5::ArmInterruptPin
const ThreadContextthreadContext
 Pointer to the thread context that owns this interrupt in case it is a thread-/CPU-private interrupt. More...
 
RealView *const platform
 Arm platform to use for interrupt generation. More...
 
const uint32_t intNum
 Interrupt number to generate. More...
 
const ArmInterruptType triggerType
 Interrupt triggering type. More...
 
bool _active
 True if interrupt pin is active, false otherwise. More...
 

Detailed Description

Definition at line 281 of file base_gic.hh.

Constructor & Destructor Documentation

◆ ArmSigInterruptPin()

gem5::ArmSigInterruptPin::ArmSigInterruptPin ( const ArmSigInterruptPinParams &  p)
private

Definition at line 228 of file base_gic.cc.

Member Function Documentation

◆ clear()

void gem5::ArmSigInterruptPin::clear ( )
overridevirtual

Clear a signalled interrupt.

Implements gem5::ArmInterruptPin.

Definition at line 242 of file base_gic.cc.

References gem5::ArmInterruptPin::_active, and sigPin.

◆ raise()

void gem5::ArmSigInterruptPin::raise ( )
overridevirtual

Signal an interrupt.

Implements gem5::ArmInterruptPin.

Definition at line 233 of file base_gic.cc.

References gem5::ArmInterruptPin::_active, and sigPin.

Friends And Related Function Documentation

◆ ArmSigInterruptPinGen

friend class ArmSigInterruptPinGen
friend

Definition at line 283 of file base_gic.hh.

Member Data Documentation

◆ sigPin

std::vector<std::unique_ptr<IntSourcePin<ArmSigInterruptPinGen> > > gem5::ArmSigInterruptPin::sigPin
private

Definition at line 287 of file base_gic.hh.

Referenced by clear(), gem5::ArmSigInterruptPinGen::getPort(), and raise().


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

Generated on Tue Sep 21 2021 12:27:14 for gem5 by doxygen 1.8.17