xref: /minix/minix/kernel/arch/i386/apic_asm.h (revision 433d6423)
1 #ifndef __APIC_ASM_H__
2 #define __APIC_ASM_H__
3 
4 
5 #ifndef __ASSEMBLY__
6 #include "kernel/kernel.h"
7 
8 void apic_hwint0(void);
9 void apic_hwint1(void);
10 void apic_hwint2(void);
11 void apic_hwint3(void);
12 void apic_hwint4(void);
13 void apic_hwint5(void);
14 void apic_hwint6(void);
15 void apic_hwint7(void);
16 void apic_hwint8(void);
17 void apic_hwint9(void);
18 void apic_hwint10(void);
19 void apic_hwint11(void);
20 void apic_hwint12(void);
21 void apic_hwint13(void);
22 void apic_hwint14(void);
23 void apic_hwint15(void);
24 void apic_hwint16(void);
25 void apic_hwint17(void);
26 void apic_hwint18(void);
27 void apic_hwint19(void);
28 void apic_hwint20(void);
29 void apic_hwint21(void);
30 void apic_hwint22(void);
31 void apic_hwint23(void);
32 void apic_hwint24(void);
33 void apic_hwint25(void);
34 void apic_hwint26(void);
35 void apic_hwint27(void);
36 void apic_hwint28(void);
37 void apic_hwint29(void);
38 void apic_hwint30(void);
39 void apic_hwint31(void);
40 void apic_hwint32(void);
41 void apic_hwint33(void);
42 void apic_hwint34(void);
43 void apic_hwint35(void);
44 void apic_hwint36(void);
45 void apic_hwint37(void);
46 void apic_hwint38(void);
47 void apic_hwint39(void);
48 void apic_hwint40(void);
49 void apic_hwint41(void);
50 void apic_hwint42(void);
51 void apic_hwint43(void);
52 void apic_hwint44(void);
53 void apic_hwint45(void);
54 void apic_hwint46(void);
55 void apic_hwint47(void);
56 void apic_hwint48(void);
57 void apic_hwint49(void);
58 void apic_hwint50(void);
59 void apic_hwint51(void);
60 void apic_hwint52(void);
61 void apic_hwint53(void);
62 void apic_hwint54(void);
63 void apic_hwint55(void);
64 void apic_hwint56(void);
65 void apic_hwint57(void);
66 void apic_hwint58(void);
67 void apic_hwint59(void);
68 void apic_hwint60(void);
69 void apic_hwint61(void);
70 void apic_hwint62(void);
71 void apic_hwint63(void);
72 
73 /* The local APIC timer tick handlers */
74 void lapic_timer_int_handler(void);
75 void apic_spurios_intr(void);
76 void apic_error_intr(void);
77 
78 #endif
79 
80 #define APIC_DEBUG
81 
82 #ifdef APIC_DEBUG
83 
84 #define LAPIC_INTR_DUMMY_HANDLER_SIZE	32
85 
86 #ifndef __ASSEMBLY__
87 EXTERN char lapic_intr_dummy_handles_start;
88 EXTERN char lapic_intr_dummy_handles_end;
89 #endif
90 
91 #endif /* APIC_DEBUG */
92 
93 #endif /* __APIC_ASM_H__ */
94