diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-22 15:57:33 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-22 15:57:33 -0700 |
commit | 2fa8eb93e5b2fc684d27f018c0a84341eaed5476 (patch) | |
tree | 2a29092e6e79813f930c76ed8d6f78e5843bab04 /core/include | |
parent | f5203bfa11fde88d16f471b4050ed1da73387c7a (diff) | |
download | syslinux-2fa8eb93e5b2fc684d27f018c0a84341eaed5476.tar.gz syslinux-2fa8eb93e5b2fc684d27f018c0a84341eaed5476.tar.xz syslinux-2fa8eb93e5b2fc684d27f018c0a84341eaed5476.zip |
lwip: handle UNDI stacks which need to be polled
If the UNDI stack reports either IRQ 0 or does NOT report the NDIS IRQ
supported flag, then poll the interrupt routine from the idle thread
instead.
This is somewhat limited; we really should have a chain of idle poll
routines to support things like serial console.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/include/thread.h b/core/include/thread.h index b283424d..7c83b5a9 100644 --- a/core/include/thread.h +++ b/core/include/thread.h @@ -95,4 +95,6 @@ void kill_thread(struct thread *); void start_idle_thread(void); void test_thread(void); +extern void (*idle_hook)(void); + #endif /* _THREAD_H */ |