This source file includes following definitions.
- do_hw_interrupt
- trap_init
- die_if_kernel
1
2
3
4
5
6
7
8
9
10
11 #include <linux/sched.h>
12 #include <linux/kernel.h>
13
14 void do_hw_interrupt(unsigned long type, unsigned long vector)
15 {
16 if (vector == 14) {
17 jiffies++;
18 return;
19 }
20
21
22
23 printk("Unimplemented Sparc TRAP, vector = %lx type = %lx\n", vector, type);
24
25 return;
26 }
27
28 extern unsigned long *trapbase;
29
30 void trap_init(void)
31 {
32
33
34
35 #if 0
36 __asm__("wr %0, 0x0, %%tbr\n\t"
37 "nop; nop; nop\n\t" : :
38 "r" (trapbase));
39 #endif
40
41 return;
42 }
43
44 void die_if_kernel(char * str, struct pt_regs * regs, long err)
45 {
46 return;
47 }