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