From d703c001ffe3f42740a4d3c4b885d26f1ab16d5c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 21 Jun 2008 12:59:19 -0400 Subject: [PATCH] Convert '\n' to '\r\n' on debug serial output. --- src/output.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ 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) { -- 2.25.1