Date: Tue, 24 Dec 2002 03:18:35 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 22703 for review Message-ID: <200212241118.gBOBIZIO066323@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22703 Change 22703 by marcel@marcel_nfs on 2002/12/24 03:18:28 Bump the interrupt count. On the HP rx2600 we have sio2 on interrupt 82. With only room for 64 interrupts we were corrupting the interrupt counters for interrupts 27, 28 and 29. We now have room for 128 interrupts. Deal with the fact that we now have 3 digit interrupt numbers. While here, replace "intr" with a single hash mark. It helps a modified vmstat that also shows interrupt sources that don't have any interrupts yet... Affected files ... .. //depot/projects/ia64/sys/ia64/ia64/locore.s#10 edit .. //depot/projects/ia64/sys/ia64/include/intrcnt.h#3 edit Differences ... ==== //depot/projects/ia64/sys/ia64/ia64/locore.s#10 (text+ko) ==== @@ -360,9 +360,11 @@ .byte 0 intr_n = 0 .rept INTRCNT_COUNT - 1 - .ascii "intr " - .byte intr_n / 10 + '0, intr_n % 10 + '0 - .fill INTRNAME_LEN - 5 - 2 - 1, 1, ' ' + .ascii "#" + .byte intr_n / 100 + '0 + .byte (intr_n % 100) / 10 + '0 + .byte intr_n % 10 + '0 + .fill INTRNAME_LEN - 1 - 3 - 1, 1, ' ' .byte 0 intr_n = intr_n + 1 .endr ==== //depot/projects/ia64/sys/ia64/include/intrcnt.h#3 (text+ko) ==== @@ -32,7 +32,7 @@ #define INTRCNT_ISA_IRQ (INTRCNT_CLOCK + 1) #define INTRCNT_ISA_IRQ_LEN 16 #define INTRCNT_OTHER_BASE (INTRCNT_ISA_IRQ + INTRCNT_ISA_IRQ_LEN) -#define INTRCNT_OTHER_LEN 48 +#define INTRCNT_OTHER_LEN 112 #define INTRCNT_COUNT (INTRCNT_OTHER_BASE + INTRCNT_OTHER_LEN) /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212241118.gBOBIZIO066323>