summaryrefslogtreecommitdiff
path: root/traps.h
diff options
context:
space:
mode:
authorrsc <rsc>2009-05-31 00:24:11 +0000
committerrsc <rsc>2009-05-31 00:24:11 +0000
commit74afa70d3051553df46d1ea0d76149a7a86c0a47 (patch)
tree593b7b00869b161597d2d8b5af76ee09d4cc7c12 /traps.h
parent0ca9ca0c55922f72dbf324c4ac1aecf8069d1dbe (diff)
downloadxv6-labs-74afa70d3051553df46d1ea0d76149a7a86c0a47.tar.gz
xv6-labs-74afa70d3051553df46d1ea0d76149a7a86c0a47.tar.bz2
xv6-labs-74afa70d3051553df46d1ea0d76149a7a86c0a47.zip
Add serial port input/output.
Delete parallel port output. Works well with qemu -nographic mode.
Diffstat (limited to 'traps.h')
-rw-r--r--traps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/traps.h b/traps.h
index b69edd2..6476bbe 100644
--- a/traps.h
+++ b/traps.h
@@ -31,6 +31,7 @@
#define IRQ_TIMER 0
#define IRQ_KBD 1
+#define IRQ_COM1 4
#define IRQ_IDE 14
#define IRQ_ERROR 19
#define IRQ_SPURIOUS 31