core: when calling abort_check, we're not idle
authorH. Peter Anvin <hpa@zytor.com>
Mon, 1 Jun 2009 03:23:58 +0000 (20:23 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 Jun 2009 03:23:58 +0000 (20:23 -0700)
When we call abort_check, we're not idle even though we are polling
the keyboard.  Handle that by calling reset_idle near the top.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/abort.inc

index d8cd7f2..5b16b9d 100644 (file)
@@ -34,6 +34,7 @@ dot_pause:
 ; abort_check: let the user abort with <ESC> or <Ctrl-C>
 ;
 abort_check:
+               call reset_idle                 ; Not idle despite pollchar
                call pollchar
                jz .ret1
                pusha