[ipxe-devel] [gPXE-devel] [PATCHv2 4/6] [core] Keep scheduling while shell banner waiting

Michael Brown mbrown at fensystems.co.uk
Wed Jul 14 11:52:57 UTC 2010


On Wednesday 14 Jul 2010 06:25:05 cooldavid at cooldavid.org wrote:
> Currently we do nothing while polling user input when shell banner
> waiting. I modified it to do something like in shell, scheduling
> processes while waiting for user input.

I like this idea; even though it doesn't solve all cases (e.g. closing 
gracefully after a successful boot), it does solve some and it has a negative 
code size cost (-11 bytes).

I have committed a similar patch:

  http://git.ipxe.org/ipxe.git/commitdiff/3338a03

This is functionally slightly different to your patch, in that it will match 
the current behaviour by exiting immediately if a key other than Ctrl-B is 
pressed.  This allows interactive users to skip the (usually extremely 
irritating and unwanted) prompt message by pressing other keys.

Michael



More information about the ipxe-devel mailing list