summaryrefslogtreecommitdiff
path: root/kernel/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/keyboard.c')
-rw-r--r--kernel/keyboard.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/kernel/keyboard.c b/kernel/keyboard.c
index d412c84..cdc557e 100644
--- a/kernel/keyboard.c
+++ b/kernel/keyboard.c
@@ -10,14 +10,6 @@
void keyboard_handle(uint8_t in)
{
-#ifdef DEBUG
- // test interrupt 88 // whenver A is pressed
- if(in==0x1e)
- {
- int_generate88();
- }
-#endif
-
int i=0;
//
//print_hex(int_count);
@@ -147,8 +139,10 @@ void int_kb_handler()
keyboard_handle(kb_in); //TODO!!
+ // send EOI to primary PIC
__asm__("mov $0x20, %al");
__asm__("out %al, $0x20");
+ //
__asm__("popa");
__asm__("leave");