Deleted Added
full compact
intr_machdep.h (212541) intr_machdep.h (216961)
1/*-
2 * Copyright (c) 2001 Jake Burkholder.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

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

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/sparc64/include/intr_machdep.h 212541 2010-09-13 07:25:35Z mav $
26 * $FreeBSD: head/sys/sparc64/include/intr_machdep.h 216961 2011-01-04 16:11:32Z marius $
27 */
28
29#ifndef _MACHINE_INTR_MACHDEP_H_
30#define _MACHINE_INTR_MACHDEP_H_
31
32#define IRSR_BUSY (1 << 5)
33
34#define PIL_MAX (1 << 4)

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

43#define PIL_LOW 1 /* stray interrupts */
44#define PIL_ITHREAD 2 /* interrupts that use ithreads */
45#define PIL_RENDEZVOUS 3 /* smp rendezvous ipi */
46#define PIL_AST 4 /* ast ipi */
47#define PIL_STOP 5 /* stop cpu ipi */
48#define PIL_PREEMPT 6 /* preempt idle thread cpu ipi */
49#define PIL_HARDCLOCK 7 /* hardclock broadcast */
50#define PIL_FILTER 12 /* filter interrupts */
27 */
28
29#ifndef _MACHINE_INTR_MACHDEP_H_
30#define _MACHINE_INTR_MACHDEP_H_
31
32#define IRSR_BUSY (1 << 5)
33
34#define PIL_MAX (1 << 4)

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

43#define PIL_LOW 1 /* stray interrupts */
44#define PIL_ITHREAD 2 /* interrupts that use ithreads */
45#define PIL_RENDEZVOUS 3 /* smp rendezvous ipi */
46#define PIL_AST 4 /* ast ipi */
47#define PIL_STOP 5 /* stop cpu ipi */
48#define PIL_PREEMPT 6 /* preempt idle thread cpu ipi */
49#define PIL_HARDCLOCK 7 /* hardclock broadcast */
50#define PIL_FILTER 12 /* filter interrupts */
51#define PIL_FAST 13 /* fast interrupts */
51#define PIL_BRIDGE 13 /* bridge interrupts */
52#define PIL_TICK 14 /* tick interrupts */
53
54#ifndef LOCORE
55
52#define PIL_TICK 14 /* tick interrupts */
53
54#ifndef LOCORE
55
56#define INTR_BRIDGE INTR_MD1
57
56struct trapframe;
57
58typedef void ih_func_t(struct trapframe *);
59typedef void iv_func_t(void *);
60
61struct intr_request {
62 struct intr_request *ir_next;
63 iv_func_t *ir_func;

--- 48 unchanged lines hidden ---
58struct trapframe;
59
60typedef void ih_func_t(struct trapframe *);
61typedef void iv_func_t(void *);
62
63struct intr_request {
64 struct intr_request *ir_next;
65 iv_func_t *ir_func;

--- 48 unchanged lines hidden ---