aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-31 20:23:58 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-31 20:23:58 -0700
commite172b7473502500f0d557134cb9f504e147d0826 (patch)
tree3c19e7ab8bc47e656db1dcda75b8a3108c01897a /core
parent6b7aa8e5d8490aa0002e462c86dd9c6866a7b299 (diff)
downloadsyslinux.git-e172b7473502500f0d557134cb9f504e147d0826.tar.gz
syslinux.git-e172b7473502500f0d557134cb9f504e147d0826.tar.xz
syslinux.git-e172b7473502500f0d557134cb9f504e147d0826.zip
core: when calling abort_check, we're not idle
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>
Diffstat (limited to 'core')
-rw-r--r--core/abort.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/abort.inc b/core/abort.inc
index d8cd7f24..5b16b9d9 100644
--- a/core/abort.inc
+++ b/core/abort.inc
@@ -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