Deleted Added
full compact
apicvar.h (279970) apicvar.h (280260)
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/x86/include/apicvar.h 279970 2015-03-14 00:30:41Z neel $
26 * $FreeBSD: head/sys/x86/include/apicvar.h 280260 2015-03-19 13:57:47Z kib $
27 */
28
29#ifndef _X86_APICVAR_H_
30#define _X86_APICVAR_H_
31
32/*
33 * Local && I/O APIC variable definitions.
34 */

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

150#define APIC_IPI_DEST_OTHERS -3
151
152#define APIC_BUS_UNKNOWN -1
153#define APIC_BUS_ISA 0
154#define APIC_BUS_EISA 1
155#define APIC_BUS_PCI 2
156#define APIC_BUS_MAX APIC_BUS_PCI
157
27 */
28
29#ifndef _X86_APICVAR_H_
30#define _X86_APICVAR_H_
31
32/*
33 * Local && I/O APIC variable definitions.
34 */

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

150#define APIC_IPI_DEST_OTHERS -3
151
152#define APIC_BUS_UNKNOWN -1
153#define APIC_BUS_ISA 0
154#define APIC_BUS_EISA 1
155#define APIC_BUS_PCI 2
156#define APIC_BUS_MAX APIC_BUS_PCI
157
158#define IRQ_EXTINT (NUM_IO_INTS + 1)
159#define IRQ_NMI (NUM_IO_INTS + 2)
160#define IRQ_SMI (NUM_IO_INTS + 3)
161#define IRQ_DISABLED (NUM_IO_INTS + 4)
162
158/*
159 * An APIC enumerator is a psuedo bus driver that enumerates APIC's including
160 * CPU's and I/O APIC's.
161 */
162struct apic_enumerator {
163 const char *apic_name;
164 int (*apic_probe)(void);
165 int (*apic_probe_cpus)(void);

--- 296 unchanged lines hidden ---
163/*
164 * An APIC enumerator is a psuedo bus driver that enumerates APIC's including
165 * CPU's and I/O APIC's.
166 */
167struct apic_enumerator {
168 const char *apic_name;
169 int (*apic_probe)(void);
170 int (*apic_probe_cpus)(void);

--- 296 unchanged lines hidden ---