Rev 501 | Rev 534 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 501 | Rev 515 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
33 | #include <arch/pm.h> |
33 | #include <arch/pm.h> |
34 | 34 | ||
35 | #define IVT_ITEMS IDT_ITEMS |
35 | #define IVT_ITEMS IDT_ITEMS |
36 | 36 | ||
37 | #define IVT_EXCBASE 0 |
- | |
38 | #define EXCLAST 31 |
37 | #define EXC_COUNT 32 |
39 | - | ||
40 | #define IVT_IRQBASE (IVT_EXCBASE+EXCLAST+1) |
- | |
41 | #define IRQLAST 15 |
38 | #define IRQ_COUNT 16 |
42 | 39 | ||
- | 40 | #define IVT_EXCBASE 0 |
|
- | 41 | #define IVT_IRQBASE (IVT_EXCBASE+EXC_COUNT) |
|
43 | #define IVT_FREEBASE (IVT_IRQBASE+IRQLAST+1) |
42 | #define IVT_FREEBASE (IVT_IRQBASE+IRQ_COUNT) |
44 | 43 | ||
45 | #define IRQ_CLK 0 |
44 | #define IRQ_CLK 0 |
46 | #define IRQ_KBD 1 |
45 | #define IRQ_KBD 1 |
47 | #define IRQ_PIC1 2 |
46 | #define IRQ_PIC1 2 |
48 | #define IRQ_PIC_SPUR 7 |
47 | #define IRQ_PIC_SPUR 7 |