v850_ksyms.c 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 <linux/config.h>
  11. #include <asm/pgalloc.h>
  12. #include <asm/irq.h>
  13. #include <asm/io.h>
  14. #include <asm/semaphore.h>
  15. #include <asm/checksum.h>
  16. #include <asm/current.h>
  17. extern void *trap_table;
  18. EXPORT_SYMBOL (trap_table);
  19. /* platform dependent support */
  20. extern void dump_thread (struct pt_regs *, struct user *);
  21. EXPORT_SYMBOL (dump_thread);
  22. EXPORT_SYMBOL (kernel_thread);
  23. EXPORT_SYMBOL (enable_irq);
  24. EXPORT_SYMBOL (disable_irq);
  25. EXPORT_SYMBOL (disable_irq_nosync);
  26. EXPORT_SYMBOL (__bug);
  27. /* Networking helper routines. */
  28. EXPORT_SYMBOL (csum_partial_copy);
  29. EXPORT_SYMBOL (csum_partial_copy_from_user);
  30. EXPORT_SYMBOL (ip_compute_csum);
  31. EXPORT_SYMBOL (ip_fast_csum);
  32. /* string / mem functions */
  33. EXPORT_SYMBOL (strcpy);
  34. EXPORT_SYMBOL (strncpy);
  35. EXPORT_SYMBOL (strcat);
  36. EXPORT_SYMBOL (strncat);
  37. EXPORT_SYMBOL (strcmp);
  38. EXPORT_SYMBOL (strncmp);
  39. EXPORT_SYMBOL (strchr);
  40. EXPORT_SYMBOL (strlen);
  41. EXPORT_SYMBOL (strnlen);
  42. EXPORT_SYMBOL (strpbrk);
  43. EXPORT_SYMBOL (strrchr);
  44. EXPORT_SYMBOL (strstr);
  45. EXPORT_SYMBOL (memset);
  46. EXPORT_SYMBOL (memcpy);
  47. EXPORT_SYMBOL (memmove);
  48. EXPORT_SYMBOL (memcmp);
  49. EXPORT_SYMBOL (memscan);
  50. /* semaphores */
  51. EXPORT_SYMBOL (__down);
  52. EXPORT_SYMBOL (__down_interruptible);
  53. EXPORT_SYMBOL (__down_trylock);
  54. EXPORT_SYMBOL (__up);
  55. /*
  56. * libgcc functions - functions that are used internally by the
  57. * compiler... (prototypes are not correct though, but that
  58. * doesn't really matter since they're not versioned).
  59. */
  60. extern void __ashldi3 (void);
  61. extern void __ashrdi3 (void);
  62. extern void __lshrdi3 (void);
  63. extern void __muldi3 (void);
  64. extern void __negdi2 (void);
  65. EXPORT_SYMBOL (__ashldi3);
  66. EXPORT_SYMBOL (__ashrdi3);
  67. EXPORT_SYMBOL (__lshrdi3);
  68. EXPORT_SYMBOL (__muldi3);
  69. EXPORT_SYMBOL (__negdi2);