StuBS
|
Default handler for (unconfigured) interrupt events. More...
#include <device/panic.h>
Public Member Functions | |
Panic () | |
Constructor. | |
bool | prologue () override |
Simplest possible interrupt handling: Displaying an error message and stopping the current core. | |
Public Member Functions inherited from Gate | |
Gate () | |
Constructor. | |
virtual | ~Gate () |
Destructor. | |
bool | is_queued () const |
Status about the epilogue. | |
void | set_queued (bool val) |
Set epilogue status. | |
virtual void | epilogue () |
Possibly delayed, synchronously executed Device-specific interrupt handling routine. | |
Private Member Functions | |
Panic (const Panic &)=delete | |
Panic & | operator= (const Panic &)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from Queue< T, ContainerType >::Node | |
Node () | |
Default handler for (unconfigured) interrupt events.
Panic is used to handle unconfigured interrupts and exceptions. After a generic error message is displayed, the core is stopped permanently.
During initialization of Plugbox this fake device is assigned for all interrupt vectors
|
inline |
Constructor.
|
overridevirtual |
Simplest possible interrupt handling: Displaying an error message and stopping the current core.
Implements Gate.