Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / i386-pc / exec / core.h
blobdc8a8b4980b223f5fd037497824aa73554e93a0f
1 /*
2 Copyright © 2000, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Interrupt core, part of kernel.resource
6 Lang: english
7 */
9 #include <asm/irq.h>
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() \
17 __asm__( \
18 "\n"__ALIGN_STR"\n" \
19 "common_interrupt:\n\t" \
20 SAVE_REGS \
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); \
26 __asm__( \
27 "\n"__ALIGN_STR"\n" \
28 SYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
29 "pushl $"#nr"\n\t" \
30 "jmp common_interrupt");