Implemented initial printk. Added multiboot support.

This commit is contained in:
2014-01-31 16:12:04 -05:00
parent 3b27d50edb
commit f23f3a8a8d
12 changed files with 257 additions and 38 deletions

8
include/brados/printk.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef __brados_printk_h__
#define __brados_printk_h__
#include <video/vga.h>
int printk(struct vgastate *term, const char *fmt, ...);
#endif

View File

@ -3,6 +3,7 @@
#include <stddef.h>
int strindexof(char c, const char *str);
size_t strlen(const char *str);
#endif