projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c541e1b
)
Convert '\n' to '\r\n' on debug serial output.
author
Kevin O'Connor
<kevin@koconnor.net>
Sat, 21 Jun 2008 16:59:19 +0000
(12:59 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sat, 21 Jun 2008 16:59:19 +0000
(12:59 -0400)
src/output.c
patch
|
blob
|
history
diff --git
a/src/output.c
b/src/output.c
index dd647a26e63f4cb0e68ad71b28f79140b388efb3..6d4767baac3183ae88c87d56d6b97299f81d0abb 100644
(file)
--- 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) {