mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +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
|
@ -50,7 +50,9 @@ public:
|
|||
virtual bool is_shared_handler() const override { return false; }
|
||||
virtual bool is_sharing_with_others() const override { return false; }
|
||||
|
||||
virtual HandlerPurpose purpose() const override { return HandlerPurpose::SpuriousInterruptHandler; }
|
||||
virtual HandlerType type() const override { return HandlerType::SpuriousInterruptHandler; }
|
||||
virtual const char* purpose() const override { return "Spurious Interrupt Handler"; }
|
||||
virtual const char* controller() const override { return m_responsible_irq_controller->model(); }
|
||||
|
||||
private:
|
||||
void enable_interrupt_vector();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue