mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 19:28:48 +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
Notes:
sideshowbarker
2024-07-19 08:52:29 +09:00
Author: https://github.com/supercomputer7
Commit: 773afefe7c
Pull-request: https://github.com/SerenityOS/serenity/pull/1353
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