frv_ksyms.c 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. #include <asm/setup.h>
  11. #include <asm/pgalloc.h>
  12. #include <asm/irq.h>
  13. #include <asm/io.h>
  14. #include <asm/checksum.h>
  15. #include <asm/hardirq.h>
  16. #include <asm/cacheflush.h>
  17. extern long __memcpy_user(void *dst, const void *src, size_t count);
  18. extern long __memset_user(void *dst, const void *src, size_t count);
  19. /* platform dependent support */
  20. EXPORT_SYMBOL(__ioremap);
  21. EXPORT_SYMBOL(iounmap);
  22. EXPORT_SYMBOL(ip_fast_csum);
  23. #if 0
  24. EXPORT_SYMBOL(local_irq_count);
  25. EXPORT_SYMBOL(local_bh_count);
  26. #endif
  27. EXPORT_SYMBOL(__res_bus_clock_speed_HZ);
  28. EXPORT_SYMBOL(__page_offset);
  29. EXPORT_SYMBOL(__memcpy_user);
  30. EXPORT_SYMBOL(__memset_user);
  31. EXPORT_SYMBOL(frv_dcache_writeback);
  32. EXPORT_SYMBOL(frv_cache_invalidate);
  33. EXPORT_SYMBOL(frv_icache_invalidate);
  34. EXPORT_SYMBOL(frv_cache_wback_inv);
  35. #ifndef CONFIG_MMU
  36. EXPORT_SYMBOL(memory_start);
  37. EXPORT_SYMBOL(memory_end);
  38. #endif
  39. EXPORT_SYMBOL(__debug_bug_trap);
  40. /* The following are special because they're not called
  41. explicitly (the C compiler generates them). Fortunately,
  42. their interface isn't gonna change any time soon now, so
  43. it's OK to leave it out of version control. */
  44. EXPORT_SYMBOL(memcpy);
  45. EXPORT_SYMBOL(memset);
  46. EXPORT_SYMBOL(__outsl_ns);
  47. EXPORT_SYMBOL(__insl_ns);
  48. #ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS
  49. EXPORT_SYMBOL(__xchg_32);
  50. EXPORT_SYMBOL(__cmpxchg_32);
  51. #endif
  52. EXPORT_SYMBOL(atomic64_add_return);
  53. EXPORT_SYMBOL(atomic64_sub_return);
  54. EXPORT_SYMBOL(__xchg_64);
  55. EXPORT_SYMBOL(__cmpxchg_64);
  56. EXPORT_SYMBOL(__debug_bug_printk);
  57. EXPORT_SYMBOL(__delay_loops_MHz);
  58. /*
  59. * libgcc functions - functions that are used internally by the
  60. * compiler... (prototypes are not correct though, but that
  61. * doesn't really matter since they're not versioned).
  62. */
  63. extern void __gcc_bcmp(void);
  64. extern void __ashldi3(void);
  65. extern void __ashrdi3(void);
  66. extern void __cmpdi2(void);
  67. extern void __divdi3(void);
  68. extern void __lshrdi3(void);
  69. extern void __moddi3(void);
  70. extern void __muldi3(void);
  71. extern void __mulll(void);
  72. extern void __umulll(void);
  73. extern void __negdi2(void);
  74. extern void __ucmpdi2(void);
  75. extern void __udivdi3(void);
  76. extern void __udivmoddi4(void);
  77. extern void __umoddi3(void);
  78. /* gcc lib functions */
  79. //EXPORT_SYMBOL(__gcc_bcmp);
  80. EXPORT_SYMBOL(__ashldi3);
  81. EXPORT_SYMBOL(__ashrdi3);
  82. //EXPORT_SYMBOL(__cmpdi2);
  83. //EXPORT_SYMBOL(__divdi3);
  84. EXPORT_SYMBOL(__lshrdi3);
  85. //EXPORT_SYMBOL(__moddi3);
  86. EXPORT_SYMBOL(__muldi3);
  87. EXPORT_SYMBOL(__mulll);
  88. EXPORT_SYMBOL(__umulll);
  89. EXPORT_SYMBOL(__negdi2);
  90. EXPORT_SYMBOL(__ucmpdi2);
  91. //EXPORT_SYMBOL(__udivdi3);
  92. //EXPORT_SYMBOL(__udivmoddi4);
  93. //EXPORT_SYMBOL(__umoddi3);