| @@ -1,40 +1,40 @@ | | | @@ -1,40 +1,40 @@ |
1 | .\" $NetBSD: intrctl.8,v 1.2 2015/08/17 17:47:22 wiz Exp $ | | 1 | .\" $NetBSD: intrctl.8,v 1.3 2016/10/12 21:47:37 jdolecek Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2015 Internet Initiative Japan Inc. | | 3 | .\" Copyright (c) 2015 Internet Initiative Japan Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
15 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | | 15 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS |
16 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | | 16 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
17 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | 17 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
18 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | | 18 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS |
19 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | | 19 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
20 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | | 20 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
21 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 21 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
22 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 22 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
23 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 23 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
24 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 24 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
25 | .\" POSSIBILITY OF SUCH DAMAGE. | | 25 | .\" POSSIBILITY OF SUCH DAMAGE. |
26 | .\" | | 26 | .\" |
27 | .Dd August 17, 2015 | | 27 | .Dd October 12, 2016 |
28 | .Dt INTRCTL 8 | | 28 | .Dt INTRCTL 8 |
29 | .Os | | 29 | .Os |
30 | .Sh NAME | | 30 | .Sh NAME |
31 | .Nm intrctl | | 31 | .Nm intrctl |
32 | .Nd program to control interrupts | | 32 | .Nd program to control interrupts |
33 | .Sh SYNOPSIS | | 33 | .Sh SYNOPSIS |
34 | .Nm intrctl | | 34 | .Nm intrctl |
35 | .Ar command | | 35 | .Ar command |
36 | .Op Ar options | | 36 | .Op Ar options |
37 | .Sh DESCRIPTION | | 37 | .Sh DESCRIPTION |
38 | The | | 38 | The |
39 | .Nm | | 39 | .Nm |
40 | command can be used to control and inspect the state of interrupts | | 40 | command can be used to control and inspect the state of interrupts |
| @@ -58,13 +58,19 @@ If | | | @@ -58,13 +58,19 @@ If |
58 | is already enabled, this command has no effect. | | 58 | is already enabled, this command has no effect. |
59 | .It list | | 59 | .It list |
60 | for each intrid in the system, display interrupt counts per CPU. | | 60 | for each intrid in the system, display interrupt counts per CPU. |
61 | The intrid is an interrupt name such as "ioapic0 pin 22" for x86. | | 61 | The intrid is an interrupt name such as "ioapic0 pin 22" for x86. |
62 | .It nointr Fl c Ar cpu_index | | 62 | .It nointr Fl c Ar cpu_index |
63 | disable to set an interrupt's affinity to | | 63 | disable to set an interrupt's affinity to |
64 | .Ar cpu_index . | | 64 | .Ar cpu_index . |
65 | If | | 65 | If |
66 | .Ar cpu_index | | 66 | .Ar cpu_index |
67 | is already disabled, this command has no effect. | | 67 | is already disabled, this command has no effect. |
68 | .El | | 68 | .El |
69 | .Sh SEE ALSO | | 69 | .Sh SEE ALSO |
70 | .Xr cpuctl 8 | | 70 | .Xr cpuctl 8 |
| | | 71 | .Sh HISTORY |
| | | 72 | .Nm |
| | | 73 | first appeared in |
| | | 74 | .Nx 8.0 . |
| | | 75 | .Sh AUTHORS |
| | | 76 | .An Kengo NAKAHARA Aq Mt knakahara@NetBSD.org |