summaryrefslogtreecommitdiff
path: root/driver/keyboard.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-16 11:39:36 +0200
committerMiguel <m.i@gmx.at>2018-09-16 11:39:36 +0200
commit740ae2e69995df37c44fe61f57642ee642982ca2 (patch)
treeb84ec79e9243fd0fe103fab1c1acc1e91e60f53d /driver/keyboard.c
parente0449c5adc89eec9f378cb40a56762bf314a80ea (diff)
cleanup and starting improve mounts and file access (pipes, sysfiles, ext2)
Diffstat (limited to 'driver/keyboard.c')
-rw-r--r--driver/keyboard.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/driver/keyboard.c b/driver/keyboard.c
index f188cfc..d276f51 100644
--- a/driver/keyboard.c
+++ b/driver/keyboard.c
@@ -1,10 +1,7 @@
-/// idiots keyboard driver ////
-// http://www.computer-engineering.org/ps2keyboard/scancodes1.html
-
-
#include "asm_x86.h"
#include "keyboard.h"
#include "syscalls.h"
+#include "log.h"
#include <stdbool.h>
@@ -17,6 +14,7 @@ static uint32_t kb_stream;
static void put(uint8_t c)
{
+ klog("%c",c);
syscall_write(kb_stream,(char *)&c,1);
}