fix: irq manager handle controller

Enable/disable hardware interrupts in the IRQ's controller through IRQ
manager.
This commit is contained in:
2026-10-20 16:17:35 +02:00
parent cc360c5939
commit 0692b9d618
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -64,6 +64,7 @@ bool irq_manager::enable(irq_t irq) {
auto* entry = at(irq);
if (entry == nullptr) return false;
entry->enabled = true;
entry->controller->enable(entry->hwirq);
return true;
}
@@ -71,6 +72,7 @@ bool irq_manager::disable(irq_t irq) {
auto* entry = at(irq);
if (entry == nullptr) return false;
entry->enabled = false;
entry->controller->disable(entry->hwirq);
return true;
}