bfin_ksyms.c 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. * arch/blackfin/kernel/bfin_ksyms.c - exports for random symbols
  3. *
  4. * Copyright 2004-2008 Analog Devices Inc.
  5. *
  6. * Licensed under the GPL-2 or later.
  7. */
  8. #include <linux/module.h>
  9. #include <linux/uaccess.h>
  10. #include <asm/cacheflush.h>
  11. /* Allow people to have their own Blackfin exception handler in a module */
  12. EXPORT_SYMBOL(bfin_return_from_exception);
  13. /* All the Blackfin cache functions: mach-common/cache.S */
  14. EXPORT_SYMBOL(blackfin_dcache_invalidate_range);
  15. EXPORT_SYMBOL(blackfin_icache_dcache_flush_range);
  16. EXPORT_SYMBOL(blackfin_icache_flush_range);
  17. EXPORT_SYMBOL(blackfin_dcache_flush_range);
  18. EXPORT_SYMBOL(blackfin_dflush_page);
  19. /* The following are special because they're not called
  20. * explicitly (the C compiler generates them). Fortunately,
  21. * their interface isn't gonna change any time soon now, so
  22. * it's OK to leave it out of version control.
  23. */
  24. EXPORT_SYMBOL(memcpy);
  25. EXPORT_SYMBOL(memset);
  26. EXPORT_SYMBOL(memcmp);
  27. EXPORT_SYMBOL(memmove);
  28. EXPORT_SYMBOL(memchr);
  29. /*
  30. * libgcc functions - functions that are used internally by the
  31. * compiler... (prototypes are not correct though, but that
  32. * doesn't really matter since they're not versioned).
  33. */
  34. extern void __ashldi3(void);
  35. extern void __ashrdi3(void);
  36. extern void __smulsi3_highpart(void);
  37. extern void __umulsi3_highpart(void);
  38. extern void __divsi3(void);
  39. extern void __lshrdi3(void);
  40. extern void __modsi3(void);
  41. extern void __muldi3(void);
  42. extern void __udivsi3(void);
  43. extern void __umodsi3(void);
  44. EXPORT_SYMBOL(__ashldi3);
  45. EXPORT_SYMBOL(__ashrdi3);
  46. EXPORT_SYMBOL(__umulsi3_highpart);
  47. EXPORT_SYMBOL(__smulsi3_highpart);
  48. EXPORT_SYMBOL(__divsi3);
  49. EXPORT_SYMBOL(__lshrdi3);
  50. EXPORT_SYMBOL(__modsi3);
  51. EXPORT_SYMBOL(__muldi3);
  52. EXPORT_SYMBOL(__udivsi3);
  53. EXPORT_SYMBOL(__umodsi3);
  54. /* Input/output symbols: lib/{in,out}s.S */
  55. EXPORT_SYMBOL(outsb);
  56. EXPORT_SYMBOL(insb);
  57. EXPORT_SYMBOL(outsw);
  58. EXPORT_SYMBOL(outsw_8);
  59. EXPORT_SYMBOL(insw);
  60. EXPORT_SYMBOL(insw_8);
  61. EXPORT_SYMBOL(outsl);
  62. EXPORT_SYMBOL(insl);
  63. EXPORT_SYMBOL(insl_16);