diff options
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/hw_irq.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/include/asm-x86_64/hw_irq.h b/include/asm-x86_64/hw_irq.h index 552df5f10a6d..dc395edc2f2a 100644 --- a/include/asm-x86_64/hw_irq.h +++ b/include/asm-x86_64/hw_irq.h | |||
@@ -35,6 +35,22 @@ | |||
35 | /* | 35 | /* |
36 | * Vectors 0x20-0x2f are used for ISA interrupts. | 36 | * Vectors 0x20-0x2f are used for ISA interrupts. |
37 | */ | 37 | */ |
38 | #define IRQ0_VECTOR FIRST_EXTERNAL_VECTOR | ||
39 | #define IRQ1_VECTOR IRQ0_VECTOR + 1 | ||
40 | #define IRQ2_VECTOR IRQ0_VECTOR + 2 | ||
41 | #define IRQ3_VECTOR IRQ0_VECTOR + 3 | ||
42 | #define IRQ4_VECTOR IRQ0_VECTOR + 4 | ||
43 | #define IRQ5_VECTOR IRQ0_VECTOR + 5 | ||
44 | #define IRQ6_VECTOR IRQ0_VECTOR + 6 | ||
45 | #define IRQ7_VECTOR IRQ0_VECTOR + 7 | ||
46 | #define IRQ8_VECTOR IRQ0_VECTOR + 8 | ||
47 | #define IRQ9_VECTOR IRQ0_VECTOR + 9 | ||
48 | #define IRQ10_VECTOR IRQ0_VECTOR + 10 | ||
49 | #define IRQ11_VECTOR IRQ0_VECTOR + 11 | ||
50 | #define IRQ12_VECTOR IRQ0_VECTOR + 12 | ||
51 | #define IRQ13_VECTOR IRQ0_VECTOR + 13 | ||
52 | #define IRQ14_VECTOR IRQ0_VECTOR + 14 | ||
53 | #define IRQ15_VECTOR IRQ0_VECTOR + 15 | ||
38 | 54 | ||
39 | /* | 55 | /* |
40 | * Special IRQ vectors used by the SMP architecture, 0xf0-0xff | 56 | * Special IRQ vectors used by the SMP architecture, 0xf0-0xff |
@@ -69,7 +85,7 @@ | |||
69 | * we start at 0x31 to spread out vectors evenly between priority | 85 | * we start at 0x31 to spread out vectors evenly between priority |
70 | * levels. (0x80 is the syscall vector) | 86 | * levels. (0x80 is the syscall vector) |
71 | */ | 87 | */ |
72 | #define FIRST_DEVICE_VECTOR 0x31 | 88 | #define FIRST_DEVICE_VECTOR (IRQ15_VECTOR + 2) |
73 | #define FIRST_SYSTEM_VECTOR 0xef /* duplicated in irq.h */ | 89 | #define FIRST_SYSTEM_VECTOR 0xef /* duplicated in irq.h */ |
74 | 90 | ||
75 | 91 | ||