This commit adds our kprintf
implementation.
Our first step towards kernel functions is the kprintf
function which is like a limited printf
function in C. It can take variable arguments and print them according to the format specified. Only char
, char *
and int
are supported as of now.
We need a function that we can use anytime to debug our kernel as we build it by printing out values to check on the run. This function might/will come in handy.
cd kernel
make qemu