xref: /openbmc/linux/arch/nios2/kernel/nios2_ksyms.c (revision ae213c44)
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 
12 #include <asm/cacheflush.h>
13 #include <asm/pgtable.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(empty_zero_page);
24 EXPORT_SYMBOL(flush_icache_range);
25 
26 /*
27  * libgcc functions - functions that are used internally by the
28  * compiler...  (prototypes are not correct though, but that
29  * doesn't really matter since they're not versioned).
30  */
31 #define DECLARE_EXPORT(name)	extern void name(void); EXPORT_SYMBOL(name)
32 
33 DECLARE_EXPORT(__gcc_bcmp);
34 DECLARE_EXPORT(__divsi3);
35 DECLARE_EXPORT(__moddi3);
36 DECLARE_EXPORT(__modsi3);
37 DECLARE_EXPORT(__udivmoddi4);
38 DECLARE_EXPORT(__udivsi3);
39 DECLARE_EXPORT(__umoddi3);
40 DECLARE_EXPORT(__umodsi3);
41 DECLARE_EXPORT(__muldi3);
42 DECLARE_EXPORT(__ucmpdi2);
43 DECLARE_EXPORT(__lshrdi3);
44 DECLARE_EXPORT(__ashldi3);
45 DECLARE_EXPORT(__ashrdi3);
46