core: don't flush the serial port queue for a serial command
authorH. Peter Anvin <hpa@zytor.com>
Sun, 24 May 2009 02:20:01 +0000 (19:20 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 24 May 2009 02:20:01 +0000 (19:20 -0700)
commitee89890b4008c40bd7d6ea5ddb1016b47fee7bbf
treed32ce4281873933fb6148295ac5a427e9884aec5
parent2b052241f002e2cfe3fed022e56bbc7fb532939c
core: don't flush the serial port queue for a serial command

Don't flush the serial port queue when encountering a "serial"
command.  We don't actually want to lose data due to a repeated
"serial", since it's quite likely it's exactly the same as before.

Do flush the queue on hardware cleanup, however.

Also fix some minor bugs, including a bunch of code in the .data
segment.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/parseconfig.inc
core/serirq.inc