summaryrefslogtreecommitdiff
path: root/kernel/kmain.c
diff options
context:
space:
mode:
authorJake Mannens <jake72360@gmail.com>2018-07-25 17:18:18 +1000
committerJake Mannens <jake72360@gmail.com>2018-07-25 17:18:18 +1000
commit9400716f56057d9f2fcd7f7ad033dfcb131105a2 (patch)
treeaf0e8a7fecf0231e8bd77e7470ad0d934b519778 /kernel/kmain.c
parent45819c035d0b92275de68e559f066cbe50996926 (diff)
Added missing prototype for puts() in stdio.h.
Implemented a basic serial interface using COM0 which can be accessed with the system call sys_puts as well as the library functions rsputs() and rsprintf(). Renamed puts() in con.c to con_puts() and made the function static to avoid interference with the library function puts().
Diffstat (limited to 'kernel/kmain.c')
-rw-r--r--kernel/kmain.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/kmain.c b/kernel/kmain.c
index 7c8a72d..e9430ba 100644
--- a/kernel/kmain.c
+++ b/kernel/kmain.c
@@ -4,9 +4,6 @@
#include <stdint.h>
void kmain(void) {
- int i;
- int ret;
-
printk("Kernel booted!\n\n");
sched_init();