From owner-p4-projects Tue Dec 24 3:18:38 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9495537B405; Tue, 24 Dec 2002 03:18:36 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B97B37B401 for ; Tue, 24 Dec 2002 03:18:36 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D66E543EEC for ; Tue, 24 Dec 2002 03:18:35 -0800 (PST) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBOBIZfh066326 for ; Tue, 24 Dec 2002 03:18:35 -0800 (PST) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBOBIZIO066323 for perforce@freebsd.org; Tue, 24 Dec 2002 03:18:35 -0800 (PST) Date: Tue, 24 Dec 2002 03:18:35 -0800 (PST) Message-Id: <200212241118.gBOBIZIO066323@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar Subject: PERFORCE change 22703 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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