2 * arch/xtensa/kernel/xtensa_ksyms.c
4 * Export Xtensa-specific functions for loadable modules.
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
10 * Copyright (C) 2001 - 2005 Tensilica Inc.
12 * Joe Taylor <joe@tensilica.com>
15 #include <linux/module.h>
16 #include <linux/string.h>
18 #include <linux/interrupt.h>
20 #include <linux/in6.h>
22 #include <asm/uaccess.h>
23 #include <asm/checksum.h>
27 #include <asm/pgalloc.h>
28 #ifdef CONFIG_BLK_DEV_FD
29 #include <asm/floppy.h>
32 #include <net/checksum.h>
33 #endif /* CONFIG_NET */
39 EXPORT_SYMBOL(memset
);
40 EXPORT_SYMBOL(memcpy
);
41 EXPORT_SYMBOL(memmove
);
42 EXPORT_SYMBOL(__strncpy_user
);
43 EXPORT_SYMBOL(clear_page
);
44 EXPORT_SYMBOL(copy_page
);
46 EXPORT_SYMBOL(empty_zero_page
);
49 * gcc internal math functions
51 extern long long __ashrdi3(long long, int);
52 extern long long __ashldi3(long long, int);
53 extern long long __lshrdi3(long long, int);
54 extern int __divsi3(int, int);
55 extern int __modsi3(int, int);
56 extern long long __muldi3(long long, long long);
57 extern int __mulsi3(int, int);
58 extern unsigned int __udivsi3(unsigned int, unsigned int);
59 extern unsigned int __umodsi3(unsigned int, unsigned int);
60 extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
61 extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
62 extern int __ucmpdi2(int, int);
64 EXPORT_SYMBOL(__ashldi3
);
65 EXPORT_SYMBOL(__ashrdi3
);
66 EXPORT_SYMBOL(__lshrdi3
);
67 EXPORT_SYMBOL(__divsi3
);
68 EXPORT_SYMBOL(__modsi3
);
69 EXPORT_SYMBOL(__muldi3
);
70 EXPORT_SYMBOL(__mulsi3
);
71 EXPORT_SYMBOL(__udivsi3
);
72 EXPORT_SYMBOL(__umodsi3
);
73 EXPORT_SYMBOL(__udivdi3
);
74 EXPORT_SYMBOL(__umoddi3
);
75 EXPORT_SYMBOL(__ucmpdi2
);
77 void __xtensa_libgcc_window_spill(void)
81 EXPORT_SYMBOL(__xtensa_libgcc_window_spill
);
83 unsigned long __sync_fetch_and_and_4(unsigned long *p
, unsigned long v
)
87 EXPORT_SYMBOL(__sync_fetch_and_and_4
);
89 unsigned long __sync_fetch_and_or_4(unsigned long *p
, unsigned long v
)
93 EXPORT_SYMBOL(__sync_fetch_and_or_4
);
99 EXPORT_SYMBOL(csum_partial
);
100 EXPORT_SYMBOL(csum_partial_copy_generic
);
101 #endif /* CONFIG_NET */
104 * Architecture-specific symbols
106 EXPORT_SYMBOL(__xtensa_copy_user
);
112 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
113 // FIXME EXPORT_SYMBOL(screen_info);
116 EXPORT_SYMBOL(outsb
);
117 EXPORT_SYMBOL(outsw
);
118 EXPORT_SYMBOL(outsl
);
123 extern long common_exception_return
;
124 extern long _spill_registers
;
125 EXPORT_SYMBOL(common_exception_return
);
126 EXPORT_SYMBOL(_spill_registers
);
128 #ifdef CONFIG_FUNCTION_TRACER
129 EXPORT_SYMBOL(_mcount
);