summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-01-05 21:48:33 +0000
committermarcel <marcel@FreeBSD.org>2003-01-05 21:48:33 +0000
commit1116de1ec05ac0654891d6af19c3deee8a48e275 (patch)
treeb9702a51fff6409f16df734c8f1843fdd353feb1 /sys/ia64
parentc8e8679738df9343394cc03f3ae0ce3e7cfe311c (diff)
downloadFreeBSD-src-1116de1ec05ac0654891d6af19c3deee8a48e275.zip
FreeBSD-src-1116de1ec05ac0654891d6af19c3deee8a48e275.tar.gz
Handle 3-digit interrupt numbers (vectors). While here, change the
name of unused entries from "intr XXX" to "#XXX". This makes it easier to debug interrupt problems, because vmstat can be hacked more easily to dump all interrupt entries that are in use and not those that have had interrupts.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/locore.S8
-rw-r--r--sys/ia64/ia64/locore.s8
2 files changed, 10 insertions, 6 deletions
diff --git a/sys/ia64/ia64/locore.S b/sys/ia64/ia64/locore.S
index 726586d..ce991e8 100644
--- a/sys/ia64/ia64/locore.S
+++ b/sys/ia64/ia64/locore.S
@@ -360,9 +360,11 @@ EXPORT(intrnames)
.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
diff --git a/sys/ia64/ia64/locore.s b/sys/ia64/ia64/locore.s
index 726586d..ce991e8 100644
--- a/sys/ia64/ia64/locore.s
+++ b/sys/ia64/ia64/locore.s
@@ -360,9 +360,11 @@ EXPORT(intrnames)
.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
OpenPOWER on IntegriCloud