diff options
author | Liav A <liavalb@gmail.com> | 2020-01-21 13:23:03 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-01-22 12:22:09 +0100 |
commit | 6c72736b26a81a8f03d8dd47989bfffe26bb1c95 (patch) | |
tree | 893afba92bbf65af31c196e64467f1d1656afb95 /Kernel/Devices/SB16.h | |
parent | 1ee37245cd7342a649d50653b137e4ca626e88b4 (diff) | |
download | serenity-6c72736b26a81a8f03d8dd47989bfffe26bb1c95.zip |
Kernel: Replace IRQHandler with the new InterruptHandler class
System components that need an IRQ handling are now inheriting the
InterruptHandler class.
In addition to that, the initialization process of PATAChannel was
changed to fit the changes.
PATAChannel, E1000NetworkAdapter and RTL8139NetworkAdapter are now
inheriting from PCI::Device instead of InterruptHandler directly.
Diffstat (limited to 'Kernel/Devices/SB16.h')
-rw-r--r-- | Kernel/Devices/SB16.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Devices/SB16.h b/Kernel/Devices/SB16.h index 21df353222..25c91cf59f 100644 --- a/Kernel/Devices/SB16.h +++ b/Kernel/Devices/SB16.h @@ -28,14 +28,14 @@ #include <AK/CircularQueue.h> #include <Kernel/Devices/CharacterDevice.h> -#include <Kernel/IRQHandler.h> +#include <Kernel/InterruptHandler.h> #include <Kernel/VM/PhysicalAddress.h> #include <Kernel/VM/PhysicalPage.h> #include <Kernel/WaitQueue.h> class SB16; -class SB16 final : public IRQHandler +class SB16 final : public InterruptHandler , public CharacterDevice { public: SB16(); @@ -51,7 +51,7 @@ public: private: // ^IRQHandler - virtual void handle_irq() override; + virtual void handle_interrupt() override; // ^CharacterDevice virtual const char* class_name() const override { return "SB16"; } |