xref: /linux/arch/nios2/kernel/nios2_ksyms.c (revision 53597deca0e38c30e6cd4ba2114fa42d2bcd85bb)
1 /*
2  * Copyright (C) 2004 Microtronix Datacom Ltd
3  *
4  * This file is subject to the terms and conditions of the GNU General
5  * Public License. See the file COPYING in the main directory of this
6  * archive for more details.
7  */
8 
9 #include <linux/export.h>
10 #include <linux/string.h>
11 #include <linux/pgtable.h>
12 
13 #include <asm/cacheflush.h>
14 
15 /* string functions */
16 
17 EXPORT_SYMBOL(memcpy);
18 EXPORT_SYMBOL(memset);
19 EXPORT_SYMBOL(memmove);
20 
21 /* memory management */
22 
23 EXPORT_SYMBOL(flush_icache_range);
24 
25 /*
26  * libgcc functions - functions that are used internally by the
27  * compiler...  (prototypes are not correct though, but that
28  * doesn't really matter since they're not versioned).
29  */
30 #define DECLARE_EXPORT(name)	extern void name(void); EXPORT_SYMBOL(name)
31 
32 DECLARE_EXPORT(__gcc_bcmp);
33 DECLARE_EXPORT(__divsi3);
34 DECLARE_EXPORT(__moddi3);
35 DECLARE_EXPORT(__modsi3);
36 DECLARE_EXPORT(__udivmoddi4);
37 DECLARE_EXPORT(__udivsi3);
38 DECLARE_EXPORT(__umoddi3);
39 DECLARE_EXPORT(__umodsi3);
40 DECLARE_EXPORT(__muldi3);
41 DECLARE_EXPORT(__ucmpdi2);
42 DECLARE_EXPORT(__lshrdi3);
43 DECLARE_EXPORT(__ashldi3);
44 DECLARE_EXPORT(__ashrdi3);
45