apicvar.h (169391) | apicvar.h (169395) |
---|---|
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 169391 2007-05-08 21:29:14Z jhb $ | 29 * $FreeBSD: head/sys/i386/include/apicvar.h 169395 2007-05-08 22:01:04Z jhb $ |
30 */ 31 32#ifndef _MACHINE_APICVAR_H_ 33#define _MACHINE_APICVAR_H_ 34 35/* 36 * Local && I/O APIC variable definitions. 37 */ --- 34 unchanged lines hidden (view full) --- 72 * 0x10 (16) +-------------+ 73 * | | 0 (Exceptions, traps, faults, etc.) 74 * 0x00 (0) +-------------+ 75 * 76 * Note: 0x80 needs to be handled specially and not allocated to an 77 * I/O device! 78 */ 79 | 30 */ 31 32#ifndef _MACHINE_APICVAR_H_ 33#define _MACHINE_APICVAR_H_ 34 35/* 36 * Local && I/O APIC variable definitions. 37 */ --- 34 unchanged lines hidden (view full) --- 72 * 0x10 (16) +-------------+ 73 * | | 0 (Exceptions, traps, faults, etc.) 74 * 0x00 (0) +-------------+ 75 * 76 * Note: 0x80 needs to be handled specially and not allocated to an 77 * I/O device! 78 */ 79 |
80#define MAX_APIC_ID 0xfe |
|
80#define APIC_ID_ALL 0xff 81 82/* I/O Interrupts are used for external devices such as ISA, PCI, etc. */ 83#define APIC_IO_INTS (IDT_IO_INTS + 16) 84#define APIC_NUM_IOINTS 191 85 86/* The timer interrupt is used for clock handling and drives hardclock, etc. */ 87#define APIC_TIMER_INT (APIC_IO_INTS + APIC_NUM_IOINTS) --- 134 unchanged lines hidden --- | 81#define APIC_ID_ALL 0xff 82 83/* I/O Interrupts are used for external devices such as ISA, PCI, etc. */ 84#define APIC_IO_INTS (IDT_IO_INTS + 16) 85#define APIC_NUM_IOINTS 191 86 87/* The timer interrupt is used for clock handling and drives hardclock, etc. */ 88#define APIC_TIMER_INT (APIC_IO_INTS + APIC_NUM_IOINTS) --- 134 unchanged lines hidden --- |