mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +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
|
@ -41,7 +41,9 @@ public:
|
|||
|
||||
virtual bool eoi() override;
|
||||
|
||||
virtual HandlerPurpose purpose() const override { return HandlerPurpose::UnhandledInterruptHandler; }
|
||||
virtual HandlerType type() const override { return HandlerType::UnhandledInterruptHandler; }
|
||||
virtual const char* purpose() const override { return "Unhandled Interrupt Handler"; }
|
||||
virtual const char* controller() const override { ASSERT_NOT_REACHED(); }
|
||||
|
||||
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