diff options
author | Marvin Borner | 2021-01-09 23:31:28 +0100 |
---|---|---|
committer | Marvin Borner | 2021-01-09 23:33:34 +0100 |
commit | ff9c7766edded74f4d522484c828b1bdc7dfa96d (patch) | |
tree | fc076342222b6eb0c200a9bbb028c7765ed758b2 /kernel/drivers | |
parent | 836294b9232c7d63d26db4f87c32cf1420cd856d (diff) |
Let's make a procfs for IPC instead
Diffstat (limited to 'kernel/drivers')
-rw-r--r-- | kernel/drivers/keyboard.c | 3 | ||||
-rw-r--r-- | kernel/drivers/mouse.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/kernel/drivers/keyboard.c b/kernel/drivers/keyboard.c index ac97d36..7f3247f 100644 --- a/kernel/drivers/keyboard.c +++ b/kernel/drivers/keyboard.c @@ -2,7 +2,6 @@ #include <cpu.h> #include <def.h> -#include <event.h> #include <interrupts.h> #include <mem.h> #include <print.h> @@ -34,7 +33,7 @@ void keyboard_handler() event->magic = KEYBOARD_MAGIC; event->press = (scancode & 0x80) == 0; event->scancode = event->press ? scancode : scancode & ~0x80; - event_trigger(EVENT_KEYBOARD, event); + //event_trigger(EVENT_KEYBOARD, event); state = 0; merged = 0; diff --git a/kernel/drivers/mouse.c b/kernel/drivers/mouse.c index d58fbfc..f70fb6a 100644 --- a/kernel/drivers/mouse.c +++ b/kernel/drivers/mouse.c @@ -2,7 +2,6 @@ #include <boot.h> #include <cpu.h> -#include <event.h> #include <interrupts.h> #include <mem.h> #include <print.h> @@ -39,7 +38,7 @@ void mouse_handler() event->but1 = mouse_byte[0] & 1; event->but2 = (mouse_byte[0] >> 1) & 1; event->but3 = (mouse_byte[0] >> 2) & 1; - event_trigger(EVENT_MOUSE, event); + //event_trigger(EVENT_MOUSE, event); mouse_cycle = 0; break; |