summaryrefslogtreecommitdiff
path: root/Kernel/Devices/SB16.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2020-03-05 19:13:55 +0200
committerAndreas Kling <kling@serenityos.org>2020-03-06 11:19:51 +0100
commit773afefe7c44d8ebf75f9e3909c950214a3540f7 (patch)
treed304e12bbd03637969419af212ad67c798e38610 /Kernel/Devices/SB16.h
parent52954ccce6a44931d7454846d8730468dfdcb46a (diff)
downloadserenity-773afefe7c44d8ebf75f9e3909c950214a3540f7.zip
Kernel: Change HandlerPurpose to HandlerType
Also, GenericInterruptHandler class requires to implement two new methods.
Diffstat (limited to 'Kernel/Devices/SB16.h')
-rw-r--r--Kernel/Devices/SB16.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Devices/SB16.h b/Kernel/Devices/SB16.h
index 71dd25c0c8..d438acc052 100644
--- a/Kernel/Devices/SB16.h
+++ b/Kernel/Devices/SB16.h
@@ -50,6 +50,8 @@ public:
virtual ssize_t write(FileDescription&, const u8*, ssize_t) override;
virtual bool can_write(const FileDescription&) const override { return true; }
+ virtual const char* purpose() const override { return class_name(); }
+
private:
// ^IRQHandler
virtual void handle_irq(RegisterState&) override;