1

fix includes

This commit is contained in:
churl
2022-05-14 16:57:56 +02:00
parent d804fff473
commit deb0ebd8eb
7 changed files with 13 additions and 13 deletions

View File

@ -13,14 +13,13 @@
#ifndef __IntDispatcher_include__
#define __IntDispatcher_include__
#include "kernel/ISR.h"
#include "kernel/interrupts/ISR.h"
class IntDispatcher {
private:
IntDispatcher(const IntDispatcher &copy); // Verhindere Kopieren
IntDispatcher(const IntDispatcher& copy); // Verhindere Kopieren
enum { size = 256 };
ISR* map[size];
@ -30,16 +29,15 @@ public:
timer = 32,
keyboard = 33
};
// Initialisierung der ISR map mit einer Default-ISR.
IntDispatcher ();
// Registrierung einer ISR. (Rueckgabewert: 0 = Erfolg, -1 = Fehler)
int assign (unsigned int vector, ISR& gate);
IntDispatcher();
// Registrierung einer ISR. (Rueckgabewert: 0 = Erfolg, -1 = Fehler)
int assign(unsigned int vector, ISR& gate);
// ISR fuer 'vector' ausfuehren
int report (unsigned int vector);
int report(unsigned int vector);
};
#endif