~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm26/kernel/armksyms.c

Version: ~ [ linux-5.9 ] ~ [ linux-5.8.14 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.70 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.150 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.200 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.238 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.238 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.85 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  *  linux/arch/arm26/kernel/armksyms.c
  3  *
  4  *  Copyright (C) 2003 Ian Molton
  5  *
  6  * This program is free software; you can redistribute it and/or modify
  7  * it under the terms of the GNU General Public License version 2 as
  8  * published by the Free Software Foundation.
  9  */
 10 #include <linux/config.h>
 11 #include <linux/module.h>
 12 #include <linux/user.h>
 13 #include <linux/string.h>
 14 #include <linux/fs.h>
 15 #include <linux/mm.h>
 16 #include <linux/mman.h>
 17 #include <linux/delay.h>
 18 #include <linux/in6.h>
 19 #include <linux/interrupt.h>
 20 #include <linux/pm.h>
 21 #include <linux/tty.h>
 22 #include <linux/vt_kern.h>
 23 #include <linux/smp_lock.h>
 24 
 25 #include <asm/byteorder.h>
 26 #include <asm/elf.h>
 27 #include <asm/io.h>
 28 #include <asm/irq.h>
 29 #include <asm/pgalloc.h>
 30 //#include <asm/proc-fns.h>
 31 #include <asm/processor.h>
 32 #include <asm/semaphore.h>
 33 #include <asm/system.h>
 34 #include <asm/uaccess.h>
 35 #include <asm/checksum.h>
 36 #include <asm/mach-types.h>
 37 
 38 extern void dump_thread(struct pt_regs *, struct user *);
 39 extern int dump_fpu(struct pt_regs *, struct user_fp_struct *);
 40 extern void inswb(unsigned int port, void *to, int len);
 41 extern void outswb(unsigned int port, const void *to, int len);
 42 
 43 extern void __bad_xchg(volatile void *ptr, int size);
 44 
 45 /*
 46  * syscalls
 47  */
 48 extern int sys_write(int, const char *, int);
 49 extern int sys_read(int, char *, int);
 50 extern int sys_lseek(int, off_t, int);
 51 extern int sys_exit(int);
 52 
 53 /*
 54  * libgcc functions - functions that are used internally by the
 55  * compiler...  (prototypes are not correct though, but that
 56  * doesn't really matter since they're not versioned).
 57  */
 58 extern void __ashldi3(void);
 59 extern void __ashrdi3(void);
 60 extern void __divsi3(void);
 61 extern void __lshrdi3(void);
 62 extern void __modsi3(void);
 63 extern void __muldi3(void);
 64 extern void __ucmpdi2(void);
 65 extern void __udivdi3(void);
 66 extern void __umoddi3(void);
 67 extern void __udivmoddi4(void);
 68 extern void __udivsi3(void);
 69 extern void __umodsi3(void);
 70 extern void abort(void);
 71 
 72 extern void ret_from_exception(void);
 73 extern void fpundefinstr(void);
 74 extern void fp_enter(void);
 75 
 76 /*
 77  * This has a special calling convention; it doesn't
 78  * modify any of the usual registers, except for LR.
 79  */
 80 extern void __do_softirq(void);
 81 
 82 #define EXPORT_SYMBOL_ALIAS(sym,orig)           \
 83  const char __kstrtab_##sym[]                   \
 84   __attribute__((section(".kstrtab"))) =        \
 85     __MODULE_STRING(sym);                       \
 86  const struct module_symbol __ksymtab_##sym     \
 87   __attribute__((section("__ksymtab"))) =       \
 88     { (unsigned long)&orig, __kstrtab_##sym };
 89 
 90 /*
 91  * floating point math emulator support.
 92  * These symbols will never change their calling convention...
 93  */
 94 EXPORT_SYMBOL_ALIAS(kern_fp_enter,fp_enter);
 95 EXPORT_SYMBOL_ALIAS(fp_printk,printk);
 96 EXPORT_SYMBOL_ALIAS(fp_send_sig,send_sig);
 97 
 98 EXPORT_SYMBOL(fpundefinstr);
 99 EXPORT_SYMBOL(ret_from_exception);
100 
101 #ifdef CONFIG_VT
102 EXPORT_SYMBOL(kd_mksound);
103 #endif
104 
105 EXPORT_SYMBOL_NOVERS(__do_softirq);
106 
107         /* platform dependent support */
108 EXPORT_SYMBOL(dump_thread);
109 EXPORT_SYMBOL(dump_fpu);
110 EXPORT_SYMBOL(udelay);
111 EXPORT_SYMBOL(kernel_thread);
112 EXPORT_SYMBOL(system_rev);
113 EXPORT_SYMBOL(system_serial_low);
114 EXPORT_SYMBOL(system_serial_high);
115 #ifdef CONFIG_DEBUG_BUGVERBOSE
116 EXPORT_SYMBOL(__bug);
117 #endif
118 EXPORT_SYMBOL(__bad_xchg);
119 EXPORT_SYMBOL(__readwrite_bug);
120 EXPORT_SYMBOL(enable_irq);
121 EXPORT_SYMBOL(disable_irq);
122 EXPORT_SYMBOL(set_irq_type);
123 EXPORT_SYMBOL(pm_idle);
124 EXPORT_SYMBOL(pm_power_off);
125 
126         /* processor dependencies */
127 EXPORT_SYMBOL(__machine_arch_type);
128 
129         /* networking */
130 EXPORT_SYMBOL(csum_partial_copy_nocheck);
131 EXPORT_SYMBOL(__csum_ipv6_magic);
132 
133         /* io */
134 #ifndef __raw_readsb
135 EXPORT_SYMBOL_NOVERS(__raw_readsb);
136 #endif
137 #ifndef __raw_readsw
138 EXPORT_SYMBOL_NOVERS(__raw_readsw);
139 #endif
140 #ifndef __raw_readsl
141 EXPORT_SYMBOL_NOVERS(__raw_readsl);
142 #endif
143 #ifndef __raw_writesb
144 EXPORT_SYMBOL_NOVERS(__raw_writesb);
145 #endif
146 #ifndef __raw_writesw
147 EXPORT_SYMBOL_NOVERS(__raw_writesw);
148 #endif
149 #ifndef __raw_writesl
150 EXPORT_SYMBOL_NOVERS(__raw_writesl);
151 #endif
152 
153         /* string / mem functions */
154 EXPORT_SYMBOL_NOVERS(strcpy);
155 EXPORT_SYMBOL_NOVERS(strncpy);
156 EXPORT_SYMBOL_NOVERS(strcat);
157 EXPORT_SYMBOL_NOVERS(strncat);
158 EXPORT_SYMBOL_NOVERS(strcmp);
159 EXPORT_SYMBOL_NOVERS(strncmp);
160 EXPORT_SYMBOL_NOVERS(strchr);
161 EXPORT_SYMBOL_NOVERS(strlen);
162 EXPORT_SYMBOL_NOVERS(strnlen);
163 EXPORT_SYMBOL_NOVERS(strpbrk);
164 EXPORT_SYMBOL_NOVERS(strrchr);
165 EXPORT_SYMBOL_NOVERS(strstr);
166 EXPORT_SYMBOL_NOVERS(memset);
167 EXPORT_SYMBOL_NOVERS(memcpy);
168 EXPORT_SYMBOL_NOVERS(memmove);
169 EXPORT_SYMBOL_NOVERS(memcmp);
170 EXPORT_SYMBOL_NOVERS(memscan);
171 EXPORT_SYMBOL_NOVERS(__memzero);
172 
173         /* user mem (segment) */
174 EXPORT_SYMBOL(uaccess_kernel);
175 EXPORT_SYMBOL(uaccess_user);
176 
177 EXPORT_SYMBOL_NOVERS(__get_user_1);
178 EXPORT_SYMBOL_NOVERS(__get_user_2);
179 EXPORT_SYMBOL_NOVERS(__get_user_4);
180 EXPORT_SYMBOL_NOVERS(__get_user_8);
181 
182 EXPORT_SYMBOL_NOVERS(__put_user_1);
183 EXPORT_SYMBOL_NOVERS(__put_user_2);
184 EXPORT_SYMBOL_NOVERS(__put_user_4);
185 EXPORT_SYMBOL_NOVERS(__put_user_8);
186 
187         /* gcc lib functions */
188 EXPORT_SYMBOL_NOVERS(__ashldi3);
189 EXPORT_SYMBOL_NOVERS(__ashrdi3);
190 EXPORT_SYMBOL_NOVERS(__divsi3);
191 EXPORT_SYMBOL_NOVERS(__lshrdi3);
192 EXPORT_SYMBOL_NOVERS(__modsi3);
193 EXPORT_SYMBOL_NOVERS(__muldi3);
194 EXPORT_SYMBOL_NOVERS(__ucmpdi2);
195 EXPORT_SYMBOL_NOVERS(__udivdi3);
196 EXPORT_SYMBOL_NOVERS(__umoddi3);
197 EXPORT_SYMBOL_NOVERS(__udivmoddi4);
198 EXPORT_SYMBOL_NOVERS(__udivsi3);
199 EXPORT_SYMBOL_NOVERS(__umodsi3);
200 
201         /* bitops */
202 EXPORT_SYMBOL(_set_bit_le);
203 EXPORT_SYMBOL(_test_and_set_bit_le);
204 EXPORT_SYMBOL(_clear_bit_le);
205 EXPORT_SYMBOL(_test_and_clear_bit_le);
206 EXPORT_SYMBOL(_change_bit_le);
207 EXPORT_SYMBOL(_test_and_change_bit_le);
208 EXPORT_SYMBOL(_find_first_zero_bit_le);
209 EXPORT_SYMBOL(_find_next_zero_bit_le);
210 
211         /* elf */
212 EXPORT_SYMBOL(elf_platform);
213 EXPORT_SYMBOL(elf_hwcap);
214 
215         /* syscalls */
216 EXPORT_SYMBOL(sys_write);
217 EXPORT_SYMBOL(sys_read);
218 EXPORT_SYMBOL(sys_lseek);
219 EXPORT_SYMBOL(sys_open);
220 EXPORT_SYMBOL(sys_exit);
221 EXPORT_SYMBOL(sys_wait4);
222 
223         /* semaphores */
224 EXPORT_SYMBOL_NOVERS(__down_failed);
225 EXPORT_SYMBOL_NOVERS(__down_interruptible_failed);
226 EXPORT_SYMBOL_NOVERS(__down_trylock_failed);
227 EXPORT_SYMBOL_NOVERS(__up_wakeup);
228 
229 EXPORT_SYMBOL(get_wchan);
230 
231 #ifdef CONFIG_PREEMPT
232 EXPORT_SYMBOL(kernel_flag);
233 #endif
234 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp