[coreboot] filo serial console problems

Patrick Georgi patrick at georgi-clan.de
Tue Oct 21 16:31:25 CEST 2008

Jordan Crouse schrieb:
> On 20/10/08 17:16 -0600, Marc Jones wrote:
>> It looks like filo has some problems with serial console.
>> 1. left arrow: reboots the system
> Lots of left arrows - presumably any escape related key would be
> affected.  This has been reported before, but it doesn't seem to
> break in qemu, only on real hardware.
The attached patch limits the amount of characters read for escape
handling to the size of the buffer.
It also changes the recursion to a while loop. A compiler "should"
resolve the tail recursion, but I'd rather be sure.

Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-crash-on-escapes.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081021/07375c7f/attachment.ksh>

More information about the coreboot mailing list