X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=blobdiff_plain;f=src%2Fkmain.c;fp=src%2Fkmain.c;h=f1533b237664d1ba23c93099faf17de1eef3c0fa;hp=0000000000000000000000000000000000000000;hb=d1e8a437c1fab4535f82c4c214ec3330ac32e48d;hpb=34ae2440d7cd133051523bce2aac0760cf8296eb diff --git a/src/kmain.c b/src/kmain.c new file mode 100644 index 0000000..f1533b2 --- /dev/null +++ b/src/kmain.c @@ -0,0 +1,11 @@ +#include +#include "contty.h" + +static int foo = 42; + +void pcboot_main(void) +{ + con_init(); + + printf("hello world: %d\n", foo); +}