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>
21 #include <linux/ide.h>
23 #include <asm/uaccess.h>
24 #include <asm/checksum.h>
28 #include <asm/pgalloc.h>
29 #include <asm/semaphore.h>
30 #ifdef CONFIG_BLK_DEV_FD
31 #include <asm/floppy.h>
34 #include <net/checksum.h>
35 #endif /* CONFIG_NET */
41 EXPORT_SYMBOL(memcmp);
42 EXPORT_SYMBOL(memset);
43 EXPORT_SYMBOL(memcpy);
44 EXPORT_SYMBOL(memmove);
45 EXPORT_SYMBOL(memchr);
46 EXPORT_SYMBOL(strcat);
47 EXPORT_SYMBOL(strchr);
48 EXPORT_SYMBOL(strlen);
49 EXPORT_SYMBOL(strncat);
50 EXPORT_SYMBOL(strnlen);
51 EXPORT_SYMBOL(strrchr);
52 EXPORT_SYMBOL(strstr);
54 EXPORT_SYMBOL(enable_irq);
55 EXPORT_SYMBOL(disable_irq);
56 EXPORT_SYMBOL(kernel_thread);
59 * gcc internal math functions
61 extern long long __ashrdi3(long long, int);
62 extern long long __ashldi3(long long, int);
63 extern long long __lshrdi3(long long, int);
64 extern int __divsi3(int, int);
65 extern int __modsi3(int, int);
66 extern long long __muldi3(long long, long long);
67 extern int __mulsi3(int, int);
68 extern unsigned int __udivsi3(unsigned int, unsigned int);
69 extern unsigned int __umodsi3(unsigned int, unsigned int);
70 extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
71 extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
73 EXPORT_SYMBOL(__ashldi3);
74 EXPORT_SYMBOL(__ashrdi3);
75 EXPORT_SYMBOL(__lshrdi3);
76 EXPORT_SYMBOL(__divsi3);
77 EXPORT_SYMBOL(__modsi3);
78 EXPORT_SYMBOL(__muldi3);
79 EXPORT_SYMBOL(__mulsi3);
80 EXPORT_SYMBOL(__udivsi3);
81 EXPORT_SYMBOL(__umodsi3);
82 EXPORT_SYMBOL(__udivdi3);
83 EXPORT_SYMBOL(__umoddi3);
86 * Semaphore operations
88 EXPORT_SYMBOL(__down);
89 EXPORT_SYMBOL(__down_interruptible);
90 EXPORT_SYMBOL(__down_trylock);
97 EXPORT_SYMBOL(csum_partial_copy_generic);
98 #endif /* CONFIG_NET */
101 * Architecture-specific symbols
103 EXPORT_SYMBOL(__xtensa_copy_user);
109 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
110 // FIXME EXPORT_SYMBOL(screen_info);
113 EXPORT_SYMBOL(outsb);
114 EXPORT_SYMBOL(outsw);
115 EXPORT_SYMBOL(outsl);