[coreboot] [patch 2/2] coreinfo: Use the ESC key to exit the payload

Uwe Hermann uwe at hermann-uwe.de
Wed May 14 23:29:24 CEST 2008


On Tue, May 13, 2008 at 05:38:48PM -0600, jordan.crouse at amd.com wrote:
> Enable the ESC key to close coreinfo - useful if you are using a chooser
> and want to return to it.
> 
> Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>
> Index: coreinfo/coreinfo.c
> ===================================================================
> --- coreinfo.orig/coreinfo.c	2008-05-13 14:52:50.000000000 -0600
> +++ coreinfo/coreinfo.c	2008-05-13 14:52:54.000000000 -0600
> @@ -256,6 +256,8 @@
>  			}
>  		}
>  
> +		if (key == 0x1B)

How about something like KEY_ESC? Doesn't seem to exist yet, but would
be nice.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org




More information about the coreboot mailing list