summaryrefslogtreecommitdiff
path: root/Kernel/ACPI/DynamicParser.cpp
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-06-05 09:00:18 +0300
committerAndreas Kling <kling@serenityos.org>2021-06-17 16:53:25 +0200
commitb91df26d4a14c2721d1920e76552012864c97790 (patch)
treef9b83151fe424057cbc7bbdd1e1b389387a601b7 /Kernel/ACPI/DynamicParser.cpp
parent7a6d5a7b8bae2e2058c72b662c4cccec99374b11 (diff)
downloadserenity-b91df26d4a14c2721d1920e76552012864c97790.zip
Kernel/Interrupts: Return boolean on whether we handled the interrupt
If we are in a shared interrupt handler, the called handlers might indicate it was not their interrupt, so we should not increment the call counter of these handlers.
Diffstat (limited to 'Kernel/ACPI/DynamicParser.cpp')
-rw-r--r--Kernel/ACPI/DynamicParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/ACPI/DynamicParser.cpp b/Kernel/ACPI/DynamicParser.cpp
index 2d143348d2..7c6d6c6a60 100644
--- a/Kernel/ACPI/DynamicParser.cpp
+++ b/Kernel/ACPI/DynamicParser.cpp
@@ -17,7 +17,7 @@ UNMAP_AFTER_INIT DynamicParser::DynamicParser(PhysicalAddress rsdp)
dmesgln("ACPI: Dynamic Parsing Enabled, Can parse AML");
}
-void DynamicParser::handle_irq(const RegisterState&)
+bool DynamicParser::handle_irq(const RegisterState&)
{
// FIXME: Implement IRQ handling of ACPI signals!
VERIFY_NOT_REACHED();