From eb52c7de1dea182cc3519dc07c62b7f5fe2dfb15 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 28 Aug 2007 19:04:36 +0000 Subject: comments; rename irq_ to pic_ --- console.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'console.c') diff --git a/console.c b/console.c index 22b4b23..236beaa 100644 --- a/console.c +++ b/console.c @@ -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); } -- cgit v1.2.3