kern

annotate src/interrupts.h @ 92:b4264d173aae

fixed the readme file
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 17 Apr 2014 12:30:02 +0300
parents
children
rev   line source
nuclear@11 1 #ifdef ASM
nuclear@11 2 /* included from intr-asm.S */
nuclear@11 3 #define INTR_ENTRY_EC(n, name) ientry_err n, name
nuclear@11 4 #define INTR_ENTRY_NOEC(n, name) ientry_noerr n, name
nuclear@11 5 #else
nuclear@11 6 /* included from intr.c inside init_intr() */
nuclear@11 7 #define INTR_ENTRY_EC(n, name) \
nuclear@11 8 void intr_entry_##name(void); \
nuclear@11 9 set_intr_entry(n, intr_entry_##name);
nuclear@11 10 #define INTR_ENTRY_NOEC(n, name) INTR_ENTRY_EC(n, name)
nuclear@11 11 #endif /* ASM */
nuclear@11 12
nuclear@11 13 /* faults/traps/aborts (plus NMI) */
nuclear@11 14 INTR_ENTRY_NOEC(0, div)
nuclear@11 15 INTR_ENTRY_NOEC(1, debug)
nuclear@11 16 INTR_ENTRY_NOEC(2, nmi)
nuclear@11 17 INTR_ENTRY_NOEC(3, bp)
nuclear@11 18 INTR_ENTRY_NOEC(4, overflow)
nuclear@11 19 INTR_ENTRY_NOEC(5, bound)
nuclear@11 20 INTR_ENTRY_NOEC(6, ill)
nuclear@11 21 INTR_ENTRY_NOEC(7, nodev)
nuclear@11 22 INTR_ENTRY_EC(8, dfault)
nuclear@11 23 INTR_ENTRY_NOEC(9, copseg)
nuclear@11 24 INTR_ENTRY_EC(10, tss)
nuclear@11 25 INTR_ENTRY_EC(11, segpres)
nuclear@11 26 INTR_ENTRY_EC(12, stack)
nuclear@11 27 INTR_ENTRY_EC(13, prot)
nuclear@11 28 INTR_ENTRY_EC(14, page)
nuclear@11 29 INTR_ENTRY_NOEC(15, reserved)
nuclear@11 30 INTR_ENTRY_NOEC(16, fpu)
nuclear@11 31 INTR_ENTRY_EC(17, align)
nuclear@11 32 INTR_ENTRY_NOEC(18, mce)
nuclear@11 33 INTR_ENTRY_NOEC(19, sse)
nuclear@11 34 /* redirected IRQs */
nuclear@11 35 INTR_ENTRY_NOEC(32, irq0)
nuclear@11 36 INTR_ENTRY_NOEC(33, irq1)
nuclear@11 37 INTR_ENTRY_NOEC(34, irq2)
nuclear@11 38 INTR_ENTRY_NOEC(35, irq3)
nuclear@11 39 INTR_ENTRY_NOEC(36, irq4)
nuclear@11 40 INTR_ENTRY_NOEC(37, irq5)
nuclear@11 41 INTR_ENTRY_NOEC(38, irq6)
nuclear@11 42 INTR_ENTRY_NOEC(39, irq7)
nuclear@11 43 INTR_ENTRY_NOEC(40, irq8)
nuclear@11 44 INTR_ENTRY_NOEC(41, irq9)
nuclear@11 45 INTR_ENTRY_NOEC(42, irq10)
nuclear@11 46 INTR_ENTRY_NOEC(43, irq11)
nuclear@11 47 INTR_ENTRY_NOEC(44, irq12)
nuclear@11 48 INTR_ENTRY_NOEC(45, irq13)
nuclear@11 49 INTR_ENTRY_NOEC(46, irq14)
nuclear@11 50 INTR_ENTRY_NOEC(47, irq15)
nuclear@11 51 /* system call interrupt */
nuclear@11 52 INTR_ENTRY_NOEC(128, syscall)
nuclear@11 53 /* default interrupt */
nuclear@11 54 INTR_ENTRY_NOEC(255, default)