Deleted Added
full compact
intr_machdep.c (127977) intr_machdep.c (131481)
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

52 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
53 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
54 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
55 * SUCH DAMAGE.
56 *
57 * from: @(#)isa.c 7.2 (Berkeley) 5/13/91
58 * form: src/sys/i386/isa/intr_machdep.c,v 1.57 2001/07/20
59 *
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

52 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
53 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
54 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
55 * SUCH DAMAGE.
56 *
57 * from: @(#)isa.c 7.2 (Berkeley) 5/13/91
58 * form: src/sys/i386/isa/intr_machdep.c,v 1.57 2001/07/20
59 *
60 * $FreeBSD: head/sys/sparc64/sparc64/intr_machdep.c 127977 2004-04-07 05:00:01Z imp $
60 * $FreeBSD: head/sys/sparc64/sparc64/intr_machdep.c 131481 2004-07-02 20:21:44Z jhb $
61 */
62
63#include <sys/param.h>
64#include <sys/systm.h>
65#include <sys/queue.h>
66#include <sys/bus.h>
67#include <sys/interrupt.h>
68#include <sys/lock.h>

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

225/* Schedule a heavyweight interrupt process. */
226static void
227sched_ithd(void *cookie)
228{
229 struct intr_vector *iv;
230 int error;
231
232 iv = cookie;
61 */
62
63#include <sys/param.h>
64#include <sys/systm.h>
65#include <sys/queue.h>
66#include <sys/bus.h>
67#include <sys/interrupt.h>
68#include <sys/lock.h>

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

225/* Schedule a heavyweight interrupt process. */
226static void
227sched_ithd(void *cookie)
228{
229 struct intr_vector *iv;
230 int error;
231
232 iv = cookie;
233#ifdef notyet
234 error = ithread_schedule(iv->iv_ithd);
233 error = ithread_schedule(iv->iv_ithd);
235#else
236 error = ithread_schedule(iv->iv_ithd, 0);
237#endif
238 if (error == EINVAL)
239 intr_stray_vector(iv);
240}
241
242int
243inthand_add(const char *name, int vec, void (*handler)(void *), void *arg,
244 int flags, void **cookiep)
245{

--- 78 unchanged lines hidden ---
234 if (error == EINVAL)
235 intr_stray_vector(iv);
236}
237
238int
239inthand_add(const char *name, int vec, void (*handler)(void *), void *arg,
240 int flags, void **cookiep)
241{

--- 78 unchanged lines hidden ---