ldlinux: Accept commands from the serial console
authorMatt Fleming <matt.fleming@intel.com>
Fri, 25 Nov 2011 16:22:44 +0000 (16:22 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 2 Dec 2011 12:13:31 +0000 (12:13 +0000)
commit1e4789d4bd9db075929b03015826e4996cb0a37a
treea283a88884af791d8e294b4d658b503d4732ec07
parent086d698c642f0b8901757a40cef56b04d05bf19c
ldlinux: Accept commands from the serial console

To mimic the old (pre-elflink) command-line interface behaviour let's
use getchar() instead of reading from stdin. This way, if the user
types a command on the serial console it will actually be executed.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/cli.c
com32/elflink/ldlinux/get_key.c
com32/libutil/include/getkey.h