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. |
||
---|---|---|
BAN | ||
fonts | ||
kernel | ||
libc | ||
.gitignore | ||
README.md | ||
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 |
README.md
banan-os
My hobby operating system. Currently runs on x86 32 and 64 bit cpus.