projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3563c2
)
Comment.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 27 May 2006 20:57:13 +0000
(20:57 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 27 May 2006 20:57:13 +0000
(20:57 +0000)
src/devices/serial.c
patch
|
blob
|
history
diff --git
a/src/devices/serial.c
b/src/devices/serial.c
index d92a87ce1540be2af42940622491a4a28be078c2..1cb49a39ee25da6e35d4cd12356fb2a019cdd4b3 100644
(file)
--- a/
src/devices/serial.c
+++ b/
src/devices/serial.c
@@
-64,7
+64,7
@@
serial_init_poll (void)
outb (IER_REG, 0); /* Turn off all interrupts. */
outb (FCR_REG, 0); /* Disable FIFO. */
set_serial (115200); /* 115.2 kbps, N-8-1. */
- outb (MCR_REG, MCR_OUT2); /*
Turn on OUT2 output line
. */
+ outb (MCR_REG, MCR_OUT2); /*
Required to enable interrupts
. */
intq_init (&txq);
mode = POLL;
}