1
2
3
4
5
6
7
8
9
10 #include <linux/autoconf.h>
11 #include <linux/kernel.h>
12 #include <linux/fs.h>
13 #include <linux/sched.h>
14 #include <linux/mm.h>
15 #include <linux/malloc.h>
16 #include <linux/ptrace.h>
17 #include <linux/sys.h>
18 #include <linux/utsname.h>
19 #include <linux/interrupt.h>
20 #include <linux/timer.h>
21 #include <linux/binfmts.h>
22 #include <linux/personality.h>
23 #include <linux/module.h>
24 #include <linux/termios.h>
25 #include <linux/tqueue.h>
26 #include <linux/serial.h>
27 #ifdef CONFIG_INET
28 #include <linux/netdevice.h>
29 #endif
30
31 #include <asm/irq.h>
32
33 extern void *sys_call_table;
34
35
36 #define X(name) { (void *) &name, "_" #name }
37
38 #ifdef CONFIG_FTAPE
39 extern char * ftape_big_buffer;
40 extern void (*do_floppy)(void);
41 #endif
42
43 extern int request_dma(unsigned int dmanr);
44 extern void free_dma(unsigned int dmanr);
45
46 extern int do_execve(char * filename, char ** argv, char ** envp,
47 struct pt_regs * regs);
48 extern int do_signal(unsigned long oldmask, struct pt_regs * regs);
49
50 extern void (* iABI_hook)(struct pt_regs * regs);
51
52 #ifdef CONFIG_INET
53 extern void snarf_region(unsigned int, unsigned int);
54 extern void dev_tint(struct device *);
55 extern struct device *irq2dev_map[];
56 #endif
57
58
59 struct symbol_table symbol_table = { 0, 0, 0,
60 {
61
62 X(rename_module_symbol),
63
64
65 X(EISA_bus),
66 X(wp_works_ok),
67
68
69 X(verify_area),
70 X(do_mmap),
71 X(do_munmap),
72 X(zeromap_page_range),
73 X(unmap_page_range),
74 X(insert_vm_struct),
75 X(merge_segments),
76
77
78 X(__get_free_pages),
79 X(free_pages),
80 X(kmalloc),
81 X(kfree_s),
82 X(vmalloc),
83 X(vfree),
84
85
86 X(getname),
87 X(putname),
88 X(__iget),
89 X(iput),
90 X(namei),
91 X(lnamei),
92 X(open_namei),
93
94
95 X(register_chrdev),
96 X(unregister_chrdev),
97 X(register_blkdev),
98 X(unregister_blkdev),
99
100 X(register_serial),
101 X(unregister_serial),
102
103
104 X(register_filesystem),
105 X(unregister_filesystem),
106
107
108 X(register_binfmt),
109 X(unregister_binfmt),
110
111
112 X(lookup_exec_domain),
113 X(register_exec_domain),
114 X(unregister_exec_domain),
115
116
117 X(irqaction),
118 X(request_irq),
119 X(free_irq),
120 X(enable_irq),
121 X(disable_irq),
122 X(bh_active),
123 X(bh_mask),
124 X(add_timer),
125 X(del_timer),
126
127
128 X(request_dma),
129 X(free_dma),
130
131
132 X(wake_up),
133 X(wake_up_interruptible),
134 X(sleep_on),
135 X(interruptible_sleep_on),
136 X(schedule),
137 X(current),
138 X(jiffies),
139 X(xtime),
140
141
142 X(panic),
143 X(printk),
144 X(sprintf),
145 X(vsprintf),
146 X(system_utsname),
147 X(sys_call_table),
148
149
150 X(do_signal),
151 X(send_sig),
152
153
154 X(change_ldt),
155 X(copy_strings),
156 X(create_tables),
157 X(do_execve),
158 X(flush_old_exec),
159 X(open_inode),
160 X(read_exec),
161
162
163 X(si_meminfo),
164
165 #ifdef CONFIG_FTAPE
166
167 X(ftape_big_buffer),
168 X(do_floppy),
169 #endif
170 #ifdef CONFIG_INET
171
172 X(register_netdev),
173 X(unregister_netdev),
174 X(ether_setup),
175 X(alloc_skb),
176 X(kfree_skb),
177 X(snarf_region),
178 X(netif_rx),
179 X(dev_rint),
180 X(dev_tint),
181 X(irq2dev_map),
182 X(dev_kfree_skb),
183 #endif
184
185
186
187
188
189 { NULL, NULL }
190 },
191 { NULL, NULL }
192 };
193
194
195
196