1
This commit is contained in:
2022-07-04 13:21:43 +02:00
parent 2341d7bd95
commit a230ee84e1
3 changed files with 7 additions and 9 deletions

View File

@ -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 *
*---------------------------------------------------------------------------*