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/config.h>
16 #include <linux/module.h>
17 #include <linux/string.h>
19 #include <linux/interrupt.h>
21 #include <linux/in6.h>
22 #include <linux/pci.h>
23 #include <linux/ide.h>
25 #include <asm/uaccess.h>
26 #include <asm/checksum.h>
30 #include <asm/pgalloc.h>
31 #include <asm/semaphore.h>
32 #ifdef CONFIG_BLK_DEV_FD
33 #include <asm/floppy.h>
36 #include <net/checksum.h>
37 #endif /* CONFIG_NET */
43 EXPORT_SYMBOL(memcmp);
44 EXPORT_SYMBOL(memset);
45 EXPORT_SYMBOL(memcpy);
46 EXPORT_SYMBOL(memmove);
47 EXPORT_SYMBOL(memchr);
48 EXPORT_SYMBOL(strcat);
49 EXPORT_SYMBOL(strchr);
50 EXPORT_SYMBOL(strlen);
51 EXPORT_SYMBOL(strpbrk);
52 EXPORT_SYMBOL(strncat);
53 EXPORT_SYMBOL(strnlen);
54 EXPORT_SYMBOL(strrchr);
55 EXPORT_SYMBOL(strstr);
57 EXPORT_SYMBOL(enable_irq);
58 EXPORT_SYMBOL(disable_irq);
59 EXPORT_SYMBOL(kernel_thread);
62 * gcc internal math functions
64 extern long long __ashrdi3(long long, int);
65 extern long long __ashldi3(long long, int);
66 extern long long __lshrdi3(long long, int);
67 extern int __divsi3(int, int);
68 extern int __modsi3(int, int);
69 extern long long __muldi3(long long, long long);
70 extern int __mulsi3(int, int);
71 extern unsigned int __udivsi3(unsigned int, unsigned int);
72 extern unsigned int __umodsi3(unsigned int, unsigned int);
73 extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
74 extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
76 EXPORT_SYMBOL(__ashldi3);
77 EXPORT_SYMBOL(__ashrdi3);
78 EXPORT_SYMBOL(__lshrdi3);
79 EXPORT_SYMBOL(__divsi3);
80 EXPORT_SYMBOL(__modsi3);
81 EXPORT_SYMBOL(__muldi3);
82 EXPORT_SYMBOL(__mulsi3);
83 EXPORT_SYMBOL(__udivsi3);
84 EXPORT_SYMBOL(__umodsi3);
85 EXPORT_SYMBOL(__udivdi3);
86 EXPORT_SYMBOL(__umoddi3);
89 * Semaphore operations
91 EXPORT_SYMBOL(__down);
92 EXPORT_SYMBOL(__down_interruptible);
93 EXPORT_SYMBOL(__down_trylock);
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(get_wchan);
118 EXPORT_SYMBOL(outsb);
119 EXPORT_SYMBOL(outsw);
120 EXPORT_SYMBOL(outsl);