banan-os/kernel
Bananymous d90aba0963 Kernel: Create CriticalScope and fix kmalloc
This disables interrupts for the current scope and restores them
after the scope. This is used in kmalloc, since scheduler might
call into kmalloc/kfree, but deadlock if some thread is currently
trying to allocate. This allows us to use kmalloc in Scheduler.
2023-03-08 13:55:53 +02:00
..
arch Kernel: Fix spinlock unlocking in x86_64 2023-03-08 02:41:44 +02:00
font Kernel: Add prefs font for terminal output before file system 2023-02-23 01:22:50 +02:00
include/kernel Kernel: Create CriticalScope and fix kmalloc 2023-03-08 13:55:53 +02:00
kernel Kernel: Create CriticalScope and fix kmalloc 2023-03-08 13:55:53 +02:00
.gitignore Initial commit. We have a booting kernel 2022-11-12 21:04:47 +02:00
Makefile Kernel: Add ubsan 2023-03-06 23:38:05 +02:00
icxxabi.cpp Kernel: Add some more cxxabi functionality 2023-02-02 15:50:26 +02:00
ubsan.cpp Kernel: Add ubsan 2023-03-06 23:38:05 +02:00