OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [kernel/] [ksyms.c] - Blame information for rev 1772

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1634 jcastillo
/*
2
 * Herein lies all the functions/variables that are "exported" for linkage
3
 * with dynamically loaded kernel modules.
4
 *                      Jon.
5
 *
6
 * - Stacked module support and unified symbol table added (June 1994)
7
 * - External symbol table support added (December 1994)
8
 * - Versions on symbols added (December 1994)
9
 * by Bjorn Ekwall <bj0rn@blox.se>
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
#include <linux/ctype.h>
49
#include <linux/file.h>
50
 
51
extern unsigned char aux_device_present, kbd_read_mask;
52
 
53
#ifdef CONFIG_PCI
54
#include <linux/bios32.h>
55
#include <linux/pci.h>
56
#endif
57
#if defined(CONFIG_PROC_FS)
58
#include <linux/proc_fs.h>
59
#endif
60
#ifdef CONFIG_KERNELD
61
#include <linux/kerneld.h>
62
#endif
63
#include <asm/irq.h>
64
#ifdef __SMP__
65
#include <linux/smp.h>
66
#endif
67
 
68
extern char *get_options(char *str, int *ints);
69
extern void set_device_ro(kdev_t dev,int flag);
70
extern struct file_operations * get_blkfops(unsigned int);
71
extern void blkdev_release(struct inode * inode);
72
 
73
extern void *sys_call_table;
74
 
75
extern struct timezone sys_tz;
76
extern int request_dma(unsigned int dmanr, char * deviceID);
77
extern void free_dma(unsigned int dmanr);
78
 
79
extern void hard_reset_now(void);
80
 
81
extern void select_free_wait(select_table * p);
82
extern int select_check(int flag, select_table * wait, struct file * file);
83
 
84
struct symbol_table symbol_table = {
85
#include <linux/symtab_begin.h>
86
#ifdef MODVERSIONS
87
        { (void *)1 /* Version version :-) */,
88
                SYMBOL_NAME_STR (Using_Versions) },
89
#endif
90
 
91
        /* stackable module support */
92
        X(register_symtab_from),
93
        X(get_module_symbol),
94
#ifdef CONFIG_KERNELD
95
        X(kerneld_send),
96
#endif
97
        X(get_options),
98
 
99
        /* system info variables */
100
        /* These check that they aren't defines (0/1) */
101
#ifndef EISA_bus__is_a_macro
102
        X(EISA_bus),
103
#endif
104
#ifndef MCA_bus__is_a_macro
105
        X(MCA_bus),
106
#endif
107
#ifndef wp_works_ok__is_a_macro
108
        X(wp_works_ok),
109
#endif
110
 
111
#ifdef CONFIG_PCI
112
        /* PCI BIOS support */
113
        X(pcibios_present),
114
        X(pcibios_find_class),
115
        X(pcibios_find_device),
116
        X(pcibios_read_config_byte),
117
        X(pcibios_read_config_word),
118
        X(pcibios_read_config_dword),
119
        X(pcibios_strerror),
120
        X(pcibios_write_config_byte),
121
        X(pcibios_write_config_word),
122
        X(pcibios_write_config_dword),
123
#endif
124
 
125
        /* process memory management */
126
        X(verify_area),
127
        X(do_mmap),
128
        X(do_munmap),
129
        X(exit_mm),
130
 
131
        /* internal kernel memory management */
132
        X(__get_free_pages),
133
        X(free_pages),
134
        X(kmalloc),
135
        X(kfree),
136
        X(vmalloc),
137
        X(vremap),
138
        X(vfree),
139
        X(mem_map),
140
        X(remap_page_range),
141
        X(high_memory),
142
        X(update_vm_cache),
143
 
144
        /* filesystem internal functions */
145
        X(getname),
146
        X(putname),
147
        X(__iget),
148
        X(iput),
149
        X(namei),
150
        X(lnamei),
151
        X(open_namei),
152
        X(sys_close),
153
        X(close_fp),
154
        X(check_disk_change),
155
        X(invalidate_buffers),
156
        X(invalidate_inodes),
157
        X(invalidate_inode_pages),
158
        X(fsync_dev),
159
        X(permission),
160
        X(inode_setattr),
161
        X(inode_change_ok),
162
        X(set_blocksize),
163
        X(getblk),
164
        X(bread),
165
        X(breada),
166
 
167
        X(select_check),
168
        X(select_free_wait),
169
 
170
        X(__brelse),
171
        X(__bforget),
172
        X(ll_rw_block),
173
        X(brw_page),
174
        X(__wait_on_buffer),
175
        X(mark_buffer_uptodate),
176
        X(unlock_buffer),
177
        X(dcache_lookup),
178
        X(dcache_add),
179
        X(add_blkdev_randomness),
180
        X(generic_file_read),
181
        X(generic_file_mmap),
182
        X(generic_readpage),
183
        X(__fput),
184
        X(make_bad_inode),
185
 
186
        /* device registration */
187
        X(register_chrdev),
188
        X(unregister_chrdev),
189
        X(register_blkdev),
190
        X(unregister_blkdev),
191
        X(tty_register_driver),
192
        X(tty_unregister_driver),
193
        X(tty_std_termios),
194
 
195
        /* block device driver support */
196
        X(block_read),
197
        X(block_write),
198
        X(block_fsync),
199
        X(wait_for_request),
200
        X(blksize_size),
201
        X(hardsect_size),
202
        X(blk_size),
203
        X(blk_dev),
204
        X(max_sectors),
205
        X(max_segments),
206
        X(is_read_only),
207
        X(set_device_ro),
208
        X(bmap),
209
        X(sync_dev),
210
        X(get_blkfops),
211
        X(blkdev_open),
212
        X(blkdev_release),
213
        X(gendisk_head),
214
        X(resetup_one_dev),
215
        X(unplug_device),
216
        X(make_request),
217
        X(tq_disk),
218
 
219
#ifdef CONFIG_SERIAL    
220
        /* Module creation of serial units */
221
        X(register_serial),
222
        X(unregister_serial),
223
#endif
224
        /* tty routines */
225
        X(tty_hangup),
226
        X(tty_wait_until_sent),
227
        X(tty_check_change),
228
        X(tty_hung_up_p),
229
        X(do_SAK),
230
        X(console_print),
231
 
232
        /* filesystem registration */
233
        X(register_filesystem),
234
        X(unregister_filesystem),
235
 
236
        /* executable format registration */
237
        X(register_binfmt),
238
        X(unregister_binfmt),
239
        X(search_binary_handler),
240
        X(prepare_binprm),
241
        X(remove_arg_zero),
242
 
243
        /* execution environment registration */
244
        X(lookup_exec_domain),
245
        X(register_exec_domain),
246
        X(unregister_exec_domain),
247
 
248
        /* sysctl table registration */
249
        X(register_sysctl_table),
250
        X(unregister_sysctl_table),
251
        X(sysctl_string),
252
        X(sysctl_intvec),
253
        X(proc_dostring),
254
        X(proc_dointvec),
255
        X(proc_dointvec_minmax),
256
 
257
        /* interrupt handling */
258
        X(request_irq),
259
        X(free_irq),
260
        X(enable_irq),
261
        X(disable_irq),
262
        X(probe_irq_on),
263
        X(probe_irq_off),
264
        X(bh_active),
265
        X(bh_mask),
266
        X(bh_mask_count),
267
        X(bh_base),
268
        X(add_timer),
269
        X(del_timer),
270
        X(tq_timer),
271
        X(tq_immediate),
272
        X(tq_scheduler),
273
        X(timer_active),
274
        X(timer_table),
275
        X(intr_count),
276
 
277
        /* autoirq from  drivers/net/auto_irq.c */
278
#ifdef CONFIG_NET
279
        X(autoirq_setup),
280
        X(autoirq_report),
281
#endif
282
 
283
        /* dma handling */
284
        X(request_dma),
285
        X(free_dma),
286
#ifdef HAVE_DISABLE_HLT
287
        X(disable_hlt),
288
        X(enable_hlt),
289
#endif
290
 
291
        /* IO port handling */
292
        X(check_region),
293
        X(request_region),
294
        X(release_region),
295
 
296
        /* process management */
297
        X(wake_up),
298
        X(wake_up_interruptible),
299
        X(sleep_on),
300
        X(interruptible_sleep_on),
301
        X(schedule),
302
        X(current_set),
303
        X(jiffies),
304
        X(xtime),
305
        X(do_gettimeofday),
306
        X(loops_per_sec),
307
        X(need_resched),
308
        X(kstat),
309
        X(kill_proc),
310
        X(kill_pg),
311
        X(kill_sl),
312
        X(force_sig),
313
 
314
        /* misc */
315
        X(panic),
316
        X(printk),
317
        X(sprintf),
318
        X(vsprintf),
319
        X(kdevname),
320
        X(simple_strtoul),
321
        X(system_utsname),
322
        X(sys_call_table),
323
        X(hard_reset_now),
324
        X(_ctype),
325
        X(_ctmp),
326
        X(get_random_bytes),
327
 
328
        /* Signal interfaces */
329
        X(send_sig),
330
 
331
        /* Program loader interfaces */
332
        X(setup_arg_pages),
333
        X(copy_strings),
334
        X(do_execve),
335
        X(flush_old_exec),
336
        X(open_inode),
337
        X(read_exec),
338
 
339
        /* Miscellaneous access points */
340
        X(si_meminfo),
341
 
342
        /* Added to make file system as module */
343
        X(set_writetime),
344
        X(sys_tz),
345
        X(__wait_on_super),
346
        X(file_fsync),
347
        X(clear_inode),
348
        X(refile_buffer),
349
        X(nr_async_pages),
350
        X(___strtok),
351
        X(init_fifo),
352
        X(super_blocks),
353
        X(fifo_inode_operations),
354
        X(chrdev_inode_operations),
355
        X(blkdev_inode_operations),
356
        X(read_ahead),
357
        X(get_hash_table),
358
        X(get_empty_inode),
359
        X(insert_inode_hash),
360
        X(event),
361
        X(__down),
362
        X(__up),
363
        X(securelevel),
364
/* all busmice */
365
        X(add_mouse_randomness),
366
        X(fasync_helper),
367
#ifndef __mc68000__
368
/* psaux mouse */
369
        X(aux_device_present),
370
        X(kbd_read_mask),
371
#endif
372
 
373
#ifdef CONFIG_BLK_DEV_IDE_PCMCIA
374
        X(ide_register),
375
        X(ide_unregister),
376
#endif
377
 
378
#ifdef CONFIG_BLK_DEV_MD
379
        X(disk_name),   /* for md.c */
380
#endif
381
 
382
        /* binfmt_aout */
383
        X(get_write_access),
384
        X(put_write_access),
385
 
386
#ifdef CONFIG_PROC_FS
387
        X(proc_dir_inode_operations),
388
#endif
389
 
390
        /* Modular sound */
391
        X(sys_open),
392
        X(sys_read),
393
        /********************************************************
394
         * Do not add anything below this line,
395
         * as the stacked modules depend on this!
396
         */
397
#include <linux/symtab_end.h>
398
};
399
 
400
/*
401
int symbol_table_size = sizeof (symbol_table) / sizeof (symbol_table[0]);
402
*/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.