ksyms.c 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /*
  2. * linux/arch/unicore32/kernel/ksyms.c
  3. *
  4. * Code specific to PKUnity SoC and UniCore ISA
  5. *
  6. * Copyright (C) 2001-2010 GUAN Xue-tao
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #include <linux/module.h>
  13. #include <linux/sched.h>
  14. #include <linux/string.h>
  15. #include <linux/cryptohash.h>
  16. #include <linux/delay.h>
  17. #include <linux/in6.h>
  18. #include <linux/syscalls.h>
  19. #include <linux/uaccess.h>
  20. #include <linux/io.h>
  21. #include <asm/checksum.h>
  22. #include <asm/system.h>
  23. #include "ksyms.h"
  24. EXPORT_SYMBOL(__uc32_find_next_zero_bit);
  25. EXPORT_SYMBOL(__uc32_find_next_bit);
  26. EXPORT_SYMBOL(__backtrace);
  27. /* platform dependent support */
  28. EXPORT_SYMBOL(__udelay);
  29. EXPORT_SYMBOL(__const_udelay);
  30. /* networking */
  31. EXPORT_SYMBOL(csum_partial);
  32. EXPORT_SYMBOL(csum_partial_copy_from_user);
  33. EXPORT_SYMBOL(csum_partial_copy_nocheck);
  34. EXPORT_SYMBOL(__csum_ipv6_magic);
  35. /* io */
  36. #ifndef __raw_readsb
  37. EXPORT_SYMBOL(__raw_readsb);
  38. #endif
  39. #ifndef __raw_readsw
  40. EXPORT_SYMBOL(__raw_readsw);
  41. #endif
  42. #ifndef __raw_readsl
  43. EXPORT_SYMBOL(__raw_readsl);
  44. #endif
  45. #ifndef __raw_writesb
  46. EXPORT_SYMBOL(__raw_writesb);
  47. #endif
  48. #ifndef __raw_writesw
  49. EXPORT_SYMBOL(__raw_writesw);
  50. #endif
  51. #ifndef __raw_writesl
  52. EXPORT_SYMBOL(__raw_writesl);
  53. #endif
  54. /* string / mem functions */
  55. EXPORT_SYMBOL(strchr);
  56. EXPORT_SYMBOL(strrchr);
  57. EXPORT_SYMBOL(memset);
  58. EXPORT_SYMBOL(memcpy);
  59. EXPORT_SYMBOL(memmove);
  60. EXPORT_SYMBOL(memchr);
  61. /* user mem (segment) */
  62. EXPORT_SYMBOL(__strnlen_user);
  63. EXPORT_SYMBOL(__strncpy_from_user);
  64. EXPORT_SYMBOL(copy_page);
  65. EXPORT_SYMBOL(__copy_from_user);
  66. EXPORT_SYMBOL(__copy_to_user);
  67. EXPORT_SYMBOL(__clear_user);
  68. EXPORT_SYMBOL(__get_user_1);
  69. EXPORT_SYMBOL(__get_user_2);
  70. EXPORT_SYMBOL(__get_user_4);
  71. EXPORT_SYMBOL(__put_user_1);
  72. EXPORT_SYMBOL(__put_user_2);
  73. EXPORT_SYMBOL(__put_user_4);
  74. EXPORT_SYMBOL(__put_user_8);
  75. EXPORT_SYMBOL(__ashldi3);
  76. EXPORT_SYMBOL(__ashrdi3);
  77. EXPORT_SYMBOL(__divsi3);
  78. EXPORT_SYMBOL(__lshrdi3);
  79. EXPORT_SYMBOL(__modsi3);
  80. EXPORT_SYMBOL(__muldi3);
  81. EXPORT_SYMBOL(__ucmpdi2);
  82. EXPORT_SYMBOL(__udivsi3);
  83. EXPORT_SYMBOL(__umodsi3);
  84. EXPORT_SYMBOL(__bswapsi2);