linux/arch/frv/kernel/frv_ksyms.c
<<
>>
Prefs
   1#include <linux/module.h>
   2#include <linux/linkage.h>
   3#include <linux/sched.h>
   4#include <linux/string.h>
   5#include <linux/mm.h>
   6#include <linux/user.h>
   7#include <linux/elfcore.h>
   8#include <linux/in6.h>
   9#include <linux/interrupt.h>
  10
  11#include <asm/setup.h>
  12#include <asm/pgalloc.h>
  13#include <asm/irq.h>
  14#include <asm/io.h>
  15#include <asm/checksum.h>
  16#include <asm/hardirq.h>
  17#include <asm/cacheflush.h>
  18
  19extern long __memcpy_user(void *dst, const void *src, size_t count);
  20extern long __memset_user(void *dst, const void *src, size_t count);
  21
  22/* platform dependent support */
  23
  24EXPORT_SYMBOL(__ioremap);
  25EXPORT_SYMBOL(iounmap);
  26
  27EXPORT_SYMBOL(ip_fast_csum);
  28
  29#if 0
  30EXPORT_SYMBOL(local_irq_count);
  31EXPORT_SYMBOL(local_bh_count);
  32#endif
  33EXPORT_SYMBOL(kernel_thread);
  34
  35EXPORT_SYMBOL(__res_bus_clock_speed_HZ);
  36EXPORT_SYMBOL(__page_offset);
  37EXPORT_SYMBOL(__memcpy_user);
  38EXPORT_SYMBOL(__memset_user);
  39EXPORT_SYMBOL(frv_dcache_writeback);
  40EXPORT_SYMBOL(frv_cache_invalidate);
  41EXPORT_SYMBOL(frv_icache_invalidate);
  42EXPORT_SYMBOL(frv_cache_wback_inv);
  43
  44#ifndef CONFIG_MMU
  45EXPORT_SYMBOL(memory_start);
  46EXPORT_SYMBOL(memory_end);
  47#endif
  48
  49EXPORT_SYMBOL(__debug_bug_trap);
  50
  51/* The following are special because they're not called
  52   explicitly (the C compiler generates them).  Fortunately,
  53   their interface isn't gonna change any time soon now, so
  54   it's OK to leave it out of version control.  */
  55EXPORT_SYMBOL(memcpy);
  56EXPORT_SYMBOL(memset);
  57
  58EXPORT_SYMBOL(__outsl_ns);
  59EXPORT_SYMBOL(__insl_ns);
  60
  61#ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS
  62EXPORT_SYMBOL(atomic_test_and_ANDNOT_mask);
  63EXPORT_SYMBOL(atomic_test_and_OR_mask);
  64EXPORT_SYMBOL(atomic_test_and_XOR_mask);
  65EXPORT_SYMBOL(atomic_add_return);
  66EXPORT_SYMBOL(atomic_sub_return);
  67EXPORT_SYMBOL(__xchg_32);
  68EXPORT_SYMBOL(__cmpxchg_32);
  69#endif
  70
  71EXPORT_SYMBOL(__debug_bug_printk);
  72EXPORT_SYMBOL(__delay_loops_MHz);
  73
  74/*
  75 * libgcc functions - functions that are used internally by the
  76 * compiler...  (prototypes are not correct though, but that
  77 * doesn't really matter since they're not versioned).
  78 */
  79extern void __gcc_bcmp(void);
  80extern void __ashldi3(void);
  81extern void __ashrdi3(void);
  82extern void __cmpdi2(void);
  83extern void __divdi3(void);
  84extern void __lshrdi3(void);
  85extern void __moddi3(void);
  86extern void __muldi3(void);
  87extern void __mulll(void);
  88extern void __umulll(void);
  89extern void __negdi2(void);
  90extern void __ucmpdi2(void);
  91extern void __udivdi3(void);
  92extern void __udivmoddi4(void);
  93extern void __umoddi3(void);
  94
  95        /* gcc lib functions */
  96//EXPORT_SYMBOL(__gcc_bcmp);
  97EXPORT_SYMBOL(__ashldi3);
  98EXPORT_SYMBOL(__ashrdi3);
  99//EXPORT_SYMBOL(__cmpdi2);
 100//EXPORT_SYMBOL(__divdi3);
 101EXPORT_SYMBOL(__lshrdi3);
 102//EXPORT_SYMBOL(__moddi3);
 103EXPORT_SYMBOL(__muldi3);
 104EXPORT_SYMBOL(__mulll);
 105EXPORT_SYMBOL(__umulll);
 106EXPORT_SYMBOL(__negdi2);
 107EXPORT_SYMBOL(__ucmpdi2);
 108//EXPORT_SYMBOL(__udivdi3);
 109//EXPORT_SYMBOL(__udivmoddi4);
 110//EXPORT_SYMBOL(__umoddi3);
 111