Hide IntDispatcher public interface (except from InterruptService)
This commit is contained in:
@ -20,6 +20,8 @@
|
|||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
class IntDispatcher {
|
class IntDispatcher {
|
||||||
|
friend class InterruptService;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Vektor-Nummern
|
// Vektor-Nummern
|
||||||
enum Vector {
|
enum Vector {
|
||||||
@ -33,6 +35,9 @@ public:
|
|||||||
|
|
||||||
IntDispatcher(const IntDispatcher ©) = delete; // Verhindere Kopieren
|
IntDispatcher(const IntDispatcher ©) = delete; // Verhindere Kopieren
|
||||||
|
|
||||||
|
// TODO: Rest of constructors
|
||||||
|
|
||||||
|
private:
|
||||||
// Registrierung einer ISR. (Rueckgabewert: 0 = Erfolg, -1 = Fehler)
|
// Registrierung einer ISR. (Rueckgabewert: 0 = Erfolg, -1 = Fehler)
|
||||||
int assign(uint8_t vector, ISR &isr);
|
int assign(uint8_t vector, ISR &isr);
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ public:
|
|||||||
void sendEndOfInterrupt();
|
void sendEndOfInterrupt();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Kernel::IntDispatcher intDispatcher;
|
IntDispatcher intDispatcher;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user