Rev 574 | Rev 578 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 574 | Rev 575 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | #ifndef __mips32_INTERRUPT_H__ |
29 | #ifndef __mips32_INTERRUPT_H__ |
| 30 | #define __mips32_INTERRUPT_H__ |
30 | #define __mips32_INTERRUPT_H__ |
| 31 | 31 | ||
| 32 | #include <arch/exception.h> |
32 | #include <arch/exception.h> |
| 33 | 33 | ||
| - | 34 | #define IVT_ITEMS 32 |
|
| - | 35 | ||
| 34 | #define IRQ2 2 |
36 | #define IRQ2 2 |
| 35 | #define IRQ3 3 |
37 | #define IRQ3 3 |
| 36 | #define IRQ7 7 |
38 | #define IRQ7 7 |
| 37 | 39 | ||
| 38 | #define KEYBOARD_IRQ IRQ2 |
- | |
| 39 | #define TIMER_IRQ IRQ7 |
40 | #define TIMER_IRQ IRQ7 |
| 40 | 41 | ||
| 41 | extern void interrupt(struct exception_regdump *pstate); |
42 | extern void interrupt(struct exception_regdump *pstate); |
| - | 43 | extern void interrupt_init(void); |
|
| 42 | 44 | ||
| 43 | #endif |
45 | #endif |