summaryrefslogtreecommitdiffstats
path: root/sys/sys/interrupt.h
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-07-18 15:19:40 +0000
committerattilio <attilio@FreeBSD.org>2011-07-18 15:19:40 +0000
commit9a6ff5ad378cfaaa99c5162e2b0f6e4cb6a3c796 (patch)
tree3d2deee4220ced3fd75b40dbd48afd2ed84428f6 /sys/sys/interrupt.h
parent838b39dd924348287b3ed188b8a6b642390c9429 (diff)
downloadFreeBSD-src-9a6ff5ad378cfaaa99c5162e2b0f6e4cb6a3c796.zip
FreeBSD-src-9a6ff5ad378cfaaa99c5162e2b0f6e4cb6a3c796.tar.gz
- Remove the eintrcnt/eintrnames usage and introduce the concept of
sintrcnt/sintrnames which are symbols containing the size of the 2 tables. - For amd64/i386 remove the storage of intr* stuff from assembly files. This area can be widely improved by applying the same to other architectures and likely finding an unified approach among them and move the whole code to be MI. More work in this area is expected to happen fairly soon. No MFC is previewed for this patch. Tested by: pluknet Reviewed by: jhb Approved by: re (kib)
Diffstat (limited to 'sys/sys/interrupt.h')
-rw-r--r--sys/sys/interrupt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h
index fb253ae..3dace82 100644
--- a/sys/sys/interrupt.h
+++ b/sys/sys/interrupt.h
@@ -149,10 +149,10 @@ extern struct intr_event *clk_intr_event;
extern void *vm_ih;
/* Counts and names for statistics (defined in MD code). */
-extern u_long eintrcnt[]; /* end of intrcnt[] */
-extern char eintrnames[]; /* end of intrnames[] */
extern u_long intrcnt[]; /* counts for for each device and stray */
extern char intrnames[]; /* string table containing device names */
+extern size_t sintrcnt; /* size of intrcnt table */
+extern size_t sintrnames; /* size of intrnames table */
#ifdef DDB
void db_dump_intr_event(struct intr_event *ie, int handlers);
OpenPOWER on IntegriCloud