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/blkdev.h>
14 #include <linux/sched.h>
15 #include <linux/mm.h>
16 #include <linux/malloc.h>
17 #include <linux/ptrace.h>
18 #include <linux/sys.h>
19 #include <linux/utsname.h>
20 #include <linux/interrupt.h>
21 #include <linux/ioport.h>
22 #include <linux/timer.h>
23 #include <linux/binfmts.h>
24 #include <linux/personality.h>
25 #include <linux/module.h>
26 #include <linux/termios.h>
27 #include <linux/tqueue.h>
28 #include <linux/tty.h>
29 #include <linux/serial.h>
30 #include <linux/locks.h>
31 #include <linux/string.h>
32 #include <linux/delay.h>
33 #include <linux/config.h>
34
35 #ifdef CONFIG_INET
36 #include <linux/net.h>
37 #include <linux/netdevice.h>
38 #endif
39 #ifdef CONFIG_PCI
40 #include <linux/pci.h>
41 #endif
42 #if defined(CONFIG_MSDOS_FS) && !defined(CONFIG_UMSDOS_FS)
43 #include <linux/msdos_fs.h>
44 #endif
45
46 #include <asm/irq.h>
47 extern char floppy_track_buffer[];
48 extern void set_device_ro(int dev,int flag);
49
50 extern void *sys_call_table;
51
52
53 #define X(name) { (void *) &name, "_" #name }
54
55 #ifdef CONFIG_FTAPE
56 extern char * ftape_big_buffer;
57 extern void (*do_floppy)(void);
58 #endif
59
60 extern int sys_tz;
61 extern int request_dma(unsigned int dmanr, char * deviceID);
62 extern void free_dma(unsigned int dmanr);
63
64 extern void (* iABI_hook)(struct pt_regs * regs);
65
66 struct symbol_table symbol_table = { 0, 0, 0,
67 {
68
69 X(rename_module_symbol),
70
71
72 X(EISA_bus),
73 #ifdef __i386__
74 X(wp_works_ok),
75 #endif
76
77 #ifdef CONFIG_PCI
78
79 X(pcibios_present),
80 X(pcibios_find_class),
81 X(pcibios_find_device),
82 X(pcibios_read_config_byte),
83 X(pcibios_read_config_word),
84 X(pcibios_read_config_dword),
85 X(pcibios_write_config_byte),
86 X(pcibios_write_config_word),
87 X(pcibios_write_config_dword),
88 #endif
89
90
91 X(verify_area),
92 X(do_mmap),
93 X(do_munmap),
94 X(zeromap_page_range),
95 X(unmap_page_range),
96 X(insert_vm_struct),
97 X(merge_segments),
98
99
100 X(__get_free_pages),
101 X(free_pages),
102 X(kmalloc),
103 X(kfree_s),
104 X(vmalloc),
105 X(vfree),
106
107
108 X(getname),
109 X(putname),
110 X(__iget),
111 X(iput),
112 X(namei),
113 X(lnamei),
114 X(open_namei),
115 X(check_disk_change),
116 X(invalidate_buffers),
117 X(fsync_dev),
118 X(permission),
119 X(inode_setattr),
120 X(inode_change_ok),
121 X(generic_mmap),
122 X(set_blocksize),
123 X(getblk),
124 X(bread),
125 X(breada),
126 X(brelse),
127 X(ll_rw_block),
128 X(__wait_on_buffer),
129 X(dcache_lookup),
130 X(dcache_add),
131
132
133 X(register_chrdev),
134 X(unregister_chrdev),
135 X(register_blkdev),
136 X(unregister_blkdev),
137 X(tty_register_driver),
138 X(tty_unregister_driver),
139 X(tty_std_termios),
140
141
142 X(block_read),
143 X(block_write),
144 X(block_fsync),
145 X(wait_for_request),
146 X(blksize_size),
147 X(hardsect_size),
148 X(blk_size),
149 X(blk_dev),
150 X(is_read_only),
151 X(set_device_ro),
152 X(bmap),
153 X(sync_dev),
154
155
156 X(register_serial),
157 X(unregister_serial),
158
159
160 X(register_filesystem),
161 X(unregister_filesystem),
162
163
164 X(register_binfmt),
165 X(unregister_binfmt),
166
167
168 X(lookup_exec_domain),
169 X(register_exec_domain),
170 X(unregister_exec_domain),
171
172
173 X(request_irq),
174 X(free_irq),
175 X(enable_irq),
176 X(disable_irq),
177 X(bh_active),
178 X(bh_mask),
179 X(add_timer),
180 X(del_timer),
181 X(tq_timer),
182 X(tq_immediate),
183 X(tq_last),
184 X(timer_active),
185 X(timer_table),
186
187
188 X(request_dma),
189 X(free_dma),
190
191
192 X(wake_up),
193 X(wake_up_interruptible),
194 X(sleep_on),
195 X(interruptible_sleep_on),
196 X(schedule),
197 X(current),
198 X(jiffies),
199 X(xtime),
200 X(loops_per_sec),
201 X(need_resched),
202 X(kill_proc),
203 X(kill_pg),
204 X(kill_sl),
205
206
207 X(panic),
208 X(printk),
209 X(sprintf),
210 X(vsprintf),
211 X(simple_strtoul),
212 X(system_utsname),
213 X(sys_call_table),
214
215
216 X(do_signal),
217 X(send_sig),
218
219
220 X(setup_arg_pages),
221 X(copy_strings),
222 X(create_tables),
223 X(do_execve),
224 X(flush_old_exec),
225 X(open_inode),
226 X(read_exec),
227
228
229 X(si_meminfo),
230
231
232 X(sock_register),
233 X(sock_unregister),
234
235 #ifdef CONFIG_FTAPE
236
237 X(ftape_big_buffer),
238 X(do_floppy),
239 #endif
240 X(floppy_track_buffer),
241 #ifdef CONFIG_INET
242
243 X(register_netdev),
244 X(unregister_netdev),
245 X(ether_setup),
246 X(alloc_skb),
247 X(kfree_skb),
248 X(dev_kfree_skb),
249 X(snarf_region),
250 X(register_iomem),
251 X(release_region),
252 X(netif_rx),
253 X(dev_rint),
254 X(dev_tint),
255 X(irq2dev_map),
256 X(dev_add_pack),
257 X(dev_remove_pack),
258 X(dev_get),
259 X(dev_ioctl),
260 X(dev_queue_xmit),
261 X(dev_base),
262 #endif
263
264 X(set_writetime),
265 X(sys_tz),
266 X(__wait_on_super),
267 X(file_fsync),
268 X(clear_inode),
269 X(refile_buffer),
270 X(___strtok),
271 X(init_fifo),
272 X(super_blocks),
273 X(chrdev_inode_operations),
274 X(blkdev_inode_operations),
275 X(read_ahead),
276 X(get_hash_table),
277 X(get_empty_inode),
278 X(insert_inode_hash),
279 X(event),
280 X(__down),
281 #if defined(CONFIG_MSDOS_FS) && !defined(CONFIG_UMSDOS_FS)
282
283 X(msdos_create),
284 X(msdos_file_read),
285 X(msdos_file_write),
286 X(msdos_lookup),
287 X(msdos_mkdir),
288 X(msdos_put_inode),
289 X(msdos_put_super),
290 X(msdos_read_inode),
291 X(msdos_read_super),
292 X(msdos_readdir),
293 X(msdos_rename),
294 X(msdos_rmdir),
295 X(msdos_smap),
296 X(msdos_statfs),
297 X(msdos_truncate),
298 X(msdos_unlink),
299 X(msdos_unlink_umsdos),
300 X(msdos_write_inode),
301 #endif
302
303
304
305
306 { NULL, NULL }
307 },
308 { { NULL, NULL } }
309 };
310
311
312
313