1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

Kernel/Interrupts: Enumerate nested handlers in a shared handler

When asked to enumerate all interrupt handlers, display all shared
handlers within it instead of just returning the responsible handler of
them.
This commit is contained in:
Liav A 2021-06-05 07:50:27 +03:00 committed by Andreas Kling
parent dcb55db99b
commit 030999d269
3 changed files with 15 additions and 0 deletions

View file

@ -26,6 +26,8 @@ public:
virtual bool eoi() override;
void enumerate_handlers(Function<void(GenericInterruptHandler&)>&);
virtual size_t sharing_devices_count() const override { return m_handlers.size(); }
virtual bool is_shared_handler() const override { return true; }
virtual bool is_sharing_with_others() const override { return false; }