diff options
Diffstat (limited to 'driver/keyboard.c')
| -rw-r--r-- | driver/keyboard.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/driver/keyboard.c b/driver/keyboard.c index 7cc93ec..f188cfc 100644 --- a/driver/keyboard.c +++ b/driver/keyboard.c @@ -3,6 +3,8 @@ #include "asm_x86.h" +#include "keyboard.h" +#include "syscalls.h" #include <stdbool.h> @@ -15,7 +17,7 @@ static uint32_t kb_stream; static void put(uint8_t c) { - syscall_write(kb_stream,&c,1); + syscall_write(kb_stream,(char *)&c,1); } void keyboard_init(uint32_t s) |
