mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
Kernel: Return real handler purpose when registered to spurious handler
If we registered a real interrupt handler to a spurious one, we should return its purpose instead of the spurious purpose string.
This commit is contained in:
parent
fe761e7412
commit
663dea4a60
Notes:
sideshowbarker
2024-07-18 21:07:12 +09:00
Author: https://github.com/supercomputer7
Commit: 663dea4a60
Pull-request: https://github.com/SerenityOS/serenity/pull/5916
2 changed files with 8 additions and 1 deletions
|
@ -50,7 +50,7 @@ public:
|
|||
virtual bool is_sharing_with_others() const override { return false; }
|
||||
|
||||
virtual HandlerType type() const override { return HandlerType::SpuriousInterruptHandler; }
|
||||
virtual const char* purpose() const override { return "Spurious Interrupt Handler"; }
|
||||
virtual const char* purpose() const override;
|
||||
virtual const char* controller() const override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue