sh_ksyms_32.c 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #include <linux/module.h>
  2. #include <linux/smp.h>
  3. #include <linux/user.h>
  4. #include <linux/elfcore.h>
  5. #include <linux/sched.h>
  6. #include <linux/in6.h>
  7. #include <linux/interrupt.h>
  8. #include <linux/vmalloc.h>
  9. #include <linux/pci.h>
  10. #include <linux/irq.h>
  11. #include <asm/sections.h>
  12. #include <asm/processor.h>
  13. #include <asm/uaccess.h>
  14. #include <asm/checksum.h>
  15. #include <asm/io.h>
  16. #include <asm/delay.h>
  17. #include <asm/tlbflush.h>
  18. #include <asm/cacheflush.h>
  19. #include <asm/ftrace.h>
  20. extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
  21. /* platform dependent support */
  22. EXPORT_SYMBOL(dump_fpu);
  23. EXPORT_SYMBOL(kernel_thread);
  24. EXPORT_SYMBOL(strlen);
  25. /* PCI exports */
  26. #ifdef CONFIG_PCI
  27. EXPORT_SYMBOL(pci_alloc_consistent);
  28. EXPORT_SYMBOL(pci_free_consistent);
  29. #endif
  30. /* mem exports */
  31. EXPORT_SYMBOL(memchr);
  32. EXPORT_SYMBOL(memcpy);
  33. EXPORT_SYMBOL(memset);
  34. EXPORT_SYMBOL(memmove);
  35. EXPORT_SYMBOL(__copy_user);
  36. EXPORT_SYMBOL(__udelay);
  37. EXPORT_SYMBOL(__ndelay);
  38. EXPORT_SYMBOL(__const_udelay);
  39. #define DECLARE_EXPORT(name) \
  40. extern void name(void);EXPORT_SYMBOL(name)
  41. DECLARE_EXPORT(__udivsi3);
  42. DECLARE_EXPORT(__sdivsi3);
  43. DECLARE_EXPORT(__lshrsi3);
  44. DECLARE_EXPORT(__ashrsi3);
  45. DECLARE_EXPORT(__ashlsi3);
  46. DECLARE_EXPORT(__ashiftrt_r4_6);
  47. DECLARE_EXPORT(__ashiftrt_r4_7);
  48. DECLARE_EXPORT(__ashiftrt_r4_8);
  49. DECLARE_EXPORT(__ashiftrt_r4_9);
  50. DECLARE_EXPORT(__ashiftrt_r4_10);
  51. DECLARE_EXPORT(__ashiftrt_r4_11);
  52. DECLARE_EXPORT(__ashiftrt_r4_12);
  53. DECLARE_EXPORT(__ashiftrt_r4_13);
  54. DECLARE_EXPORT(__ashiftrt_r4_14);
  55. DECLARE_EXPORT(__ashiftrt_r4_15);
  56. DECLARE_EXPORT(__ashiftrt_r4_20);
  57. DECLARE_EXPORT(__ashiftrt_r4_21);
  58. DECLARE_EXPORT(__ashiftrt_r4_22);
  59. DECLARE_EXPORT(__ashiftrt_r4_23);
  60. DECLARE_EXPORT(__ashiftrt_r4_24);
  61. DECLARE_EXPORT(__ashiftrt_r4_27);
  62. DECLARE_EXPORT(__ashiftrt_r4_30);
  63. DECLARE_EXPORT(__movstr);
  64. DECLARE_EXPORT(__movstrSI8);
  65. DECLARE_EXPORT(__movstrSI12);
  66. DECLARE_EXPORT(__movstrSI16);
  67. DECLARE_EXPORT(__movstrSI20);
  68. DECLARE_EXPORT(__movstrSI24);
  69. DECLARE_EXPORT(__movstrSI28);
  70. DECLARE_EXPORT(__movstrSI32);
  71. DECLARE_EXPORT(__movstrSI36);
  72. DECLARE_EXPORT(__movstrSI40);
  73. DECLARE_EXPORT(__movstrSI44);
  74. DECLARE_EXPORT(__movstrSI48);
  75. DECLARE_EXPORT(__movstrSI52);
  76. DECLARE_EXPORT(__movstrSI56);
  77. DECLARE_EXPORT(__movstrSI60);
  78. DECLARE_EXPORT(__movstr_i4_even);
  79. DECLARE_EXPORT(__movstr_i4_odd);
  80. DECLARE_EXPORT(__movstrSI12_i4);
  81. DECLARE_EXPORT(__movmem_i4_even);
  82. DECLARE_EXPORT(__movmem_i4_odd);
  83. DECLARE_EXPORT(__movmemSI12_i4);
  84. DECLARE_EXPORT(__udiv_qrnnd_16);
  85. DECLARE_EXPORT(__sdivsi3_i4);
  86. DECLARE_EXPORT(__udivsi3_i4);
  87. DECLARE_EXPORT(__sdivsi3_i4i);
  88. DECLARE_EXPORT(__udivsi3_i4i);
  89. #if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \
  90. defined(CONFIG_SH7705_CACHE_32KB))
  91. /* needed by some modules */
  92. EXPORT_SYMBOL(flush_cache_all);
  93. EXPORT_SYMBOL(flush_cache_range);
  94. EXPORT_SYMBOL(flush_dcache_page);
  95. #endif
  96. #if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU) && \
  97. (defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB))
  98. EXPORT_SYMBOL(clear_user_page);
  99. #endif
  100. #ifdef CONFIG_FUNCTION_TRACER
  101. EXPORT_SYMBOL(mcount);
  102. #endif
  103. EXPORT_SYMBOL(csum_partial);
  104. EXPORT_SYMBOL(csum_partial_copy_generic);
  105. #ifdef CONFIG_IPV6
  106. EXPORT_SYMBOL(csum_ipv6_magic);
  107. #endif
  108. EXPORT_SYMBOL(clear_page);
  109. EXPORT_SYMBOL(copy_page);
  110. EXPORT_SYMBOL(__clear_user);
  111. EXPORT_SYMBOL(_ebss);
  112. EXPORT_SYMBOL(empty_zero_page);
  113. #ifndef CONFIG_CACHE_OFF
  114. EXPORT_SYMBOL(__flush_purge_region);
  115. EXPORT_SYMBOL(__flush_wback_region);
  116. EXPORT_SYMBOL(__flush_invalidate_region);
  117. #endif