-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathisr.s
533 lines (482 loc) · 5.73 KB
/
isr.s
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
�fine EOI 0x20
global isr0_asm
global isr1_asm
global isr2_asm
global isr3_asm
global isr4_asm
global isr5_asm
global isr6_asm
global isr7_asm
global isr8_asm
global isr9_asm
global isr10_asm
global isr11_asm
global isr12_asm
global isr13_asm
global isr14_asm
global isr15_asm
global isr16_asm
global isr17_asm
global isr18_asm
global isr19_asm
global isr20_asm
global isr21_asm
global isr22_asm
global isr23_asm
global isr24_asm
global isr25_asm
global isr26_asm
global isr27_asm
global isr28_asm
global isr29_asm
global isr30_asm
global isr31_asm
global isr32_asm
global isr33_asm
global isr34_asm
global isr35_asm
global isr36_asm
global isr37_asm
global isr38_asm
global isr39_asm
global isr40_asm
global isr41_asm
global isr42_asm
global isr43_asm
global isr44_asm
global isr45_asm
global isr46_asm
global isr47_asm
extern isr0
extern isr1
extern isr2
extern isr3
extern isr4
extern isr5
extern isr6
extern isr7
extern isr8
extern isr9
extern isr10
extern isr11
extern isr12
extern isr13
extern isr14
extern isr15
extern isr16
extern isr17
extern isr18
extern isr19
extern isr20
extern isr21
extern isr22
extern isr23
extern isr24
extern isr25
extern isr26
extern isr27
extern isr28
extern isr29
extern isr30
extern isr31
extern isr32
extern isr33
extern isr34
extern isr35
extern isr36
extern isr37
extern isr38
extern isr39
extern isr40
extern isr41
extern isr42
extern isr43
extern isr44
extern isr45
extern isr46
extern isr47
isr0_asm:
cli
pusha
call isr0
popa
sti
iret
isr1_asm:
cli
pusha
call isr1
popa
sti
iret
isr2_asm:
cli
pusha
call isr2
popa
sti
iret
isr3_asm:
cli
pusha
call isr3
popa
sti
iret
isr4_asm:
cli
pusha
call isr4
popa
sti
iret
isr5_asm:
cli
pusha
call isr5
popa
sti
iret
isr6_asm:
cli
pusha
call isr6
popa
sti
iret
isr7_asm:
cli
pusha
call isr7
popa
sti
iret
isr8_asm:
cli
pusha
call isr8
popa
sti
iret
isr9_asm:
cli
pusha
call isr9
popa
sti
iret
isr10_asm:
cli
pusha
call isr10
popa
sti
iret
isr11_asm:
cli
pusha
call isr11
popa
sti
iret
isr12_asm:
cli
pusha
call isr12
popa
sti
iret
isr13_asm:
cli
pusha
call isr13
popa
sti
iret
isr14_asm:
cli
pusha
call isr14
popa
sti
iret
isr15_asm:
cli
pusha
call isr15
popa
sti
iret
isr16_asm:
cli
pusha
call isr16
popa
sti
iret
isr17_asm:
cli
pusha
call isr17
popa
sti
iret
isr18_asm:
cli
pusha
call isr18
popa
sti
iret
isr19_asm:
cli
pusha
call isr19
popa
sti
iret
isr20_asm:
cli
pusha
call isr20
popa
sti
iret
isr21_asm:
cli
pusha
call isr21
popa
sti
iret
isr22_asm:
cli
pusha
call isr22
popa
sti
iret
isr23_asm:
cli
pusha
call isr23
popa
sti
iret
isr24_asm:
cli
pusha
call isr24
popa
sti
iret
isr25_asm:
cli
pusha
call isr25
popa
sti
iret
isr26_asm:
cli
pusha
call isr26
popa
sti
iret
isr27_asm:
cli
pusha
call isr27
popa
sti
iret
isr28_asm:
cli
pusha
call isr28
popa
sti
iret
isr29_asm:
cli
pusha
call isr29
popa
sti
iret
isr30_asm:
cli
pusha
call isr30
popa
sti
iret
isr31_asm:
cli
pusha
call isr31
popa
sti
iret
; irqs
isr32_asm:
cli
pusha
call isr32
mov al, EOI
out 0x20, al
popa
sti
iret
isr33_asm:
cli
pusha
call isr33
mov al, EOI
out 0x20, al
popa
sti
iret
isr34_asm:
cli
pusha
call isr34
mov al, EOI
out 0x20, al
popa
sti
iret
isr35_asm:
cli
pusha
call isr35
mov al, EOI
out 0x20, al
popa
sti
iret
isr36_asm:
cli
pusha
call isr36
mov al, EOI
out 0x20, al
popa
sti
iret
isr37_asm:
cli
pusha
call isr37
mov al, EOI
out 0x20, al
popa
sti
iret
isr38_asm:
cli
pusha
call isr38
mov al, EOI
out 0x20, al
popa
sti
iret
isr39_asm:
cli
pusha
call isr39
mov al, EOI
out 0x20, al
popa
sti
iret
isr40_asm:
cli
pusha
call isr40
mov al, EOI
out 0x20, al
mov al, EOI
out 0xa0, al
popa
sti
iret
isr41_asm:
cli
pusha
call isr41
mov al, EOI
out 0x20, al
mov al, EOI
out 0xa0, al
popa
sti
iret
isr42_asm:
cli
pusha
call isr42
mov al, EOI
out 0x20, al
mov al, EOI
out 0xa0, al
popa
sti
iret
isr43_asm:
cli
pusha
call isr43
mov al, EOI
out 0x20, al
mov al, EOI
out 0xa0, al
popa
sti
iret
isr44_asm:
cli
pusha
call isr44
mov al, EOI
out 0x20, al
mov al, EOI
out 0xa0, al
popa
sti
iret
isr45_asm:
cli
pusha
call isr45
mov al, EOI
out 0x20, al
mov al, EOI
out 0xa0, al
popa
sti
iret
isr46_asm:
cli
pusha
call isr46
mov al, EOI
out 0x20, al
mov al, EOI
out 0xa0, al
popa
sti
iret
isr47_asm:
cli
pusha
call isr47
mov al, EOI
out 0x20, al
mov al, EOI
out 0xa0, al
popa
sti
iret