diff options
author | rsc <rsc> | 2007-08-28 19:04:36 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-28 19:04:36 +0000 |
commit | eb52c7de1dea182cc3519dc07c62b7f5fe2dfb15 (patch) | |
tree | 89746e7d94fc184b4e0d1a0deef3c9c93560f2f7 /console.c | |
parent | 5516be1fed10ac87848668964c495266d02ae915 (diff) | |
download | xv6-labs-eb52c7de1dea182cc3519dc07c62b7f5fe2dfb15.tar.gz xv6-labs-eb52c7de1dea182cc3519dc07c62b7f5fe2dfb15.tar.bz2 xv6-labs-eb52c7de1dea182cc3519dc07c62b7f5fe2dfb15.zip |
comments; rename irq_ to pic_
Diffstat (limited to 'console.c')
-rw-r--r-- | console.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +// Console input and output. +// Input is from the keyboard only. +// Output is written to the screen and the printer port. + #include "types.h" #include "defs.h" #include "param.h" @@ -278,7 +282,7 @@ console_init(void) devsw[CONSOLE].read = console_read; //use_console_lock = 1; - irq_enable(IRQ_KBD); + pic_enable(IRQ_KBD); ioapic_enable(IRQ_KBD, 0); } |