From 8fd3b2abfc04be1deb3b737e8525caec66808fb4 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 6 Aug 2014 22:48:56 +0200 Subject: minor fixes of some comments and interrupts --- kernel/keyboard.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'kernel/keyboard.c') 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"); -- cgit v1.2.3