diff options
author | bde <bde@FreeBSD.org> | 1999-04-14 14:26:36 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-04-14 14:26:36 +0000 |
commit | 9a10a11b66e26366ada864a1edeada684470293b (patch) | |
tree | 3a8da958b77f97c012ad1400922dbf4e9b00b3c1 /sys/amd64/isa/vector.S | |
parent | 4f58b315f5310677e623e6da86f7720169a5dc1d (diff) | |
download | FreeBSD-src-9a10a11b66e26366ada864a1edeada684470293b.zip FreeBSD-src-9a10a11b66e26366ada864a1edeada684470293b.tar.gz |
Generate intrnames[] dynamically. This should be new-bus friendly.
Old version reviewed by: se
Diffstat (limited to 'sys/amd64/isa/vector.S')
-rw-r--r-- | sys/amd64/isa/vector.S | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sys/amd64/isa/vector.S b/sys/amd64/isa/vector.S index 1fc5668..608f135 100644 --- a/sys/amd64/isa/vector.S +++ b/sys/amd64/isa/vector.S @@ -1,6 +1,6 @@ /* * from: vector.s, 386BSD 0.1 unknown origin - * $Id: vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $ + * $Id: vector.s,v 1.30 1997/05/26 17:58:27 fsmp Exp $ */ /* @@ -41,6 +41,24 @@ _intr_nesting_level: .byte 0 .space 3 +/* + * Interrupt counters and names for export to vmstat(8) and friends. + * + * XXX this doesn't really belong here; everything except the labels + * for the endpointers is almost machine-independent. + */ +#define NR_INTRNAMES (1 + ICU_LEN + 2 * ICU_LEN) + + .globl _intrcnt, _eintrcnt +_intrcnt: + .space NR_INTRNAMES * 4 +_eintrcnt: + + .globl _intrnames, _eintrnames +_intrnames: + .space NR_INTRNAMES * 16 +_eintrnames: + .text /* |