kern

diff src/intr.c @ 12:eaec918de072

- fixed the scrolling issue - other minor crap
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 22 Feb 2011 18:51:44 +0200
parents cccaa40f5432
children 7795225808b3 8ea6debe4265
line diff
     1.1 --- a/src/intr.c	Sat Feb 19 04:41:51 2011 +0200
     1.2 +++ b/src/intr.c	Tue Feb 22 18:51:44 2011 +0200
     1.3 @@ -159,7 +159,7 @@
     1.4  	desc->d[3] = (addr & 0xffff0000) >> 16;
     1.5  }
     1.6  
     1.7 -#define IS_TRAP(n)	((n) < 20 && (n) != 2)
     1.8 +#define IS_TRAP(n)	((n) < 32)
     1.9  static void set_intr_entry(int num, void (*handler)(void))
    1.10  {
    1.11  	int type = IS_TRAP(num) ? GATE_TRAP : GATE_INTR;