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(register_symtab),
120 #ifdef CONFIG_KERNELD
121 X(kerneld_send),
122 #endif
123 X(get_options),
124
125
126
127 #ifndef EISA_bus__is_a_macro
128 X(EISA_bus),
129 #endif
130 #ifndef MCA_bus__is_a_macro
131 X(MCA_bus),
132 #endif
133 #ifndef wp_works_ok__is_a_macro
134 X(wp_works_ok),
135 #endif
136
137 #ifdef CONFIG_PCI
138
139 X(pcibios_present),
140 X(pcibios_find_class),
141 X(pcibios_find_device),
142 X(pcibios_read_config_byte),
143 X(pcibios_read_config_word),
144 X(pcibios_read_config_dword),
145 X(pcibios_strerror),
146 X(pcibios_write_config_byte),
147 X(pcibios_write_config_word),
148 X(pcibios_write_config_dword),
149 #endif
150
151
152 X(verify_area),
153 X(do_mmap),
154 X(do_munmap),
155 X(insert_vm_struct),
156 X(merge_segments),
157
158
159 X(__get_free_pages),
160 X(free_pages),
161 X(kmalloc),
162 X(kfree),
163 X(vmalloc),
164 X(vremap),
165 X(vfree),
166 X(mem_map),
167 X(remap_page_range),
168 X(high_memory),
169 X(update_vm_cache),
170
171
172 X(getname),
173 X(putname),
174 X(__iget),
175 X(iput),
176 X(namei),
177 X(lnamei),
178 X(open_namei),
179 X(sys_close),
180 X(close_fp),
181 X(check_disk_change),
182 X(invalidate_buffers),
183 X(invalidate_inodes),
184 X(invalidate_inode_pages),
185 X(fsync_dev),
186 X(permission),
187 X(inode_setattr),
188 X(inode_change_ok),
189 X(set_blocksize),
190 X(getblk),
191 X(bread),
192 X(breada),
193 X(__brelse),
194 X(__bforget),
195 X(ll_rw_block),
196 X(__wait_on_buffer),
197 X(__wait_on_page),
198 X(mark_buffer_uptodate),
199 X(unlock_buffer),
200 X(dcache_lookup),
201 X(dcache_add),
202 X(add_blkdev_randomness),
203 X(generic_file_read),
204 X(generic_file_mmap),
205 X(generic_readpage),
206
207
208 X(register_chrdev),
209 X(unregister_chrdev),
210 X(register_blkdev),
211 X(unregister_blkdev),
212 X(tty_register_driver),
213 X(tty_unregister_driver),
214 X(tty_std_termios),
215
216
217 X(block_read),
218 X(block_write),
219 X(block_fsync),
220 X(wait_for_request),
221 X(blksize_size),
222 X(hardsect_size),
223 X(blk_size),
224 X(blk_dev),
225 X(is_read_only),
226 X(set_device_ro),
227 X(bmap),
228 X(sync_dev),
229 X(get_blkfops),
230 X(blkdev_open),
231 X(blkdev_release),
232 #ifdef CONFIG_SERIAL
233
234 X(register_serial),
235 X(unregister_serial),
236 #endif
237
238 X(tty_hangup),
239 X(tty_wait_until_sent),
240 X(tty_check_change),
241 X(tty_hung_up_p),
242 X(do_SAK),
243 X(console_print),
244
245
246 X(register_filesystem),
247 X(unregister_filesystem),
248
249
250 X(register_binfmt),
251 X(unregister_binfmt),
252 X(search_binary_handler),
253 X(prepare_binprm),
254
255
256 X(lookup_exec_domain),
257 X(register_exec_domain),
258 X(unregister_exec_domain),
259
260
261 X(register_sysctl_table),
262 X(unregister_sysctl_table),
263
264
265 X(request_irq),
266 X(free_irq),
267 X(enable_irq),
268 X(disable_irq),
269 X(probe_irq_on),
270 X(probe_irq_off),
271 X(bh_active),
272 X(bh_mask),
273 X(bh_mask_count),
274 X(bh_base),
275 X(add_timer),
276 X(del_timer),
277 X(tq_timer),
278 X(tq_immediate),
279 X(tq_scheduler),
280 X(tq_last),
281 X(timer_active),
282 X(timer_table),
283 X(intr_count),
284
285
286 X(autoirq_setup),
287 X(autoirq_report),
288
289
290 X(request_dma),
291 X(free_dma),
292 #ifdef HAVE_DISABLE_HLT
293 X(disable_hlt),
294 X(enable_hlt),
295 #endif
296
297
298 X(check_region),
299 X(request_region),
300 X(release_region),
301
302
303 X(wake_up),
304 X(wake_up_interruptible),
305 X(sleep_on),
306 X(interruptible_sleep_on),
307 X(schedule),
308 X(current_set),
309 X(jiffies),
310 X(xtime),
311 X(do_gettimeofday),
312 X(loops_per_sec),
313 X(need_resched),
314 X(kstat),
315 X(kill_proc),
316 X(kill_pg),
317 X(kill_sl),
318
319
320 X(panic),
321 X(printk),
322 X(sprintf),
323 X(vsprintf),
324 X(kdevname),
325 X(simple_strtoul),
326 X(system_utsname),
327 X(sys_call_table),
328
329
330 X(send_sig),
331
332
333 X(setup_arg_pages),
334 X(copy_strings),
335 X(do_execve),
336 X(flush_old_exec),
337 X(open_inode),
338 X(read_exec),
339
340
341 X(si_meminfo),
342 #ifdef CONFIG_NET
343
344 X(sock_register),
345 X(sock_unregister),
346
347 X(skb_recv_datagram),
348 X(skb_free_datagram),
349 X(skb_copy_datagram),
350 X(skb_copy_datagram_iovec),
351 X(datagram_select),
352 #ifdef CONFIG_FIREWALL
353
354 X(register_firewall),
355 X(unregister_firewall),
356 #endif
357 #ifdef CONFIG_INET
358
359 X(inet_add_protocol),
360 X(inet_del_protocol),
361 X(rarp_ioctl_hook),
362 X(init_etherdev),
363 X(ip_rt_route),
364 X(icmp_send),
365 X(ip_options_compile),
366 X(ip_rt_put),
367 X(arp_send),
368 #ifdef CONFIG_IP_FORWARD
369 X(ip_forward),
370 #endif
371 #if defined(CONFIG_ULTRA) || defined(CONFIG_WD80x3) || \
372 defined(CONFIG_EL2) || defined(CONFIG_NE2000) || \
373 defined(CONFIG_E2100) || defined(CONFIG_HPLAN_PLUS) || \
374 defined(CONFIG_HPLAN) || defined(CONFIG_AC3200)
375
376 X(ei_open),
377 X(ei_close),
378 X(ei_debug),
379 X(ei_interrupt),
380 X(ethdev_init),
381 X(NS8390_init),
382 #endif
383 #ifdef CONFIG_NET_ALIAS
384 #include <linux/net_alias.h>
385 #endif
386 #endif
387
388 X(register_netdevice_notifier),
389 X(unregister_netdevice_notifier),
390 #ifdef CONFIG_NET_ALIAS
391 X(register_net_alias_type),
392 X(unregister_net_alias_type),
393 #endif
394 #endif
395
396
397 #ifdef CONFIG_AX25
398 X(ax25_encapsulate),
399 X(ax25_rebuild_header),
400 #endif
401 #ifdef CONFIG_INET
402 X(register_netdev),
403 X(unregister_netdev),
404 X(ether_setup),
405 X(eth_type_trans),
406 X(eth_copy_and_sum),
407 X(alloc_skb),
408 X(kfree_skb),
409 X(skb_clone),
410 X(dev_alloc_skb),
411 X(dev_kfree_skb),
412 X(netif_rx),
413 X(dev_tint),
414 X(irq2dev_map),
415 X(dev_add_pack),
416 X(dev_remove_pack),
417 X(dev_get),
418 X(dev_ioctl),
419 X(dev_queue_xmit),
420 X(dev_base),
421 X(dev_close),
422 X(arp_find),
423 X(n_tty_ioctl),
424 X(tty_register_ldisc),
425 X(kill_fasync),
426 #ifdef CONFIG_FIREWALL
427 X(call_in_firewall),
428 #endif
429 #endif
430 #ifndef CONFIG_SCSI
431
432
433
434
435
436
437
438 X(gendisk_head),
439 X(resetup_one_dev),
440 #endif
441
442 X(set_writetime),
443 X(sys_tz),
444 X(__wait_on_super),
445 X(file_fsync),
446 X(clear_inode),
447 X(refile_buffer),
448 X(nr_async_pages),
449 X(___strtok),
450 X(init_fifo),
451 X(super_blocks),
452 X(reuse_list),
453 X(fifo_inode_operations),
454 X(chrdev_inode_operations),
455 X(blkdev_inode_operations),
456 X(read_ahead),
457 X(get_hash_table),
458 X(get_empty_inode),
459 X(insert_inode_hash),
460 X(event),
461 X(__down),
462
463 X(add_mouse_randomness),
464 X(fasync_helper),
465
466 X(aux_device_present),
467 X(kbd_read_mask),
468
469 #ifdef CONFIG_TR
470 X(tr_setup),
471 X(tr_type_trans),
472 #endif
473
474 #ifdef CONFIG_BLK_DEV_IDE_PCMCIA
475 X(ide_register),
476 X(ide_unregister),
477 #endif
478
479 #ifdef CONFIG_BLK_DEV_MD
480 X(disk_name),
481 #endif
482
483
484 X(get_write_access),
485 X(put_write_access),
486
487
488
489
490
491 #include <linux/symtab_end.h>
492 };
493
494
495
496