X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fkeyboard.c;h=e33e9895f30c10692b080e29140cad322871bba4;hb=4b93282ac2e60cd4d74b1e0be8ac758933140413;hp=21987b990c10cf3df5f8c1514d14607a7c153185;hpb=645c766b13d15fd70cd360e577eac1f62e07149f;p=palacios.git diff --git a/palacios/src/geekos/keyboard.c b/palacios/src/geekos/keyboard.c index 21987b9..e33e989 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.5 $ + * $Revision: 1.8 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -36,7 +36,11 @@ #include -static enum {TARGET_GEEKOS,TARGET_VMM} target=TARGET_VMM; + + + +static enum {TARGET_GEEKOS,TARGET_VMM} target = TARGET_VMM; + extern void deliver_key_to_vmm(uchar_t status, uchar_t scancode); @@ -176,6 +180,7 @@ static void Keyboard_Interrupt_Handler(struct Interrupt_State* state) //Print("Keyboard\n"); + status = In_Byte(KB_CMD); raw_status=status;