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 { 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 &copy) = delete; // Verhindere Kopieren IntDispatcher(const IntDispatcher &copy) = 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);

View File

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