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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [armnommu/] [kernel/] [armksyms.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#include <linux/config.h>
2
#include <linux/module.h>
3
#include <linux/user.h>
4
#include <linux/string.h>
5
#include <linux/mm.h>
6
#include <linux/mman.h>
7
 
8
#include <asm/ecard.h>
9
#include <asm/io.h>
10
#include <asm/delay.h>
11
#include <asm/dma.h>
12
#include <asm/pgtable.h>
13
#define __need_memcpy_tofs
14
#include <asm/segment.h>
15
#include <asm/semaphore.h>
16
 
17
extern void dump_thread(struct pt_regs *, struct user *);
18
extern int dump_fpu(struct pt_regs *, struct user_fp_struct *);
19
 
20
/*
21
 * libgcc functions - functions that are used internally by the
22
 * compiler...  (prototypes are not correct though, but that
23
 * doesn't really matter since they're not versioned).
24
 */
25
extern void __gcc_bcmp(void);
26
extern void __ashldi3(void);
27
extern void __ashrdi3(void);
28
extern void __cmpdi2(void);
29
extern void __divdi3(void);
30
extern void __divsi3(void);
31
extern void __lshrdi3(void);
32
extern void __moddi3(void);
33
extern void __modsi3(void);
34
extern void __muldi3(void);
35
extern void __negdi2(void);
36
extern void __ucmpdi2(void);
37
extern void __udivdi3(void);
38
extern void __udivmoddi4(void);
39
extern void __udivsi3(void);
40
extern void __umoddi3(void);
41
extern void __umodsi3(void);
42
 
43
extern void inswb(unsigned int port, void *to, int len);
44
extern void outswb(unsigned int port, const void *to, int len);
45
 
46
/*
47
 * floating point math emulator support.
48
 * These will not change.  If they do, then a new version
49
 * of the emulator will have to be compiled...
50
 * fp_current is never actually dereferenced - it is just
51
 * used as a pointer to pass back for send_sig().
52
 */
53
extern void (*fp_save)(unsigned char *);
54
extern void (*fp_restore)(unsigned char *);
55
extern void fp_setup(void);
56
extern void fpreturn(void);
57
extern void fpundefinstr(void);
58
extern void fp_enter(void);
59
#if 0
60
extern void fp_printk(void);
61
extern struct task_struct *fp_current;
62
extern void fp_send_sig(int);
63
#endif
64
 
65
static struct symbol_table arch_symbol_table = {
66
#include <linux/symtab_begin.h>
67
        /*
68
         * platform dependent support
69
         */
70
        X(dump_thread),
71
        X(dump_fpu),
72
        X(udelay),
73
        X(xchg_str),
74
 
75
        /*
76
         * expansion card support
77
         */
78
#ifdef CONFIG_ARCH_ACORN
79
        X(ecard_startfind),
80
        X(ecard_find),
81
        X(ecard_readchunk),
82
        X(ecard_address),
83
#endif
84
 
85
        /* processor dependencies */
86
        X(processor),
87
 
88
        /* io */
89
        X(outswb),
90
        X(outsw),
91
        X(inswb),
92
        X(insw),
93
 
94
#ifndef __virt_to_phys__is_a_macro
95
        X(__virt_to_phys),
96
#endif
97
#ifndef __phys_to_virt__is_a_macro
98
        X(__phys_to_virt),
99
#endif
100
#ifndef __virt_to_bus__is_a_macro
101
        X(__virt_to_bus),
102
#endif
103
#ifndef __bus_to_virt__is_a_macro
104
        X(__bus_to_virt),
105
#endif
106
 
107
        /* dma */
108
        X(dma_str),
109
        X(enable_dma),
110
        X(disable_dma),
111
        X(set_dma_addr),
112
        X(set_dma_count),
113
        X(set_dma_mode),
114
        X(get_dma_residue),
115
        X(set_dma_sg),
116
 
117
        /*
118
         * floating point math emulator support.
119
         * These symbols will never change their calling convention...
120
         */
121
        XNOVERS(fpreturn),
122
        XNOVERS(fpundefinstr),
123
        XNOVERS(fp_enter),
124
        XNOVERS(fp_save),
125
        XNOVERS(fp_restore),
126
        XNOVERS(fp_setup),
127
#if 0
128
        XNOVERS(fp_printk),
129
        XNOVERS(fp_current),
130
        XNOVERS(fp_send_sig),
131
#endif
132
        /*
133
         * string / mem functions
134
         */
135
        XNOVERS(strcpy),
136
        XNOVERS(strncpy),
137
        XNOVERS(strcat),
138
        XNOVERS(strncat),
139
        XNOVERS(strcmp),
140
        XNOVERS(strncmp),
141
        XNOVERS(strchr),
142
        XNOVERS(strlen),
143
        XNOVERS(strnlen),
144
        XNOVERS(strspn),
145
        XNOVERS(strpbrk),
146
        XNOVERS(strtok),
147
        XNOVERS(strchr),
148
        XNOVERS(strrchr),
149
        XNOVERS(memset),
150
        XNOVERS(memcpy),
151
        XNOVERS(memmove),
152
        XNOVERS(memcmp),
153
        XNOVERS(memscan),
154
        XNOVERS(memzero),
155
 
156
        /* user mem (segment) */
157
        XNOVERS(put_user_long),
158
        XNOVERS(get_user_long),
159
        XNOVERS(put_user_word),
160
        XNOVERS(get_user_word),
161
        XNOVERS(put_user_byte),
162
        XNOVERS(get_user_byte),
163
        XNOVERS(memcpy_fromfs),
164
        XNOVERS(memcpy_tofs),
165
        XNOVERS(__memcpy_tofs),
166
 
167
        /* gcc lib functions */
168
        XNOVERS(__gcc_bcmp),
169
        XNOVERS(__ashldi3),
170
        XNOVERS(__ashrdi3),
171
        XNOVERS(__cmpdi2),
172
        XNOVERS(__divdi3),
173
        XNOVERS(__divsi3),
174
        XNOVERS(__lshrdi3),
175
        XNOVERS(__moddi3),
176
        XNOVERS(__modsi3),
177
        XNOVERS(__muldi3),
178
        XNOVERS(__negdi2),
179
        XNOVERS(__ucmpdi2),
180
        XNOVERS(__udivdi3),
181
        XNOVERS(__udivmoddi4),
182
        XNOVERS(__udivsi3),
183
        XNOVERS(__umoddi3),
184
        XNOVERS(__umodsi3),
185
 
186
        /* bitops */
187
        XNOVERS(set_bit),
188
        XNOVERS(clear_bit),
189
        XNOVERS(change_bit),
190
        XNOVERS(find_first_zero_bit),
191
        XNOVERS(find_next_zero_bit),
192
 
193
        /* semaphores */
194
        X(__down_interruptible),
195
#include <linux/symtab_end.h>
196
};
197
 
198
void arch_syms_export(void)
199
{
200
        register_symtab(&arch_symbol_table);
201
}

powered by: WebSVN 2.1.0

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