forked from Bananymous/banan-os
7d2ab53baa
We only have to allocate at the beginning of the all functions and can properly exit before any disk reads if we run out of memory. This makes development little bit 'harder' since the {read,write}_block user must allocate a buffer of atleast block_size bytes. I also made disk access to cause kernel panic on error since the error handling during file write is something I don't want to think now. The filesystem can easily corrupt so, I feel like when disk io starts to fail I'll come back to this. |
||
---|---|---|
.. | ||
arch | ||
font | ||
include/kernel | ||
kernel | ||
userspace | ||
.gitignore | ||
Makefile | ||
icxxabi.cpp | ||
ubsan.cpp |