diff options
| author | Miguel <m.i@gmx.at> | 2018-09-16 11:39:36 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-16 11:39:36 +0200 |
| commit | 740ae2e69995df37c44fe61f57642ee642982ca2 (patch) | |
| tree | b84ec79e9243fd0fe103fab1c1acc1e91e60f53d /driver/keyboard.c | |
| parent | e0449c5adc89eec9f378cb40a56762bf314a80ea (diff) | |
cleanup and starting improve mounts and file access (pipes, sysfiles, ext2)
Diffstat (limited to 'driver/keyboard.c')
| -rw-r--r-- | driver/keyboard.c | 6 |
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); } |
