fix: interrupts

This commit is contained in:
2026-10-20 16:08:36 +02:00
parent d9a0b3652c
commit cc360c5939
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ irq_manager::irq_manager(vm& vm)
}
irq_t irq_manager::allocate() {
auto* entry = at(m_count + 1);
auto* entry = at(m_count);
if (entry == nullptr) {
page* newPage = m_vm->allocate<page>();
if (newPage == nullptr) return INVALID_IRQ;