projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More to-do.
[pintos-anon]
/
src
/
devices
/
serial.c
diff --git
a/src/devices/serial.c
b/src/devices/serial.c
index 099b22841efeafd4289f718210ffb592f8148f57..aca5b481aeb9110b3382ab01c3c4f062ebb1d7b2 100644
(file)
--- a/
src/devices/serial.c
+++ b/
src/devices/serial.c
@@
-63,7
+63,7
@@
serial_init_poll (void)
ASSERT (mode == UNINIT);
outb (IER_REG, 0); /* Turn off all interrupts. */
outb (FCR_REG, 0); /* Disable FIFO. */
ASSERT (mode == UNINIT);
outb (IER_REG, 0); /* Turn off all interrupts. */
outb (FCR_REG, 0); /* Disable FIFO. */
- set_serial (
9600); /* 9600
bps, N-8-1. */
+ set_serial (
115200); /* 115.2 k
bps, N-8-1. */
outb (MCR_REG, MCR_OUT2); /* Turn on OUT2 output line. */
intq_init (&txq, "serial xmit");
mode = POLL;
outb (MCR_REG, MCR_OUT2); /* Turn on OUT2 output line. */
intq_init (&txq, "serial xmit");
mode = POLL;