linux/arch/xtensa/kernel/xtensa_ksyms.c
<<
>>
Prefs
   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#include <linux/ide.h>
  22
  23#include <asm/uaccess.h>
  24#include <asm/checksum.h>
  25#include <asm/dma.h>
  26#include <asm/io.h>
  27#include <asm/page.h>
  28#include <asm/pgalloc.h>
  29#include <asm/semaphore.h>
  30#ifdef CONFIG_BLK_DEV_FD
  31#include <asm/floppy.h>
  32#endif
  33#ifdef CONFIG_NET
  34#include <net/checksum.h>
  35#endif /* CONFIG_NET */
  36
  37
  38/*
  39 * String functions
  40 */
  41EXPORT_SYMBOL(memset);
  42EXPORT_SYMBOL(memcpy);
  43EXPORT_SYMBOL(memmove);
  44
  45EXPORT_SYMBOL(kernel_thread);
  46
  47/*
  48 * gcc internal math functions
  49 */
  50extern long long __ashrdi3(long long, int);
  51extern long long __ashldi3(long long, int);
  52extern long long __lshrdi3(long long, int);
  53extern int __divsi3(int, int);
  54extern int __modsi3(int, int);
  55extern long long __muldi3(long long, long long);
  56extern int __mulsi3(int, int);
  57extern unsigned int __udivsi3(unsigned int, unsigned int);
  58extern unsigned int __umodsi3(unsigned int, unsigned int);
  59extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
  60extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
  61
  62EXPORT_SYMBOL(__ashldi3);
  63EXPORT_SYMBOL(__ashrdi3);
  64EXPORT_SYMBOL(__lshrdi3);
  65EXPORT_SYMBOL(__divsi3);
  66EXPORT_SYMBOL(__modsi3);
  67EXPORT_SYMBOL(__muldi3);
  68EXPORT_SYMBOL(__mulsi3);
  69EXPORT_SYMBOL(__udivsi3);
  70EXPORT_SYMBOL(__umodsi3);
  71EXPORT_SYMBOL(__udivdi3);
  72EXPORT_SYMBOL(__umoddi3);
  73
  74/*
  75 * Semaphore operations
  76 */
  77EXPORT_SYMBOL(__down);
  78EXPORT_SYMBOL(__down_interruptible);
  79EXPORT_SYMBOL(__down_trylock);
  80EXPORT_SYMBOL(__up);
  81
  82#ifdef CONFIG_NET
  83/*
  84 * Networking support
  85 */
  86EXPORT_SYMBOL(csum_partial_copy_generic);
  87#endif /* CONFIG_NET */
  88
  89/*
  90 * Architecture-specific symbols
  91 */
  92EXPORT_SYMBOL(__xtensa_copy_user);
  93
  94/*
  95 * Kernel hacking ...
  96 */
  97
  98#if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
  99// FIXME EXPORT_SYMBOL(screen_info);
 100#endif
 101
 102EXPORT_SYMBOL(outsb);
 103EXPORT_SYMBOL(outsw);
 104EXPORT_SYMBOL(outsl);
 105EXPORT_SYMBOL(insb);
 106EXPORT_SYMBOL(insw);
 107EXPORT_SYMBOL(insl);
 108