Rev 1787 | Rev 1928 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1888 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef __ppc32_INTERRUPT_H__ |
35 | #ifndef KERN_ppc32_INTERRUPT_H_ |
36 | #define __ppc32_INTERRUPT_H__ |
36 | #define KERN_ppc32_INTERRUPT_H_ |
37 | 37 | ||
38 | #include <arch/exception.h> |
38 | #include <arch/exception.h> |
39 | 39 | ||
40 | #define IRQ_COUNT 64 |
40 | #define IRQ_COUNT 64 |
41 | 41 | ||
42 | - | ||
43 | #define IVT_ITEMS (16 + IRQ_COUNT) |
42 | #define IVT_ITEMS (16 + IRQ_COUNT) |
44 | #define INT_OFFSET 16 |
43 | #define INT_OFFSET 16 |
45 | 44 | ||
46 | #define int_register(it, name, handler) exc_register(((it) + INT_OFFSET), name, handler) |
45 | #define int_register(it, name, handler) exc_register(((it) + INT_OFFSET), name, handler) |
47 | 46 |