Deleted Added
full compact
swi.9 (68749) swi.9 (70466)
1.\" Copyright (c) 2000 John H. Baldwin
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 2000 John H. Baldwin
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man9/swi.9 68749 2000-11-15 13:34:41Z ben $
25.\" $FreeBSD: head/share/man/man9/swi.9 70466 2000-12-29 09:18:45Z ru $
26.\"
27.Dd October 30, 2000
28.Dt SWI 9
29.Os
30.Sh NAME
31.Nm sched_swi ,
32.Nm sinthand_add
33.Nd register and schedule software interrupt handlers
34.Sh SYNOPSIS
35.Fd #include <sys/bus.h>
36.Fd #include <sys/proc.h>
37.Fd #include <sys/interrupt.h>
26.\"
27.Dd October 30, 2000
28.Dt SWI 9
29.Os
30.Sh NAME
31.Nm sched_swi ,
32.Nm sinthand_add
33.Nd register and schedule software interrupt handlers
34.Sh SYNOPSIS
35.Fd #include <sys/bus.h>
36.Fd #include <sys/proc.h>
37.Fd #include <sys/interrupt.h>
38.Vt extern struct ithd *tty_ithd;
39.Vt extern struct ithd *clk_ithd;
40.Vt extern struct intrhand *net_ih;
41.Vt extern struct intrhand *softclock_ih;
42.Vt extern struct intrhand *vm_ih;
38.Vt "extern struct ithd *tty_ithd;"
39.Vt "extern struct ithd *clk_ithd;"
40.Vt "extern struct intrhand *net_ih;"
41.Vt "extern struct intrhand *softclock_ih;"
42.Vt "extern struct intrhand *vm_ih;"
43.Ft void
44.Fn sched_swi "struct intrhand *handler" "int flags"
45.Ft struct intrhand *
46.Fo sinthand_add
47.Fa "const char *name"
48.Fa "struct ithd **thread"
49.Fa "driver_intr_t handler"
50.Fa "void *arg"

--- 153 unchanged lines hidden ---
43.Ft void
44.Fn sched_swi "struct intrhand *handler" "int flags"
45.Ft struct intrhand *
46.Fo sinthand_add
47.Fa "const char *name"
48.Fa "struct ithd **thread"
49.Fa "driver_intr_t handler"
50.Fa "void *arg"

--- 153 unchanged lines hidden ---