From f70172129c94e4d53b56fc10a7d859679b581bd2 Mon Sep 17 00:00:00 2001 From: kaashoek Date: Thu, 7 Sep 2006 01:37:58 +0000 Subject: run without lapic and ioapic, if they are not present if no lapic available, use 8253pit for clock now xv6 runs both on qemu (uniprocessor) and bochs (uniprocessor and MP) --- console.c | 1 + 1 file changed, 1 insertion(+) (limited to 'console.c') diff --git a/console.c b/console.c index 418aa84..1952a3c 100644 --- a/console.c +++ b/console.c @@ -409,6 +409,7 @@ console_init() devsw[CONSOLE].d_write = console_write; devsw[CONSOLE].d_read = console_read; + irq_setmask_8259A(irq_mask_8259A & ~(1 << IRQ_KBD)); ioapic_enable(IRQ_KBD, 0); use_console_lock = 1; -- cgit v1.2.3