diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-05-21 15:30:30 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-05-21 15:30:30 +0000 |
commit | fdcfca01a5aac26545055b90502b1e2cd1ccddd2 (patch) | |
tree | f800d752e515373169e14695cb90a0219b4f2a03 /c/src/lib/libbsp/i386/pc386/console/outch.c | |
parent | Fix formatting so script sees PR. (diff) | |
download | rtems-fdcfca01a5aac26545055b90502b1e2cd1ccddd2.tar.bz2 |
2004-05-21 Till Strauman <strauman@slac.stanford.edu>
* PR 624/bsps
startup/bspstart.c: When probing the memory, make sure not to
corrupt the application. Only probe addresses beyond rtemsFreeMemStart.
* Let IBMPC_outch() convert LF -> CRLF to avoid printk scrambling
the screen.
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/console/outch.c')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/console/outch.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/console/outch.c b/c/src/lib/libbsp/i386/pc386/console/outch.c index ecf08ae2ca..7c7371b70b 100644 --- a/c/src/lib/libbsp/i386/pc386/console/outch.c +++ b/c/src/lib/libbsp/i386/pc386/console/outch.c @@ -266,8 +266,11 @@ _IBMPC_outch(char c) { static int escaped = 0; - if ( ! (escaped = handleEscape(escaped, c)) ) + if ( ! (escaped = handleEscape(escaped, c)) ) { + if ( '\n' == c ) + videoPutChar('\r'); videoPutChar(c); + } } /* _IBMPC_outch */ /*-------------------------------------------------------------------------+ |