Kernel: Replace InterruptController CriticalScopes with SpinLock

This commit is contained in:
2024-02-28 23:04:32 +02:00
parent 21f05eb118
commit 18253b6966
4 changed files with 16 additions and 10 deletions

View File

@@ -2,6 +2,7 @@
#include <BAN/Vector.h>
#include <kernel/InterruptController.h>
#include <kernel/Lock/SpinLock.h>
#include <kernel/Memory/Types.h>
namespace Kernel
@@ -52,6 +53,7 @@ namespace Kernel
};
private:
SpinLock m_lock;
BAN::Vector<Processor> m_processors;
Kernel::paddr_t m_local_apic_paddr = 0;
Kernel::vaddr_t m_local_apic_vaddr = 0;