1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

Kernel: Change HandlerPurpose to HandlerType

Also, GenericInterruptHandler class requires to implement two new
methods.
This commit is contained in:
Liav A 2020-03-05 19:13:55 +02:00 committed by Andreas Kling
parent 52954ccce6
commit 773afefe7c
16 changed files with 39 additions and 13 deletions

View file

@ -57,6 +57,8 @@ public:
virtual ssize_t write(FileDescription&, const u8* buffer, ssize_t) override;
virtual bool can_write(const FileDescription&) const override { return true; }
virtual const char* purpose() const override { return class_name(); }
private:
// ^IRQHandler
virtual void handle_irq(RegisterState&) override;