diff options
author | Liav A <liavalb@gmail.com> | 2022-12-20 06:56:19 +0200 |
---|---|---|
committer | Jelle Raaijmakers <jelle@gmta.nl> | 2023-04-09 18:11:37 +0200 |
commit | d76c08c9b0e2743e752a182fc1cd9a48667bf23c (patch) | |
tree | 5bf64cbe888574539c3bde1e6d3f841087736180 /Kernel/Arch/x86_64/ISABus/I8042Controller.cpp | |
parent | 6c4a47d916d2eff1d7c9bd7657609c213f5d7e26 (diff) | |
download | serenity-d76c08c9b0e2743e752a182fc1cd9a48667bf23c.zip |
Kernel: Introduce a new super class called HIDController
Use the new class in HID code, because all other HID device controllers
will be using this class as their parent class.
Hence, we no longer keep a reference to any PS/2 device in HIDManagement
and rely on HIDController derived classes to do this for us.
It also means that we removed another instance of a LockRefPtr, which
is designated to be removed and is replaced by the better pattern of
SpinlockProtected<RefPtr<>> instead.
Diffstat (limited to 'Kernel/Arch/x86_64/ISABus/I8042Controller.cpp')
-rw-r--r-- | Kernel/Arch/x86_64/ISABus/I8042Controller.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Kernel/Arch/x86_64/ISABus/I8042Controller.cpp b/Kernel/Arch/x86_64/ISABus/I8042Controller.cpp index 3b80df2cb1..e593c19b87 100644 --- a/Kernel/Arch/x86_64/ISABus/I8042Controller.cpp +++ b/Kernel/Arch/x86_64/ISABus/I8042Controller.cpp @@ -19,15 +19,6 @@ UNMAP_AFTER_INIT NonnullLockRefPtr<I8042Controller> I8042Controller::initialize( return adopt_lock_ref(*new I8042Controller()); } -LockRefPtr<MouseDevice> I8042Controller::mouse() const -{ - return m_mouse_device; -} -LockRefPtr<KeyboardDevice> I8042Controller::keyboard() const -{ - return m_keyboard_device; -} - UNMAP_AFTER_INIT I8042Controller::I8042Controller() { } |