2b7d2123cd
using level triggered interrupts, which livelocks calling intr routine if the data register is not read in the interrupt routine, as it's case when polling after interrupts are enabled during boot. Block all interrupts when polling for keypress, and modify intr routine to read and store value from data register. The latter one is to avoid losing a keypress when one would manage to press a key when kernel is not in spl-guarded code section. Tested with classic pccons, 'pcconskbd at pckbc' and 'pckbd at pckbc' configurations, on i386. |
||
---|---|---|
.. | ||
bioscall | ||
compile | ||
conf | ||
eisa | ||
gdbscripts | ||
i386 | ||
include | ||
isa | ||
mca | ||
pci | ||
pnpbios | ||
stand | ||
Makefile |