BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / commit / 1628fcfdfdf2978ed9ccac96ee7d13bb3dc43a01 / main.c

// Related

Orion

Barry Keyboard/Mouse drivers + POSIX names for structs 1628fcf (2 years, 4 months ago)
diff --git a/main.c b/main.c
index d4e1421..d25b7e8 100644
--- a/main.c
+++ b/main.c
@@ -9,6 +9,7 @@
 #include <stdint.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <sys/mount.h>
 #include "mem/frame.h"
 #include "mem/paging.h"
 #include "mem/heap.h"
@@ -23,10 +24,6 @@
 #include "spinlock.h"
 #include "multiboot.h"
 
-#include <sys/mount.h>
-
-void init_tty(void);
-
 extern char _bss[], _end[];
 
 uintptr_t initialStack;
@@ -101,6 +98,8 @@ kmain(uint32_t esp, struct MultibootInfo *mbinfo)
 	/* Search for devices */
 	init_drivers();
 	init_tty();
+	init_kbd();
+//	init_mouse();
 	/* Initialise Networking */
 //	init_net();