V4L/DVB(6548a) Fix compilation for TDA8290
[linux-2.6/lfs.git] / include / asm-x86 / mach-visws / irq_vectors.h
blobcb572d8db5051efe7781ba495a8fdac5b3e24b63
1 #ifndef _ASM_IRQ_VECTORS_H
2 #define _ASM_IRQ_VECTORS_H
4 /*
5 * IDT vectors usable for external interrupt sources start
6 * at 0x20:
7 */
8 #define FIRST_EXTERNAL_VECTOR 0x20
10 #define SYSCALL_VECTOR 0x80
13 * Vectors 0x20-0x2f are used for ISA interrupts.
17 * Special IRQ vectors used by the SMP architecture, 0xf0-0xff
19 * some of the following vectors are 'rare', they are merged
20 * into a single vector (CALL_FUNCTION_VECTOR) to save vector space.
21 * TLB, reschedule and local APIC vectors are performance-critical.
23 * Vectors 0xf0-0xfa are free (reserved for future Linux use).
25 #define SPURIOUS_APIC_VECTOR 0xff
26 #define ERROR_APIC_VECTOR 0xfe
27 #define INVALIDATE_TLB_VECTOR 0xfd
28 #define RESCHEDULE_VECTOR 0xfc
29 #define CALL_FUNCTION_VECTOR 0xfb
31 #define THERMAL_APIC_VECTOR 0xf0
33 * Local APIC timer IRQ vector is on a different priority level,
34 * to work around the 'lost local interrupt if more than 2 IRQ
35 * sources per level' errata.
37 #define LOCAL_TIMER_VECTOR 0xef
40 * First APIC vector available to drivers: (vectors 0x30-0xee)
41 * we start at 0x31 to spread out vectors evenly between priority
42 * levels. (0x80 is the syscall vector)
44 #define FIRST_DEVICE_VECTOR 0x31
45 #define FIRST_SYSTEM_VECTOR 0xef
47 #define TIMER_IRQ 0
50 * IRQ definitions
52 #define NR_VECTORS 256
53 #define NR_IRQS 224
54 #define NR_IRQ_VECTORS NR_IRQS
56 #define FPU_IRQ 13
58 #define FIRST_VM86_IRQ 3
59 #define LAST_VM86_IRQ 15
60 #define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15)
62 #endif /* _ASM_IRQ_VECTORS_H */