1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

Kernel: Change data in /proc/interrupts to be more richer

Also, during interrupt handlers' enumeration, we call all interrupts
handlers that are not UnhandledInterruptHandler.
This commit is contained in:
Liav A 2020-03-05 19:15:38 +02:00 committed by Andreas Kling
parent 773afefe7c
commit 7ef5d222f1
2 changed files with 3 additions and 2 deletions

View file

@ -63,7 +63,7 @@ void InterruptManagement::enumerate_interrupt_handlers(Function<void(GenericInte
{
for (int i = 0; i < GENERIC_INTERRUPT_HANDLERS_COUNT; i++) {
auto& handler = get_interrupt_handler(i);
if (handler.get_invoking_count() > 0)
if (handler.type() != HandlerType::UnhandledInterruptHandler)
callback(handler);
}
}