commit | ee2efa7303077ce98a745f637e213ba9a0965811 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sun Sep 20 15:33:08 2009 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun Sep 20 15:33:08 2009 -0400 |
tree | 421bea0de69c8fcc61122d96409218799efbfb0a | |
parent | 40f5b5aa1ecb189353e79009f49276193b3a87e9 [diff] |
Support sleeping until an irq fires, and use where applicable. Add wait_irq() - it's more efficient than looping with cpu_relax(). Also, move kbd irq enables down - only kbd_command needs it. Also, make some minor code layout improvements to kbd.c.