crisksyms.c 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. #include <linux/config.h>
  2. #include <linux/module.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/smp_lock.h>
  9. #include <linux/pm.h>
  10. #include <linux/kernel.h>
  11. #include <linux/string.h>
  12. #include <linux/tty.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/irq.h>
  20. #include <asm/pgtable.h>
  21. #include <asm/fasttimer.h>
  22. extern void dump_thread(struct pt_regs *, struct user *);
  23. extern unsigned long get_cmos_time(void);
  24. extern void __Udiv(void);
  25. extern void __Umod(void);
  26. extern void __Div(void);
  27. extern void __Mod(void);
  28. extern void __ashrdi3(void);
  29. extern void iounmap(void *addr);
  30. /* Platform dependent support */
  31. EXPORT_SYMBOL(dump_thread);
  32. EXPORT_SYMBOL(enable_irq);
  33. EXPORT_SYMBOL(disable_irq);
  34. EXPORT_SYMBOL(kernel_thread);
  35. EXPORT_SYMBOL(get_cmos_time);
  36. EXPORT_SYMBOL(loops_per_usec);
  37. /* String functions */
  38. EXPORT_SYMBOL(memcmp);
  39. EXPORT_SYMBOL(memmove);
  40. EXPORT_SYMBOL(strpbrk);
  41. EXPORT_SYMBOL(strstr);
  42. EXPORT_SYMBOL(strcpy);
  43. EXPORT_SYMBOL(strchr);
  44. EXPORT_SYMBOL(strcmp);
  45. EXPORT_SYMBOL(strlen);
  46. EXPORT_SYMBOL(strcat);
  47. EXPORT_SYMBOL(strncat);
  48. EXPORT_SYMBOL(strncmp);
  49. EXPORT_SYMBOL(strncpy);
  50. /* Math functions */
  51. EXPORT_SYMBOL(__Udiv);
  52. EXPORT_SYMBOL(__Umod);
  53. EXPORT_SYMBOL(__Div);
  54. EXPORT_SYMBOL(__Mod);
  55. EXPORT_SYMBOL(__ashrdi3);
  56. /* Memory functions */
  57. EXPORT_SYMBOL(__ioremap);
  58. EXPORT_SYMBOL(iounmap);
  59. /* Semaphore functions */
  60. EXPORT_SYMBOL(__up);
  61. EXPORT_SYMBOL(__down);
  62. EXPORT_SYMBOL(__down_interruptible);
  63. EXPORT_SYMBOL(__down_trylock);
  64. /* Export shadow registers for the CPU I/O pins */
  65. EXPORT_SYMBOL(genconfig_shadow);
  66. EXPORT_SYMBOL(port_pa_data_shadow);
  67. EXPORT_SYMBOL(port_pa_dir_shadow);
  68. EXPORT_SYMBOL(port_pb_data_shadow);
  69. EXPORT_SYMBOL(port_pb_dir_shadow);
  70. EXPORT_SYMBOL(port_pb_config_shadow);
  71. EXPORT_SYMBOL(port_g_data_shadow);
  72. /* Userspace access functions */
  73. EXPORT_SYMBOL(__copy_user_zeroing);
  74. EXPORT_SYMBOL(__copy_user);
  75. /* Cache flush functions */
  76. EXPORT_SYMBOL(flush_etrax_cache);
  77. EXPORT_SYMBOL(prepare_rx_descriptor);
  78. #undef memcpy
  79. #undef memset
  80. extern void * memset(void *, int, __kernel_size_t);
  81. extern void * memcpy(void *, const void *, __kernel_size_t);
  82. EXPORT_SYMBOL(memcpy);
  83. EXPORT_SYMBOL(memset);
  84. #ifdef CONFIG_ETRAX_FAST_TIMER
  85. /* Fast timer functions */
  86. EXPORT_SYMBOL(fast_timer_list);
  87. EXPORT_SYMBOL(start_one_shot_timer);
  88. EXPORT_SYMBOL(del_fast_timer);
  89. EXPORT_SYMBOL(schedule_usleep);
  90. #endif