mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
[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>
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user