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

Abstract base class for interrupt-handlers. More...

#include <InterruptHandler.h>

+ Inheritance diagram for InterruptHandler:
+ Collaboration diagram for InterruptHandler:

Public Member Functions

virtual void interrupt (size_t nInterruptNumber, InterruptState &state)=0
 

Protected Member Functions

virtual ~InterruptHandler ()
 

Detailed Description

Abstract base class for interrupt-handlers.

Abstract base class for all interrupt-handlers. All interrupt-handlers must be derived from this class

Definition at line 32 of file InterruptHandler.h.

Constructor & Destructor Documentation

InterruptHandler::~InterruptHandler ( )
protectedvirtualdefault

Virtual destructor

Member Function Documentation

virtual void InterruptHandler::interrupt ( size_t  nInterruptNumber,
InterruptState &  state 
)
pure virtual

Called when the handler is registered with the interrupt manager and the interrupt occurred

Parameters
[in]nInterruptNumberthe interrupt number
[in]statereference to the state before the interrupt

Implemented in GPTimer, OpenPic, Pic, HostedIrqManager, Heathrow, MIPS32TlbManager, Pic, PageFaultHandler, CountCompareTimer, Debugger, Decrementer, NMFaultHandler, and ArmBeagleSerial.

Referenced by HostedInterruptManager::interrupt(), X64InterruptManager::interrupt(), and X86InterruptManager::interrupt().

+ Here is the caller graph for this function:


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