Set ZF prior to keyboard read call in check_for_keystroke().
commit2d6db556cb219ff1a15b98a18fafad33310e47b0
authorKevin O'Connor <kevin@koconnor.net>
Sun, 17 Mar 2013 14:32:05 +0000 (17 10:32 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 17 Mar 2013 14:32:05 +0000 (17 10:32 -0400)
tree6dabbb7786555fcffde863ec9dad3f7f717c178f
parent212fb4da051b74f7d232e16e04cf51d02f3b6472
Set ZF prior to keyboard read call in check_for_keystroke().

Set the ZF flag to make sure the keyboard interrupt is actively
clearing it on a key event.  This fixes a hang when CONFIG_BOOTMENU is
on and CONFIG_KEYBOARD is off.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/util.c