x86: changes to apic, keyboard
authorNilay Vaish <nilay@cs.wisc.edu>
Thu, 28 Mar 2013 14:34:23 +0000 (09:34 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Thu, 28 Mar 2013 14:34:23 +0000 (09:34 -0500)
commitd2fd3b2ec2c265eb9ed3bdcc1db3e4c3feee3846
tree93f18da7816431a823553ee3f7cea0e2fec9d2b3
parent433cab9d95480b29d5fa76f02686d16adaf38db2
x86: changes to apic, keyboard
It is possible that operating system wants to shutdown the
lapic timer by writing timer's initial count to 0. This patch
adds a check that the timer event is only scheduled if the
count is 0.

The patch also converts few of the panics related to the keyboard
to warnings since we are any way not interested in simulating the
keyboard.
src/arch/x86/interrupts.cc
src/dev/x86/i8042.cc