]>
Commit | Line | Data |
---|---|---|
2aa62f2b | 1 | /* $NetBSD: intrcnt.h,v 1.1 2006/04/07 14:21:18 cherry Exp $ */\r |
2 | \r | |
3 | /*-\r | |
4 | * Copyright (c) 1995, 1996 Carnegie-Mellon University.\r | |
5 | * All rights reserved.\r | |
6 | *\r | |
7 | * Author: Chris G. Demetriou\r | |
8 | *\r | |
9 | * Permission to use, copy, modify and distribute this software and\r | |
10 | * its documentation is hereby granted, provided that both the copyright\r | |
11 | * notice and this permission notice appear in all copies of the\r | |
12 | * software, derivative works or modified versions, and any portions\r | |
13 | * thereof, and that both notices appear in supporting documentation.\r | |
14 | *\r | |
15 | * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"\r | |
16 | * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND\r | |
17 | * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.\r | |
18 | *\r | |
19 | * Carnegie Mellon requests users of this software to return to\r | |
20 | *\r | |
21 | * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU\r | |
22 | * School of Computer Science\r | |
23 | * Carnegie Mellon University\r | |
24 | * Pittsburgh PA 15213-3890\r | |
25 | *\r | |
26 | * any improvements or extensions that they make and grant Carnegie the\r | |
27 | * rights to redistribute these changes.\r | |
28 | */\r | |
29 | \r | |
30 | #define INTRCNT_CLOCK 0\r | |
31 | #define INTRCNT_ISA_IRQ (INTRCNT_CLOCK + 1)\r | |
32 | #define INTRCNT_ISA_IRQ_LEN 16\r | |
33 | #define INTRCNT_OTHER_BASE (INTRCNT_ISA_IRQ + INTRCNT_ISA_IRQ_LEN)\r | |
34 | #define INTRCNT_OTHER_LEN 240\r | |
35 | #define INTRCNT_COUNT (INTRCNT_OTHER_BASE + INTRCNT_OTHER_LEN)\r | |
36 | \r | |
37 | /*\r | |
38 | * Maximum name length in intrnames table (including terminating '\0'.\r | |
39 | * Since vmstat(8) assumes a maximum length of 13 (including '\0'), we're\r | |
40 | * pretty much limited to that (unless we don't care about the alignment\r | |
41 | * of the columns :-)\r | |
42 | */\r | |
43 | #define INTRNAME_LEN 13\r |