Age | Commit message (Collapse) | Author |
|
Apparently a VLA of zero size is undefined behavior.
|
|
Easier to add formatted strings to the string builder without
using intermediate buffers.
|
|
This commit also add braces to all `if` statements.
|
|
This makes write/read calls that use strings to communicate much
simpler and less error prone.
|
|
Like snprintf but without null termination
|
|
After making this change I am now actually doubting if using
C strings is a good idea and maybe it should just always just the
string view library that userland makes use of.
But old code and the upcoming commits rely upon this so it is a change my
future less lazy self will do.
|
|
|
|
|
|
This is not useful since 99% of the time I will have access to the
serial output. But it does look cool.
|
|
|
|
Kernel printf had bugs and was poorly written. LibC still has some FILE*
releated stuff that should be cleaned up.
|
|
|
|
|
|
|
|
|
|
|
|
Now the kernel does not rely upon inline assembly which is often very
error prone. This also means that the kernel could probably be compiled
with any c99 compiler which would help future bootstrapping.
|
|
|
|
|
|
The IPC design is currently a WIP and is nowhere near complete
|
|
|
|
|
|
This is to allow both the kernel and the userland to share certain
header files and to make the folder structure a bit more clear.
|