2 Copyright © 2000, The AROS Development Team. All rights reserved.
5 Desc: Interrupt core, part of kernel.resource
11 /* Here are some macros used to build interrupt table in core file. */
13 #define IRQ_NAME2(nr) nr##_interrupt(void)
14 #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)
16 #define BUILD_COMMON_IRQ() \
19 "common_interrupt:\n\t" \
21 "call "SYMBOL_NAME_STR(do_IRQ)"\n\t"\
22 "jmp Exec_ExitIntr\n");
24 #define BUILD_IRQ(nr) \
25 asmlinkage void IRQ_NAME(nr); \
28 SYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
30 "jmp common_interrupt");