summaryrefslogtreecommitdiff
path: root/Kernel/Devices/KeyboardDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/KeyboardDevice.h')
-rw-r--r--Kernel/Devices/KeyboardDevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Devices/KeyboardDevice.h b/Kernel/Devices/KeyboardDevice.h
index 4e943bf298..ba1749e82d 100644
--- a/Kernel/Devices/KeyboardDevice.h
+++ b/Kernel/Devices/KeyboardDevice.h
@@ -74,6 +74,9 @@ public:
enable_irq();
}
+ // ^Device
+ virtual mode_t required_mode() const override { return 0440; }
+
private:
// ^IRQHandler
virtual void handle_irq(const RegisterState&) override;