This source file includes following definitions.
- do_hw_interrupt
- trap_init
1
2
3
4
5
6
7
8
9
10
11
12 void do_hw_interrupt(unsigned long type, unsigned long vector)
13 {
14 if (vector == 14) {
15 jiffies++;
16 return;
17 }
18
19
20
21 printk("Unimplemented Sparc TRAP, vector = %lx type = %lx\n", vector, type);
22
23 return;
24 }
25
26 extern unsigned int *trapbase;
27
28 void trap_init(void)
29 {
30
31
32
33 __asm__("wr %0, 0x0, %%tbr\n\t"
34 "nop; nop; nop\n\t" : :
35 "r" (trapbase));
36
37 return;
38 }
39