X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fkeyboard.c;h=21987b990c10cf3df5f8c1514d14607a7c153185;hb=645c766b13d15fd70cd360e577eac1f62e07149f;hp=554f42f2ecc8fbd3a6f74de1e3781196edd2abc2;hpb=028d9b71d4a4e6d49a22ad5904b6dd2f8c596a26;p=palacios.git diff --git a/palacios/src/geekos/keyboard.c b/palacios/src/geekos/keyboard.c index 554f42f..21987b9 100644 --- a/palacios/src/geekos/keyboard.c +++ b/palacios/src/geekos/keyboard.c @@ -1,7 +1,7 @@ /* * Keyboard driver * Copyright (c) 2001,2004 David H. Hovemeyer - * $Revision: 1.4 $ + * $Revision: 1.5 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -36,7 +36,7 @@ #include -static enum {TARGET_GEEKOS,TARGET_VMM} target=TARGET_GEEKOS; +static enum {TARGET_GEEKOS,TARGET_VMM} target=TARGET_VMM; extern void deliver_key_to_vmm(uchar_t status, uchar_t scancode); @@ -174,7 +174,7 @@ static void Keyboard_Interrupt_Handler(struct Interrupt_State* state) Begin_IRQ(state); - Print("Keyboard\n"); + //Print("Keyboard\n"); status = In_Byte(KB_CMD); @@ -186,7 +186,7 @@ static void Keyboard_Interrupt_Handler(struct Interrupt_State* state) /* There is a byte available */ scanCode = In_Byte(KB_DATA); raw_scancode=scanCode; - Print("Keyboard: status=0x%x, scancode=0x%x\n", raw_status, raw_scancode); + //Print("Keyboard: status=0x%x, scancode=0x%x\n", raw_status, raw_scancode); IO_Delay(); /* * Print("code=%x%s\n", scanCode, (scanCode&0x80) ? " [release]" : "");