1
2
3
4
5
6
7
8
9
10
11
12 #include <linux/module.h>
13 #include <linux/config.h>
14 #include <linux/kernel.h>
15 #include <linux/smp.h>
16 #include <linux/fs.h>
17 #include <linux/blkdev.h>
18 #include <linux/sched.h>
19 #include <linux/kernel_stat.h>
20 #include <linux/mm.h>
21 #include <linux/malloc.h>
22 #include <linux/ptrace.h>
23 #include <linux/sys.h>
24 #include <linux/utsname.h>
25 #include <linux/interrupt.h>
26 #include <linux/ioport.h>
27 #include <linux/timer.h>
28 #include <linux/binfmts.h>
29 #include <linux/personality.h>
30 #include <linux/termios.h>
31 #include <linux/tqueue.h>
32 #include <linux/tty.h>
33 #include <linux/serial.h>
34 #include <linux/locks.h>
35 #include <linux/string.h>
36 #include <linux/delay.h>
37 #include <linux/sem.h>
38 #include <linux/minix_fs.h>
39 #include <linux/ext2_fs.h>
40 #include <linux/random.h>
41 #include <linux/mount.h>
42 #include <linux/pagemap.h>
43 #include <linux/sysctl.h>
44 #include <linux/hdreg.h>
45 #include <linux/skbuff.h>
46 #include <linux/genhd.h>
47 #include <linux/swap.h>
48
49 extern unsigned char aux_device_present, kbd_read_mask;
50
51 #ifdef CONFIG_NET
52 #include <linux/in.h>
53 #include <linux/net.h>
54 #include <linux/netdevice.h>
55 #include <linux/firewall.h>
56 #include <linux/trdevice.h>
57
58 #ifdef CONFIG_AX25
59 #include <net/ax25.h>
60 #endif
61 #ifdef CONFIG_INET
62 #include <linux/ip.h>
63 #include <linux/etherdevice.h>
64 #include <net/protocol.h>
65 #include <net/arp.h>
66 #include <net/ip.h>
67 #include <net/udp.h>
68 #include <net/tcp.h>
69 #include <net/icmp.h>
70 #include <net/route.h>
71 #include <linux/net_alias.h>
72 #endif
73 #ifdef CONFIG_NET_ALIAS
74 #include <linux/net_alias.h>
75 #endif
76 #endif
77 #ifdef CONFIG_PCI
78 #include <linux/bios32.h>
79 #include <linux/pci.h>
80 #endif
81 #if defined(CONFIG_PROC_FS)
82 #include <linux/proc_fs.h>
83 #endif
84 #ifdef CONFIG_KERNELD
85 #include <linux/kerneld.h>
86 #endif
87 #include <asm/irq.h>
88 #ifdef __SMP__
89 #include <linux/smp.h>
90 #endif
91
92 extern char *get_options(char *str, int *ints);
93 extern void set_device_ro(int dev,int flag);
94 extern struct file_operations * get_blkfops(unsigned int);
95 extern void blkdev_release(struct inode * inode);
96
97 extern void *sys_call_table;
98
99 #if defined(CONFIG_ULTRA) || defined(CONFIG_WD80x3) || \
100 defined(CONFIG_EL2) || defined(CONFIG_NE2000) || \
101 defined(CONFIG_E2100) || defined(CONFIG_HPLAN_PLUS) || \
102 defined(CONFIG_HPLAN) || defined(CONFIG_AC3200)
103 #include "../drivers/net/8390.h"
104 #endif
105
106 extern int sys_tz;
107 extern int request_dma(unsigned int dmanr, char * deviceID);
108 extern void free_dma(unsigned int dmanr);
109 extern int (*rarp_ioctl_hook)(int,void*);
110
111 struct symbol_table symbol_table = {
112 #include <linux/symtab_begin.h>
113 #ifdef MODVERSIONS
114 { (void *)1 ,
115 SYMBOL_NAME_STR (Using_Versions) },
116 #endif
117
118
119 X(rename_module_symbol),
120 X(register_symtab),
121 #ifdef CONFIG_KERNELD
122 X(kerneld_send),
123 #endif
124 X(get_options),
125
126
127
128 #ifndef EISA_bus__is_a_macro
129 X(EISA_bus),
130 #endif
131 #ifndef MCA_bus__is_a_macro
132 X(MCA_bus),
133 #endif
134 #ifndef wp_works_ok__is_a_macro
135 X(wp_works_ok),
136 #endif
137
138 #ifdef CONFIG_PCI
139
140 X(pcibios_present),
141 X(pcibios_find_class),
142 X(pcibios_find_device),
143 X(pcibios_read_config_byte),
144 X(pcibios_read_config_word),
145 X(pcibios_read_config_dword),
146 X(pcibios_strerror),
147 X(pcibios_write_config_byte),
148 X(pcibios_write_config_word),
149 X(pcibios_write_config_dword),
150 #endif
151
152
153 X(verify_area),
154 X(do_mmap),
155 X(do_munmap),
156 X(insert_vm_struct),
157 X(merge_segments),
158
159
160 X(__get_free_pages),
161 X(free_pages),
162 X(kmalloc),
163 X(kfree),
164 X(vmalloc),
165 X(vremap),
166 X(vfree),
167 X(mem_map),
168 X(remap_page_range),
169 X(high_memory),
170 X(update_vm_cache),
171
172
173 X(getname),
174 X(putname),
175 X(__iget),
176 X(iput),
177 X(namei),
178 X(lnamei),
179 X(open_namei),
180 X(sys_close),
181 X(close_fp),
182 X(check_disk_change),
183 X(invalidate_buffers),
184 X(invalidate_inodes),
185 X(invalidate_inode_pages),
186 X(fsync_dev),
187 X(permission),
188 X(inode_setattr),
189 X(inode_change_ok),
190 X(set_blocksize),
191 X(getblk),
192 X(bread),
193 X(breada),
194 X(__brelse),
195 X(__bforget),
196 X(ll_rw_block),
197 X(__wait_on_buffer),
198 X(__wait_on_page),
199 X(mark_buffer_uptodate),
200 X(unlock_buffer),
201 X(dcache_lookup),
202 X(dcache_add),
203 X(add_blkdev_randomness),
204 X(generic_file_read),
205 X(generic_file_mmap),
206 X(generic_readpage),
207
208
209 X(register_chrdev),
210 X(unregister_chrdev),
211 X(register_blkdev),
212 X(unregister_blkdev),
213 X(tty_register_driver),
214 X(tty_unregister_driver),
215 X(tty_std_termios),
216
217
218 X(block_read),
219 X(block_write),
220 X(block_fsync),
221 X(wait_for_request),
222 X(blksize_size),
223 X(hardsect_size),
224 X(blk_size),
225 X(blk_dev),
226 X(is_read_only),
227 X(set_device_ro),
228 X(bmap),
229 X(sync_dev),
230 X(get_blkfops),
231 X(blkdev_open),
232 X(blkdev_release),
233 #ifdef CONFIG_SERIAL
234
235 X(register_serial),
236 X(unregister_serial),
237 #endif
238
239 X(tty_hangup),
240 X(tty_wait_until_sent),
241 X(tty_check_change),
242 X(tty_hung_up_p),
243 X(do_SAK),
244 X(console_print),
245
246
247 X(register_filesystem),
248 X(unregister_filesystem),
249
250
251 X(register_binfmt),
252 X(unregister_binfmt),
253 X(search_binary_handler),
254 X(prepare_binprm),
255
256
257 X(lookup_exec_domain),
258 X(register_exec_domain),
259 X(unregister_exec_domain),
260
261
262 X(register_sysctl_table),
263 X(unregister_sysctl_table),
264
265
266 X(request_irq),
267 X(free_irq),
268 X(enable_irq),
269 X(disable_irq),
270 X(probe_irq_on),
271 X(probe_irq_off),
272 X(bh_active),
273 X(bh_mask),
274 X(bh_mask_count),
275 X(bh_base),
276 X(add_timer),
277 X(del_timer),
278 X(tq_timer),
279 X(tq_immediate),
280 X(tq_scheduler),
281 X(tq_last),
282 X(timer_active),
283 X(timer_table),
284 X(intr_count),
285
286
287 X(autoirq_setup),
288 X(autoirq_report),
289
290
291 X(request_dma),
292 X(free_dma),
293 #ifdef HAVE_DISABLE_HLT
294 X(disable_hlt),
295 X(enable_hlt),
296 #endif
297
298
299 X(check_region),
300 X(request_region),
301 X(release_region),
302
303
304 X(wake_up),
305 X(wake_up_interruptible),
306 X(sleep_on),
307 X(interruptible_sleep_on),
308 X(schedule),
309 X(current_set),
310 X(jiffies),
311 X(xtime),
312 X(do_gettimeofday),
313 X(loops_per_sec),
314 X(need_resched),
315 X(kstat),
316 X(kill_proc),
317 X(kill_pg),
318 X(kill_sl),
319
320
321 X(panic),
322 X(printk),
323 X(sprintf),
324 X(vsprintf),
325 X(kdevname),
326 X(simple_strtoul),
327 X(system_utsname),
328 X(sys_call_table),
329
330
331 X(send_sig),
332
333
334 X(setup_arg_pages),
335 X(copy_strings),
336 X(do_execve),
337 X(flush_old_exec),
338 X(open_inode),
339 X(read_exec),
340
341
342 X(si_meminfo),
343 #ifdef CONFIG_NET
344
345 X(sock_register),
346 X(sock_unregister),
347
348 X(skb_recv_datagram),
349 X(skb_free_datagram),
350 X(skb_copy_datagram),
351 X(skb_copy_datagram_iovec),
352 X(datagram_select),
353 #ifdef CONFIG_FIREWALL
354
355 X(register_firewall),
356 X(unregister_firewall),
357 #endif
358 #ifdef CONFIG_INET
359
360 X(inet_add_protocol),
361 X(inet_del_protocol),
362 X(rarp_ioctl_hook),
363 X(init_etherdev),
364 X(ip_rt_route),
365 X(icmp_send),
366 X(ip_options_compile),
367 X(ip_rt_put),
368 X(arp_send),
369 #ifdef CONFIG_IP_FORWARD
370 X(ip_forward),
371 #endif
372 #if defined(CONFIG_ULTRA) || defined(CONFIG_WD80x3) || \
373 defined(CONFIG_EL2) || defined(CONFIG_NE2000) || \
374 defined(CONFIG_E2100) || defined(CONFIG_HPLAN_PLUS) || \
375 defined(CONFIG_HPLAN) || defined(CONFIG_AC3200)
376
377 X(ei_open),
378 X(ei_close),
379 X(ei_debug),
380 X(ei_interrupt),
381 X(ethdev_init),
382 X(NS8390_init),
383 #endif
384 #ifdef CONFIG_NET_ALIAS
385 #include <linux/net_alias.h>
386 #endif
387 #endif
388
389 X(register_netdevice_notifier),
390 X(unregister_netdevice_notifier),
391 #ifdef CONFIG_NET_ALIAS
392 X(register_net_alias_type),
393 X(unregister_net_alias_type),
394 #endif
395 #endif
396
397
398 #ifdef CONFIG_AX25
399 X(ax25_encapsulate),
400 X(ax25_rebuild_header),
401 #endif
402 #ifdef CONFIG_INET
403 X(register_netdev),
404 X(unregister_netdev),
405 X(ether_setup),
406 X(eth_type_trans),
407 X(eth_copy_and_sum),
408 X(alloc_skb),
409 X(kfree_skb),
410 X(skb_clone),
411 X(dev_alloc_skb),
412 X(dev_kfree_skb),
413 X(netif_rx),
414 X(dev_tint),
415 X(irq2dev_map),
416 X(dev_add_pack),
417 X(dev_remove_pack),
418 X(dev_get),
419 X(dev_ioctl),
420 X(dev_queue_xmit),
421 X(dev_base),
422 X(dev_close),
423 X(arp_find),
424 X(n_tty_ioctl),
425 X(tty_register_ldisc),
426 X(kill_fasync),
427 #ifdef CONFIG_FIREWALL
428 X(call_in_firewall),
429 #endif
430 #endif
431 #ifndef CONFIG_SCSI
432
433
434
435
436
437
438
439 X(gendisk_head),
440 X(resetup_one_dev),
441 #endif
442
443 X(set_writetime),
444 X(sys_tz),
445 X(__wait_on_super),
446 X(file_fsync),
447 X(clear_inode),
448 X(refile_buffer),
449 X(nr_async_pages),
450 X(___strtok),
451 X(init_fifo),
452 X(super_blocks),
453 X(reuse_list),
454 X(fifo_inode_operations),
455 X(chrdev_inode_operations),
456 X(blkdev_inode_operations),
457 X(read_ahead),
458 X(get_hash_table),
459 X(get_empty_inode),
460 X(insert_inode_hash),
461 X(event),
462 X(__down),
463
464 X(add_mouse_randomness),
465 X(fasync_helper),
466
467 X(aux_device_present),
468 X(kbd_read_mask),
469
470 #ifdef CONFIG_TR
471 X(tr_setup),
472 X(tr_type_trans),
473 #endif
474
475 #ifdef CONFIG_BLK_DEV_IDE_PCMCIA
476 X(ide_register),
477 X(ide_unregister),
478 #endif
479
480 #ifdef CONFIG_BLK_DEV_MD
481 X(disk_name),
482 #endif
483
484
485 X(get_write_access),
486 X(put_write_access),
487
488
489
490
491
492 #include <linux/symtab_end.h>
493 };
494
495
496
497