diff options
Diffstat (limited to 'Kernel/Interrupts/IRQController.h')
-rw-r--r-- | Kernel/Interrupts/IRQController.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Interrupts/IRQController.h b/Kernel/Interrupts/IRQController.h index 89af65922a..016fc80d23 100644 --- a/Kernel/Interrupts/IRQController.h +++ b/Kernel/Interrupts/IRQController.h @@ -20,14 +20,14 @@ class IRQController : public RefCounted<IRQController> { public: virtual ~IRQController() = default; - virtual void enable(const GenericInterruptHandler&) = 0; - virtual void disable(const GenericInterruptHandler&) = 0; + virtual void enable(GenericInterruptHandler const&) = 0; + virtual void disable(GenericInterruptHandler const&) = 0; virtual void hard_disable() { m_hard_disabled = true; } virtual bool is_vector_enabled(u8 number) const = 0; virtual bool is_enabled() const = 0; bool is_hard_disabled() const { return m_hard_disabled; } - virtual void eoi(const GenericInterruptHandler&) const = 0; - virtual void spurious_eoi(const GenericInterruptHandler&) const = 0; + virtual void eoi(GenericInterruptHandler const&) const = 0; + virtual void spurious_eoi(GenericInterruptHandler const&) const = 0; virtual size_t interrupt_vectors_count() const = 0; virtual u32 gsi_base() const = 0; virtual u16 get_isr() const = 0; |