gem5  v20.1.0.0
Public Member Functions | Private Member Functions | Friends | List of all members
ArmSPI Class Reference

#include <base_gic.hh>

Inheritance diagram for ArmSPI:
ArmInterruptPin Serializable

Public Member Functions

void raise () override
 Signal an interrupt. More...
 
void clear () override
 Clear a signalled interrupt. More...
 
- Public Member Functions inherited from 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 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

 ArmSPI (Platform *platform, uint32_t int_num)
 

Friends

class ArmSPIGen
 

Additional Inherited Members

- Static Public Member Functions inherited from Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section. More...
 
static void serializeAll (const std::string &cpt_dir)
 Serializes all the SimObjects. More...
 
static void unserializeGlobals (CheckpointIn &cp)
 
- Protected Member Functions inherited from ArmInterruptPin
 ArmInterruptPin (Platform *platform, ThreadContext *tc, uint32_t int_num)
 
ContextID targetContext () const
 Get the target context ID of this interrupt. More...
 
- Protected Attributes inherited from 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...
 
bool _active
 True if interrupt pin is active, false otherwise. More...
 

Detailed Description

Definition at line 233 of file base_gic.hh.

Constructor & Destructor Documentation

◆ ArmSPI()

ArmSPI::ArmSPI ( Platform platform,
uint32_t  int_num 
)
private

Definition at line 158 of file base_gic.cc.

Member Function Documentation

◆ clear()

void ArmSPI::clear ( )
overridevirtual

Clear a signalled interrupt.

Implements ArmInterruptPin.

Definition at line 172 of file base_gic.cc.

References ArmInterruptPin::_active, BaseGic::clearInt(), RealView::gic, ArmInterruptPin::intNum, and ArmInterruptPin::platform.

◆ raise()

void ArmSPI::raise ( )
overridevirtual

Signal an interrupt.

Implements ArmInterruptPin.

Definition at line 165 of file base_gic.cc.

References ArmInterruptPin::_active, RealView::gic, ArmInterruptPin::intNum, ArmInterruptPin::platform, and BaseGic::sendInt().

Friends And Related Function Documentation

◆ ArmSPIGen

friend class ArmSPIGen
friend

Definition at line 235 of file base_gic.hh.


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

Generated on Wed Sep 30 2020 14:02:20 for gem5 by doxygen 1.8.17