mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
Kernel: Change HandlerPurpose to HandlerType
Also, GenericInterruptHandler class requires to implement two new methods.
This commit is contained in:
parent
52954ccce6
commit
773afefe7c
16 changed files with 39 additions and 13 deletions
|
@ -47,7 +47,9 @@ public:
|
|||
|
||||
virtual bool eoi() override;
|
||||
|
||||
virtual HandlerPurpose purpose() const override { return HandlerPurpose::IRQHandler; }
|
||||
virtual HandlerType type() const override { return HandlerType::IRQHandler; }
|
||||
virtual const char* purpose() const override { return "IRQ Handler"; }
|
||||
virtual const char* controller() const override { return m_responsible_irq_controller->model(); }
|
||||
|
||||
virtual size_t sharing_devices_count() const override { return 0; }
|
||||
virtual bool is_shared_handler() const override { return false; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue