Deleted Added
full compact
apicvar.h (156124) apicvar.h (158236)
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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/i386/include/apicvar.h 156124 2006-02-28 22:24:55Z jhb $
29 * $FreeBSD: head/sys/i386/include/apicvar.h 158236 2006-05-01 21:36:47Z jhb $
30 */
31
32#ifndef _MACHINE_APICVAR_H_
33#define _MACHINE_APICVAR_H_
34
35/*
36 * Local && I/O APIC variable definitions.
37 */

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

111#define APIC_ERROR_INT APIC_LOCAL_INTS
112#define APIC_THERMAL_INT (APIC_LOCAL_INTS + 1)
113
114#define APIC_IPI_INTS (APIC_LOCAL_INTS + 2)
115#define IPI_RENDEZVOUS (APIC_IPI_INTS) /* Inter-CPU rendezvous. */
116#define IPI_INVLTLB (APIC_IPI_INTS + 1) /* TLB Shootdown IPIs */
117#define IPI_INVLPG (APIC_IPI_INTS + 2)
118#define IPI_INVLRNG (APIC_IPI_INTS + 3)
30 */
31
32#ifndef _MACHINE_APICVAR_H_
33#define _MACHINE_APICVAR_H_
34
35/*
36 * Local && I/O APIC variable definitions.
37 */

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

111#define APIC_ERROR_INT APIC_LOCAL_INTS
112#define APIC_THERMAL_INT (APIC_LOCAL_INTS + 1)
113
114#define APIC_IPI_INTS (APIC_LOCAL_INTS + 2)
115#define IPI_RENDEZVOUS (APIC_IPI_INTS) /* Inter-CPU rendezvous. */
116#define IPI_INVLTLB (APIC_IPI_INTS + 1) /* TLB Shootdown IPIs */
117#define IPI_INVLPG (APIC_IPI_INTS + 2)
118#define IPI_INVLRNG (APIC_IPI_INTS + 3)
119#define IPI_LAZYPMAP (APIC_IPI_INTS + 4) /* Lazy pmap release. */
119#define IPI_INVLCACHE (APIC_IPI_INTS + 4)
120#define IPI_LAZYPMAP (APIC_IPI_INTS + 5) /* Lazy pmap release. */
120/* Vector to handle bitmap based IPIs */
121/* Vector to handle bitmap based IPIs */
121#define IPI_BITMAP_VECTOR (APIC_IPI_INTS + 5)
122#define IPI_BITMAP_VECTOR (APIC_IPI_INTS + 6)
122
123/* IPIs handled by IPI_BITMAPED_VECTOR (XXX ups is there a better place?) */
124#define IPI_AST 0 /* Generate software trap. */
125#define IPI_PREEMPT 1
126#define IPI_BITMAP_LAST IPI_PREEMPT
127#define IPI_IS_BITMAPED(x) ((x) <= IPI_BITMAP_LAST)
128
123
124/* IPIs handled by IPI_BITMAPED_VECTOR (XXX ups is there a better place?) */
125#define IPI_AST 0 /* Generate software trap. */
126#define IPI_PREEMPT 1
127#define IPI_BITMAP_LAST IPI_PREEMPT
128#define IPI_IS_BITMAPED(x) ((x) <= IPI_BITMAP_LAST)
129
129#define IPI_STOP (APIC_IPI_INTS + 6) /* Stop CPU until restarted. */
130#define IPI_STOP (APIC_IPI_INTS + 7) /* Stop CPU until restarted. */
130
131/*
132 * The spurious interrupt can share the priority class with the IPIs since
133 * it is not a normal interrupt. (Does not use the APIC's interrupt fifo)
134 */
135#define APIC_SPURIOUS_INT 255
136
137#define LVT_LINT0 0

--- 79 unchanged lines hidden ---
131
132/*
133 * The spurious interrupt can share the priority class with the IPIs since
134 * it is not a normal interrupt. (Does not use the APIC's interrupt fifo)
135 */
136#define APIC_SPURIOUS_INT 255
137
138#define LVT_LINT0 0

--- 79 unchanged lines hidden ---