reformat
This commit is contained in:
@ -10,12 +10,11 @@
|
||||
* *
|
||||
* Autor: Michael Schoettner, 31.8.2016 *
|
||||
*****************************************************************************/
|
||||
#include "kernel/interrupts/IntDispatcher.h"
|
||||
#include "kernel/CPU.h"
|
||||
#include "kernel/Globals.h"
|
||||
#include "kernel/interrupts/IntDispatcher.h"
|
||||
#include "kernel/interrupts/Bluescreen.h"
|
||||
|
||||
|
||||
extern "C" void int_disp(unsigned int slot);
|
||||
|
||||
/*****************************************************************************
|
||||
@ -35,17 +34,16 @@ void int_disp(unsigned int vector) {
|
||||
/* hier muss Code eingefuegt werden */
|
||||
if (vector < 32) {
|
||||
bs_dump(vector);
|
||||
cpu.halt ();
|
||||
cpu.halt();
|
||||
}
|
||||
|
||||
if (intdis.report (vector) < 0) {
|
||||
if (intdis.report(vector) < 0) {
|
||||
kout << "Panic: unexpected interrupt " << vector;
|
||||
kout << " - processor halted." << endl;
|
||||
cpu.halt ();
|
||||
}
|
||||
cpu.halt();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Konstruktor: IntDispatcher::IntDispatcher *
|
||||
*---------------------------------------------------------------------------*
|
||||
|
||||
Reference in New Issue
Block a user