apicvar.h (187880) | apicvar.h (189903) |
---|---|
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/amd64/include/apicvar.h 187880 2009-01-29 09:22:56Z jeff $ | 29 * $FreeBSD: head/sys/amd64/include/apicvar.h 189903 2009-03-17 00:48:11Z jkim $ |
30 */ 31 32#ifndef _MACHINE_APICVAR_H_ 33#define _MACHINE_APICVAR_H_ 34 35#include <machine/segments.h> 36 37/* --- 87 unchanged lines hidden (view full) --- 125 126/* IPIs handled by IPI_BITMAPED_VECTOR (XXX ups is there a better place?) */ 127#define IPI_AST 0 /* Generate software trap. */ 128#define IPI_PREEMPT 1 129#define IPI_BITMAP_LAST IPI_PREEMPT 130#define IPI_IS_BITMAPED(x) ((x) <= IPI_BITMAP_LAST) 131 132#define IPI_STOP (APIC_IPI_INTS + 7) /* Stop CPU until restarted. */ | 30 */ 31 32#ifndef _MACHINE_APICVAR_H_ 33#define _MACHINE_APICVAR_H_ 34 35#include <machine/segments.h> 36 37/* --- 87 unchanged lines hidden (view full) --- 125 126/* IPIs handled by IPI_BITMAPED_VECTOR (XXX ups is there a better place?) */ 127#define IPI_AST 0 /* Generate software trap. */ 128#define IPI_PREEMPT 1 129#define IPI_BITMAP_LAST IPI_PREEMPT 130#define IPI_IS_BITMAPED(x) ((x) <= IPI_BITMAP_LAST) 131 132#define IPI_STOP (APIC_IPI_INTS + 7) /* Stop CPU until restarted. */ |
133#define IPI_SUSPEND (APIC_IPI_INTS + 8) /* Suspend CPU until restarted. */ |
|
133 134/* 135 * The spurious interrupt can share the priority class with the IPIs since 136 * it is not a normal interrupt. (Does not use the APIC's interrupt fifo) 137 */ 138#define APIC_SPURIOUS_INT 255 139 140#define LVT_LINT0 0 --- 87 unchanged lines hidden --- | 134 135/* 136 * The spurious interrupt can share the priority class with the IPIs since 137 * it is not a normal interrupt. (Does not use the APIC's interrupt fifo) 138 */ 139#define APIC_SPURIOUS_INT 255 140 141#define LVT_LINT0 0 --- 87 unchanged lines hidden --- |