summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichael Brown2010-07-14 13:37:29 +0200
committerMichael Brown2010-07-14 13:43:10 +0200
commit3338a0398203ac7a5f0c8396c738032b890d710c (patch)
treeb60940586f98a52aa095408843934efd8df83fbc /src/core
parent[davicom] Use iPXE debugging infrastructure (diff)
downloadipxe-3338a0398203ac7a5f0c8396c738032b890d710c.tar.gz
ipxe-3338a0398203ac7a5f0c8396c738032b890d710c.tar.xz
ipxe-3338a0398203ac7a5f0c8396c738032b890d710c.zip
[hci] Continue processing while prompting for shell banner
Continue calling step() while displaying the shell banner. This potentially allows TCP connections to close gracefully after a failed boot attempt. Inspired-by: Guo-Fu Tseng <cooldavid@cooldavid.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/getkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/getkey.c b/src/core/getkey.c
index b159656ec..d93ba1e64 100644
--- a/src/core/getkey.c
+++ b/src/core/getkey.c
@@ -38,7 +38,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
* @v timeout Timeout period, in ticks
* @ret character Character read from console
*/
-static int getchar_timeout ( unsigned long timeout ) {
+int getchar_timeout ( unsigned long timeout ) {
unsigned long expiry = ( currticks() + timeout );
while ( currticks() < expiry ) {