summaryrefslogtreecommitdiff
path: root/kernel/keyboard.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-08-06 22:48:56 +0200
committerMichal Idziorek <m.i@gmx.at>2014-08-06 22:48:56 +0200
commit8fd3b2abfc04be1deb3b737e8525caec66808fb4 (patch)
treea9dd0dc95495c130472e4ad4f6fb865fd06fefce /kernel/keyboard.c
parentf0a4237f881ef3a29246cdaadaea589bb984800f (diff)
minor fixes of some comments and interrupts
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");