The Pedigree Project 0.1
Public Member Functions | Protected Member Functions | List of all members
HardIrqHandler Class Referenceabstract

#include <IrqHandler.h>

+ Inheritance diagram for HardIrqHandler:
+ Collaboration diagram for HardIrqHandler:

Public Member Functions

virtual HardIrqDisposition irq (irq_id_t number, InterruptState &state)=0
 

Protected Member Functions

virtual ~HardIrqHandler ()
 
- Protected Member Functions inherited from IrqHandlerBase
virtual ~IrqHandlerBase ()
 

Detailed Description

Explicit hard-IRQ callback interface.

Directly deriving from this class opts the whole callback into hard IRQ context, where it must not block, allocate, invoke arbitrary callbacks, or retain InterruptState. SplitIrqHandler is only for devices which require a mandatory hard top half; it is not the normal threaded-delivery API.

Definition at line 93 of file IrqHandler.h.

Constructor & Destructor Documentation

◆ ~HardIrqHandler()

HardIrqHandler::~HardIrqHandler ( )
protectedvirtualdefault

Virtual destructor

Member Function Documentation

◆ irq()

virtual HardIrqDisposition HardIrqHandler::irq ( irq_id_t  number,
InterruptState &  state 
)
pure virtual

Handles an IRQ synchronously in hard interrupt context.

Implemented in SplitIrqHandler.

Referenced by HostedIrqManager::interrupt().

+ Here is the caller graph for this function:

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