diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-06-21 12:59:19 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-06-21 12:59:19 -0400 |
commit | d703c001ffe3f42740a4d3c4b885d26f1ab16d5c (patch) | |
tree | e9685806d3cce9a850ad81a0244e545aff9b9bf4 | |
parent | c541e1bebde711975477f2314106d7b0799fccd7 (diff) | |
download | seabios-d703c001ffe3f42740a4d3c4b885d26f1ab16d5c.tar.gz |
Convert '\n' to '\r\n' on debug serial output.
-rw-r--r-- | src/output.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/output.c b/src/output.c index dd647a26..6d4767ba 100644 --- a/src/output.c +++ b/src/output.c @@ -61,9 +61,12 @@ putc(u16 action, char c) if (! CONFIG_COREBOOT) // Send character to debug port. outb(c, PORT_BIOS_DEBUG); - if (CONFIG_DEBUG_SERIAL) + if (CONFIG_DEBUG_SERIAL) { // Send character to serial port. + if (c == '\n') + debug_serial('\r'); debug_serial(c); + } } if (action) { |