Rev 1480 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1480 | Rev 1609 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | 35 | ||
36 | 36 | ||
37 | #define IVT_ITEMS (16 + IRQ_COUNT) |
37 | #define IVT_ITEMS (16 + IRQ_COUNT) |
38 | #define INT_OFFSET 16 |
38 | #define INT_OFFSET 16 |
39 | 39 | ||
40 | #define int_register(it, name, handler) exc_register(((it)+INT_OFFSET),name,handler) |
40 | #define int_register(it, name, handler) exc_register(((it) + INT_OFFSET), name, handler) |
41 | 41 | ||
- | 42 | #define VECTOR_DATA_STORAGE 2 |
|
- | 43 | #define VECTOR_INSTRUCTION_STORAGE 3 |
|
- | 44 | #define VECTOR_EXTERNAL 4 |
|
42 | #define VECTOR_DECREMENTER 10 |
45 | #define VECTOR_DECREMENTER 8 |
43 | 46 | ||
44 | extern void start_decrementer(void); |
47 | extern void start_decrementer(void); |
45 | extern void interrupt_init(void); |
48 | extern void interrupt_init(void); |
46 | extern void extint_handler(int n, istate_t *istate); |
49 | extern void extint_handler(int n, istate_t *istate); |
47 | 50 |