summaryrefslogtreecommitdiff
path: root/asm/int_irq.asm
blob: 8341074b5908e700293edd65bbd033692e0bd9b7 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
global int_irq0
global int_irq1
global int_irq2
global int_irq3
global int_irq4
global int_irq5
global int_irq6
global int_irq7
global int_irq8
global int_irq9
global int_irq10
global int_irq11
global int_irq12
global int_irq13
global int_irq14
global int_irq15
global int_irq16
global int_irq17
global int_irq18

[extern exception_handle]
[extern exception_handle_0]
[extern exception_handle_1]
[extern exception_handle_2]
[extern exception_handle_3]
[extern exception_handle_4]
[extern exception_handle_5]
[extern exception_handle_6]
[extern exception_handle_7]
[extern exception_handle_8]
[extern exception_handle_9]
[extern exception_handle_10]
[extern exception_handle_11]
[extern exception_handle_12]
[extern exception_handle_13]
[extern exception_handle_14]
[extern exception_handle_15]
[extern exception_handle_16]
[extern exception_handle_17]
[extern exception_handle_18]

[bits 32]
int_irq0:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq1:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq2:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq3:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq4:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq5:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq6:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq7:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq8:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq9:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq10:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq11:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq12:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq13:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq14:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq15:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq16:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq17:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $

int_irq18:

 cli
 call exception_handle ;this will never return due to panic!
 jmp $