sh_ksyms.c 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. #include <linux/config.h>
  2. #include <linux/module.h>
  3. #include <linux/smp.h>
  4. #include <linux/user.h>
  5. #include <linux/elfcore.h>
  6. #include <linux/sched.h>
  7. #include <linux/in6.h>
  8. #include <linux/interrupt.h>
  9. #include <linux/smp_lock.h>
  10. #include <linux/vmalloc.h>
  11. #include <linux/pci.h>
  12. #include <linux/irq.h>
  13. #include <asm/semaphore.h>
  14. #include <asm/processor.h>
  15. #include <asm/uaccess.h>
  16. #include <asm/checksum.h>
  17. #include <asm/io.h>
  18. #include <asm/delay.h>
  19. #include <asm/tlbflush.h>
  20. #include <asm/cacheflush.h>
  21. #include <asm/checksum.h>
  22. extern void dump_thread(struct pt_regs *, struct user *);
  23. extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
  24. extern struct hw_interrupt_type no_irq_type;
  25. EXPORT_SYMBOL(sh_mv);
  26. /* platform dependent support */
  27. EXPORT_SYMBOL(dump_thread);
  28. EXPORT_SYMBOL(dump_fpu);
  29. EXPORT_SYMBOL(iounmap);
  30. EXPORT_SYMBOL(enable_irq);
  31. EXPORT_SYMBOL(disable_irq);
  32. EXPORT_SYMBOL(probe_irq_mask);
  33. EXPORT_SYMBOL(kernel_thread);
  34. EXPORT_SYMBOL(disable_irq_nosync);
  35. EXPORT_SYMBOL(irq_desc);
  36. EXPORT_SYMBOL(no_irq_type);
  37. EXPORT_SYMBOL(strpbrk);
  38. EXPORT_SYMBOL(strstr);
  39. EXPORT_SYMBOL(strlen);
  40. EXPORT_SYMBOL(strnlen);
  41. EXPORT_SYMBOL(strchr);
  42. EXPORT_SYMBOL(strcat);
  43. EXPORT_SYMBOL(strncat);
  44. /* PCI exports */
  45. #ifdef CONFIG_PCI
  46. EXPORT_SYMBOL(pci_alloc_consistent);
  47. EXPORT_SYMBOL(pci_free_consistent);
  48. #endif
  49. /* mem exports */
  50. EXPORT_SYMBOL(memchr);
  51. EXPORT_SYMBOL(memcpy);
  52. EXPORT_SYMBOL(memcpy_fromio);
  53. EXPORT_SYMBOL(memcpy_toio);
  54. EXPORT_SYMBOL(memset);
  55. EXPORT_SYMBOL(memset_io);
  56. EXPORT_SYMBOL(memmove);
  57. EXPORT_SYMBOL(memcmp);
  58. EXPORT_SYMBOL(memscan);
  59. EXPORT_SYMBOL(__copy_user);
  60. EXPORT_SYMBOL(boot_cpu_data);
  61. #ifdef CONFIG_MMU
  62. EXPORT_SYMBOL(get_vm_area);
  63. #endif
  64. /* semaphore exports */
  65. EXPORT_SYMBOL(__up);
  66. EXPORT_SYMBOL(__down);
  67. EXPORT_SYMBOL(__down_interruptible);
  68. EXPORT_SYMBOL(__udelay);
  69. EXPORT_SYMBOL(__ndelay);
  70. EXPORT_SYMBOL(__const_udelay);
  71. EXPORT_SYMBOL(__div64_32);
  72. #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
  73. /* These symbols are generated by the compiler itself */
  74. DECLARE_EXPORT(__udivsi3);
  75. DECLARE_EXPORT(__udivdi3);
  76. DECLARE_EXPORT(__sdivsi3);
  77. DECLARE_EXPORT(__ashrdi3);
  78. DECLARE_EXPORT(__ashldi3);
  79. DECLARE_EXPORT(__lshrdi3);
  80. DECLARE_EXPORT(__movstr);
  81. EXPORT_SYMBOL(strcpy);
  82. #ifdef CONFIG_CPU_SH4
  83. DECLARE_EXPORT(__movstr_i4_even);
  84. DECLARE_EXPORT(__movstr_i4_odd);
  85. DECLARE_EXPORT(__movstrSI12_i4);
  86. /* needed by some modules */
  87. EXPORT_SYMBOL(flush_cache_all);
  88. EXPORT_SYMBOL(flush_cache_range);
  89. EXPORT_SYMBOL(flush_dcache_page);
  90. EXPORT_SYMBOL(__flush_purge_region);
  91. #endif
  92. #if defined(CONFIG_SH7705_CACHE_32KB)
  93. EXPORT_SYMBOL(flush_cache_all);
  94. EXPORT_SYMBOL(flush_cache_range);
  95. EXPORT_SYMBOL(flush_dcache_page);
  96. EXPORT_SYMBOL(__flush_purge_region);
  97. #endif
  98. EXPORT_SYMBOL(flush_tlb_page);
  99. EXPORT_SYMBOL(__down_trylock);
  100. #ifdef CONFIG_SMP
  101. EXPORT_SYMBOL(synchronize_irq);
  102. #endif
  103. EXPORT_SYMBOL(csum_partial);
  104. EXPORT_SYMBOL(csum_ipv6_magic);
  105. EXPORT_SYMBOL(consistent_sync);
  106. EXPORT_SYMBOL(clear_page);