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

#include <IrqHandler.h>

+ Inheritance diagram for IrqHandler:
+ Collaboration diagram for IrqHandler:

Public Member Functions

virtual IrqDisposition irq (irq_id_t number)=0
 
virtual bool acceptsSpuriousInterrupts () const
 

Protected Member Functions

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

Detailed Description

Normal IRQ callback interface.

Callbacks run in an ordinary kernel thread after the hard interrupt path has recorded the physical-line event. They may use thread-context APIs and are deliberately not given the interrupted processor state.

Definition at line 73 of file IrqHandler.h.

Constructor & Destructor Documentation

◆ ~IrqHandler()

IrqHandler::~IrqHandler ( )
protectedvirtualdefault

Virtual destructor

Member Function Documentation

◆ acceptsSpuriousInterrupts()

virtual bool IrqHandler::acceptsSpuriousInterrupts ( ) const
inlinevirtual

A recyclable message vector may deliver a late edge from its previous source. Opt in only when the callback verifies its own device's pending work and an empty invocation has no side effects.

Reimplemented in AhciController, and NvmeController.

Definition at line 83 of file IrqHandler.h.

Referenced by VirtIrqManager::registerPciMsixIrqHandlers().

+ Here is the caller graph for this function:

◆ irq()

virtual IrqDisposition IrqHandler::irq ( irq_id_t  number)
pure virtual

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