commit | d703c001ffe3f42740a4d3c4b885d26f1ab16d5c | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Jun 21 12:59:19 2008 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Jun 21 12:59:19 2008 -0400 |
tree | e9685806d3cce9a850ad81a0244e545aff9b9bf4 | |
parent | c541e1bebde711975477f2314106d7b0799fccd7 [diff] |
Convert '\n' to '\r\n' on debug serial output.
diff --git a/src/output.c b/src/output.c index dd647a2..6d4767b 100644 --- a/src/output.c +++ b/src/output.c
@@ -61,9 +61,12 @@ 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) {