Deleted Added
full compact
intr_machdep.h (195002) intr_machdep.h (195249)
1/*-
2 * Copyright (c) 2003 John Baldwin <jhb@FreeBSD.org>
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) 2003 John Baldwin <jhb@FreeBSD.org>
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/amd64/include/intr_machdep.h 195002 2009-06-25 20:35:46Z jhb $
26 * $FreeBSD: head/sys/amd64/include/intr_machdep.h 195249 2009-07-01 17:20:07Z jhb $
27 */
28
29#ifndef __MACHINE_INTR_MACHDEP_H__
30#define __MACHINE_INTR_MACHDEP_H__
31
32#ifdef _KERNEL
33
34/*

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

88 void (*pic_enable_intr)(struct intsrc *);
89 void (*pic_disable_intr)(struct intsrc *);
90 int (*pic_vector)(struct intsrc *);
91 int (*pic_source_pending)(struct intsrc *);
92 void (*pic_suspend)(struct pic *);
93 void (*pic_resume)(struct pic *);
94 int (*pic_config_intr)(struct intsrc *, enum intr_trigger,
95 enum intr_polarity);
27 */
28
29#ifndef __MACHINE_INTR_MACHDEP_H__
30#define __MACHINE_INTR_MACHDEP_H__
31
32#ifdef _KERNEL
33
34/*

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

88 void (*pic_enable_intr)(struct intsrc *);
89 void (*pic_disable_intr)(struct intsrc *);
90 int (*pic_vector)(struct intsrc *);
91 int (*pic_source_pending)(struct intsrc *);
92 void (*pic_suspend)(struct pic *);
93 void (*pic_resume)(struct pic *);
94 int (*pic_config_intr)(struct intsrc *, enum intr_trigger,
95 enum intr_polarity);
96 void (*pic_assign_cpu)(struct intsrc *, u_int apic_id);
96 int (*pic_assign_cpu)(struct intsrc *, u_int apic_id);
97 STAILQ_ENTRY(pic) pics;
98};
99
100/* Flags for pic_disable_source() */
101enum {
102 PIC_EOI,
103 PIC_NO_EOI,
104};

--- 69 unchanged lines hidden ---
97 STAILQ_ENTRY(pic) pics;
98};
99
100/* Flags for pic_disable_source() */
101enum {
102 PIC_EOI,
103 PIC_NO_EOI,
104};

--- 69 unchanged lines hidden ---