1

Hide IntDispatcher public interface (except from InterruptService)

This commit is contained in:
2022-12-08 15:36:05 +01:00
parent 0ef9e81d50
commit 686efcb296
2 changed files with 6 additions and 1 deletions

View File

@ -20,6 +20,8 @@
namespace Kernel {
class IntDispatcher {
friend class InterruptService;
public:
// Vektor-Nummern
enum Vector {
@ -33,6 +35,9 @@ public:
IntDispatcher(const IntDispatcher &copy) = delete; // Verhindere Kopieren
// TODO: Rest of constructors
private:
// Registrierung einer ISR. (Rueckgabewert: 0 = Erfolg, -1 = Fehler)
int assign(uint8_t vector, ISR &isr);

View File

@ -31,7 +31,7 @@ public:
void sendEndOfInterrupt();
private:
Kernel::IntDispatcher intDispatcher;
IntDispatcher intDispatcher;
};
}