Kernel: Rework interrupt mechanism
All interruptrable classes now inherit from Interruptable which has methdo handle_irq which is called on a interrupt.
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Kernel
|
||||
ASSERT(page->next == nullptr);
|
||||
|
||||
// Detatch page from top of the free list
|
||||
m_free_list = m_free_list->prev ? m_free_list->prev : nullptr;
|
||||
m_free_list = m_free_list->prev;
|
||||
if (m_free_list)
|
||||
m_free_list->next = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user