forked from Bananymous/banan-os
d90aba0963
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. |
||
---|---|---|
BAN | ||
fonts | ||
kernel | ||
libc | ||
.gitignore | ||
bochs.sh | ||
build.sh | ||
clean.sh | ||
config.sh | ||
default-host.sh | ||
disk.sh | ||
headers.sh | ||
install-usb.sh | ||
qemu.sh | ||
target-triplet-to-arch.sh |