pxe: use a separate poll thread instead of using an idle thread hook
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Apr 2011 03:55:47 +0000 (20:55 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Apr 2011 04:00:19 +0000 (21:00 -0700)
commitf180d7c8ec74e0e15f1bcdf25c51899e2ca811c3
tree9aefb37b132625fda83ae27099a6a8e599c115d0
parent2948efb24928c01e5935124abb26ecedb55433e8
pxe: use a separate poll thread instead of using an idle thread hook

The idle thread can never sleep, so it's not really safe to do
anything inside it.  Instead, run a separate poll thread at low
priority; we can also do that to poll the serial console if needed.

Overall, the "classic" Syslinux idle handling really should go away
and be replaced by the idle thread.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/pxe/isr.c
core/fs/pxe/pxe.c
core/fs/pxe/pxe.h
core/include/thread.h
core/thread/idle_thread.c