Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | #ifndef __LL_I386_INT__ |
2 | #define __LL_I386_INT__ |
||
3 | |||
4 | #include <ll/i386/linkage.h> |
||
5 | |||
6 | #define INT(n) \ |
||
7 | .globl SYMBOL_NAME(h##n) ; \ |
||
8 | SYMBOL_NAME_LABEL(h##n) ; \ |
||
9 | pushal ; \ |
||
10 | movl $##n, %eax ; \ |
||
11 | jmp ll_handler |
||
12 | |||
13 | #define EXC(n) \ |
||
14 | .globl SYMBOL_NAME(exc##n) ; \ |
||
15 | SYMBOL_NAME_LABEL(exc##n) ; \ |
||
16 | movl $##n, %eax ; \ |
||
17 | jmp ll_handler2 |
||
18 | #endif |