ldlinux, cli: Add support for F-keys
authorMatt Fleming <matt.fleming@linux.intel.com>
Thu, 31 Mar 2011 13:50:19 +0000 (14:50 +0100)
committerMatt Fleming <matt.fleming@linux.intel.com>
Fri, 1 Apr 2011 08:58:02 +0000 (09:58 +0100)
commitf97510383b700984948ad4a1c961b67501a2ac48
tree00c8993ea296a5a26d47671da7f50339950fc8b3
parentf8d263e69d65c4257a49bc1a70428e89d492e361
ldlinux, cli: Add support for F-keys

The old asm command-line interface had support for printing files
containing help messages when the F-keys (F1-F10) were pressed. Add
this support to ldlinux.

The config parser already had support for parsing config files with
F-key directives and the cli code already had support for executing
callbacks when one of the F-keys was hit, so this patch simply glues
all the pieces together and provides a function to cat the help file.

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
com32/elflink/ldlinux/config.h
com32/elflink/ldlinux/ldlinux.c
com32/elflink/ldlinux/readconfig.c