From bd303ed06096395778c80558e013b64bb47b9e9c Mon Sep 17 00:00:00 2001 From: kaashoek Date: Wed, 28 Jun 2006 16:35:03 +0000 Subject: timer interrupts --- traps.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'traps.h') diff --git a/traps.h b/traps.h index a81903c..4b2d368 100644 --- a/traps.h +++ b/traps.h @@ -24,3 +24,9 @@ // processor defined exceptions or interrupt vectors. #define T_SYSCALL 48 // system call #define T_DEFAULT 500 // catchall + +#define IRQ_OFFSET 32 // IRQ 0 corresponds to int IRQ_OFFSET + +#define IRQ_TIMER 18 +#define IRQ_ERROR 19 +#define IRQ_SPURIOUS 31 -- cgit v1.2.3