C++ Crashkurs
Panic Class Reference
Default handler for (unconfigured) interrupt events. More...
#include <device/panic.h>
Inheritance diagram for Panic:
Collaboration diagram for Panic:
Public Member Functions | |
Panic () | |
Constructor. | |
bool | prologue () override |
Simplest possible interrupt handling: Displaying an error message and stopping the current core. More... | |
Public Member Functions inherited from Gate | |
Gate () | |
Constructor. | |
virtual | ~Gate () |
Destructor. More... | |
virtual void | epilogue () |
Possibly delayed, synchronously executed Device-specific interrupt handling routine. | |
Detailed Description
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
Member Function Documentation
|
overridevirtual |
Simplest possible interrupt handling: Displaying an error message and stopping the current core.
Implements Gate.
The documentation for this class was generated from the following files:
- device/panic.h
- device/panic.cc