StuBS
Panic Class Reference

Default handler for (unconfigured) interrupt events. More...

#include <device/panic.h>

Inheritance diagram for Panic:
[legend]
Collaboration diagram for Panic:
[legend]

Public Member Functions

 Panic ()
 Constructor.
 
void trigger () override
 Simplest possible interrupt handling: Displaying an error message and stopping the current core.
 
- Public Member Functions inherited from Gate
 Gate ()
 Is this epiloque already marked for execution Add a member that stores the information whether a Gate has already been queued.
 
virtual ~Gate ()
 Destructor.
 

Private Member Functions

 Panic (const Panic &)=delete
 
Panicoperator= (const Panic &)=delete
 

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

Constructor & Destructor Documentation

◆ Panic() [1/2]

Panic::Panic ( const Panic )
privatedelete

◆ Panic() [2/2]

Panic::Panic ( )
inline

Constructor.

Member Function Documentation

◆ operator=()

Panic & Panic::operator= ( const Panic )
privatedelete

◆ trigger()

void Panic::trigger ( )
overridevirtual

Simplest possible interrupt handling: Displaying an error message and stopping the current core.

Todo:
Implement Method

Implements Gate.


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