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 #ifdef CONFIG_INET
34 #include <linux/net.h>
35 #include <linux/netdevice.h>
36 #endif
37 #ifdef CONFIG_PCI
38 #include <pci.h>
39 #endif
40
41 #include <asm/irq.h>
42 extern char floppy_track_buffer[];
43 extern void set_device_ro(int dev,int flag);
44
45 extern void *sys_call_table;
46
47
48 #define X(name) { (void *) &name, "_" #name }
49
50 #ifdef CONFIG_FTAPE
51 extern char * ftape_big_buffer;
52 extern void (*do_floppy)(void);
53 #endif
54
55 extern int sys_tz;
56 extern int request_dma(unsigned int dmanr, char * deviceID);
57 extern void free_dma(unsigned int dmanr);
58
59 extern int do_execve(char * filename, char ** argv, char ** envp,
60 struct pt_regs * regs);
61 extern int do_signal(unsigned long oldmask, struct pt_regs * regs);
62
63 extern void (* iABI_hook)(struct pt_regs * regs);
64
65 struct symbol_table symbol_table = { 0, 0, 0,
66 {
67
68 X(rename_module_symbol),
69
70
71 X(EISA_bus),
72 X(wp_works_ok),
73
74 #ifdef CONFIG_PCI
75
76 X(pcibios_find_class),
77 X(pcibios_find_device),
78 X(pcibios_read_config_byte),
79 X(pcibios_read_config_word),
80 X(pcibios_read_config_dword),
81 X(pcibios_write_config_byte),
82 X(pcibios_write_config_word),
83 X(pcibios_write_config_dword),
84 #endif
85
86
87 X(verify_area),
88 X(do_mmap),
89 X(do_munmap),
90 X(zeromap_page_range),
91 X(unmap_page_range),
92 X(insert_vm_struct),
93 X(merge_segments),
94
95
96 X(__get_free_pages),
97 X(free_pages),
98 X(kmalloc),
99 X(kfree_s),
100 X(vmalloc),
101 X(vfree),
102
103
104 X(getname),
105 X(putname),
106 X(__iget),
107 X(iput),
108 X(namei),
109 X(lnamei),
110 X(open_namei),
111 X(check_disk_change),
112 X(invalidate_buffers),
113 X(fsync_dev),
114 X(permission),
115 X(inode_setattr),
116 X(inode_change_ok),
117 X(generic_mmap),
118 X(set_blocksize),
119 X(getblk),
120 X(bread),
121 X(breada),
122 X(brelse),
123 X(ll_rw_block),
124 X(__wait_on_buffer),
125 X(dcache_lookup),
126 X(dcache_add),
127
128
129 X(register_chrdev),
130 X(unregister_chrdev),
131 X(register_blkdev),
132 X(unregister_blkdev),
133 X(tty_register_driver),
134 X(tty_unregister_driver),
135 X(tty_std_termios),
136
137
138 X(block_read),
139 X(block_write),
140 X(block_fsync),
141 X(wait_for_request),
142 X(blksize_size),
143 X(blk_size),
144 X(blk_dev),
145 X(is_read_only),
146 X(set_device_ro),
147 X(bmap),
148 X(sync_dev),
149
150
151 X(register_serial),
152 X(unregister_serial),
153
154
155 X(register_filesystem),
156 X(unregister_filesystem),
157
158
159 X(register_binfmt),
160 X(unregister_binfmt),
161
162
163 X(lookup_exec_domain),
164 X(register_exec_domain),
165 X(unregister_exec_domain),
166
167
168 X(request_irq),
169 X(free_irq),
170 X(enable_irq),
171 X(disable_irq),
172 X(bh_active),
173 X(bh_mask),
174 X(add_timer),
175 X(del_timer),
176 X(tq_timer),
177 X(tq_immediate),
178 X(tq_last),
179 X(timer_active),
180 X(timer_table),
181
182
183 X(request_dma),
184 X(free_dma),
185
186
187 X(wake_up),
188 X(wake_up_interruptible),
189 X(sleep_on),
190 X(interruptible_sleep_on),
191 X(schedule),
192 X(current),
193 X(jiffies),
194 X(xtime),
195 X(loops_per_sec),
196 X(need_resched),
197 X(kill_proc),
198 X(kill_pg),
199 X(kill_sl),
200
201
202 X(panic),
203 X(printk),
204 X(sprintf),
205 X(vsprintf),
206 X(simple_strtoul),
207 X(system_utsname),
208 X(sys_call_table),
209
210
211 X(do_signal),
212 X(send_sig),
213
214
215 X(change_ldt),
216 X(copy_strings),
217 X(create_tables),
218 X(do_execve),
219 X(flush_old_exec),
220 X(open_inode),
221 X(read_exec),
222
223
224 X(si_meminfo),
225
226
227 X(sock_register),
228 X(sock_unregister),
229
230 #ifdef CONFIG_FTAPE
231
232 X(ftape_big_buffer),
233 X(do_floppy),
234 #endif
235 #ifdef CONFIG_INET
236
237 X(register_netdev),
238 X(unregister_netdev),
239 X(ether_setup),
240 X(alloc_skb),
241 X(kfree_skb),
242 X(dev_kfree_skb),
243 X(snarf_region),
244 X(netif_rx),
245 X(dev_rint),
246 X(dev_tint),
247 X(irq2dev_map),
248 X(dev_add_pack),
249 X(dev_remove_pack),
250 X(dev_get),
251 X(dev_ioctl),
252 X(dev_queue_xmit),
253 X(dev_base),
254 #endif
255
256 X(set_writetime),
257 X(sys_tz),
258 X(__wait_on_super),
259 X(file_fsync),
260 X(clear_inode),
261 X(refile_buffer),
262 X(___strtok),
263 X(init_fifo),
264 X(super_blocks),
265 X(chrdev_inode_operations),
266 X(blkdev_inode_operations),
267 X(read_ahead),
268
269
270
271
272 { NULL, NULL }
273 },
274 { { NULL, NULL } }
275 };
276
277
278
279