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) --- traps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'traps.h') diff --git a/traps.h b/traps.h index b1bafa0..732d8e0 100644 --- a/traps.h +++ b/traps.h @@ -27,8 +27,8 @@ #define IRQ_OFFSET 32 // IRQ 0 corresponds to int IRQ_OFFSET +#define IRQ_TIMER 0 #define IRQ_KBD 1 #define IRQ_IDE 14 -#define IRQ_TIMER 18 #define IRQ_ERROR 19 #define IRQ_SPURIOUS 31 -- cgit v1.2.3