1/* 2 * arch/xtensa/kernel/xtensa_ksyms.c 3 * 4 * Export Xtensa-specific functions for loadable modules. 5 * 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 8 * for more details. 9 * 10 * Copyright (C) 2001 - 2005 Tensilica Inc. 11 * 12 * Joe Taylor <joe@tensilica.com> 13 */ 14 15#include <linux/module.h> 16#include <linux/string.h> 17#include <linux/mm.h> 18#include <linux/interrupt.h> 19#include <asm/irq.h> 20#include <linux/in6.h> 21 22#include <asm/uaccess.h> 23#include <asm/checksum.h> 24#include <asm/dma.h> 25#include <asm/io.h> 26#include <asm/page.h> 27#include <asm/pgalloc.h> 28#ifdef CONFIG_BLK_DEV_FD 29#include <asm/floppy.h> 30#endif 31#ifdef CONFIG_NET 32#include <net/checksum.h> 33#endif /* CONFIG_NET */ 34 35 36/* 37 * String functions 38 */ 39EXPORT_SYMBOL(memset); 40EXPORT_SYMBOL(memcpy); 41EXPORT_SYMBOL(memmove); 42 43EXPORT_SYMBOL(kernel_thread); 44 45/* 46 * gcc internal math functions 47 */ 48extern long long __ashrdi3(long long, int); 49extern long long __ashldi3(long long, int); 50extern long long __lshrdi3(long long, int); 51extern int __divsi3(int, int); 52extern int __modsi3(int, int); 53extern long long __muldi3(long long, long long); 54extern int __mulsi3(int, int); 55extern unsigned int __udivsi3(unsigned int, unsigned int); 56extern unsigned int __umodsi3(unsigned int, unsigned int); 57extern unsigned long long __umoddi3(unsigned long long, unsigned long long); 58extern unsigned long long __udivdi3(unsigned long long, unsigned long long); 59 60EXPORT_SYMBOL(__ashldi3); 61EXPORT_SYMBOL(__ashrdi3); 62EXPORT_SYMBOL(__lshrdi3); 63EXPORT_SYMBOL(__divsi3); 64EXPORT_SYMBOL(__modsi3); 65EXPORT_SYMBOL(__muldi3); 66EXPORT_SYMBOL(__mulsi3); 67EXPORT_SYMBOL(__udivsi3); 68EXPORT_SYMBOL(__umodsi3); 69EXPORT_SYMBOL(__udivdi3); 70EXPORT_SYMBOL(__umoddi3); 71 72#ifdef CONFIG_NET 73/* 74 * Networking support 75 */ 76EXPORT_SYMBOL(csum_partial_copy_generic); 77#endif /* CONFIG_NET */ 78 79/* 80 * Architecture-specific symbols 81 */ 82EXPORT_SYMBOL(__xtensa_copy_user); 83 84/* 85 * Kernel hacking ... 86 */ 87 88#if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE) 89#endif 90 91EXPORT_SYMBOL(outsb); 92EXPORT_SYMBOL(outsw); 93EXPORT_SYMBOL(outsl); 94EXPORT_SYMBOL(insb); 95EXPORT_SYMBOL(insw); 96EXPORT_SYMBOL(insl); 97