microblaze_ksyms.c 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
  3. * Copyright (C) 2008-2009 PetaLogix
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #include <linux/module.h>
  10. #include <linux/string.h>
  11. #include <linux/cryptohash.h>
  12. #include <linux/delay.h>
  13. #include <linux/in6.h>
  14. #include <linux/syscalls.h>
  15. #include <asm/checksum.h>
  16. #include <linux/io.h>
  17. #include <asm/page.h>
  18. #include <asm/system.h>
  19. #include <linux/ftrace.h>
  20. #include <linux/uaccess.h>
  21. /*
  22. * libgcc functions - functions that are used internally by the
  23. * compiler... (prototypes are not correct though, but that
  24. * doesn't really matter since they're not versioned).
  25. */
  26. extern void __ashldi3(void);
  27. EXPORT_SYMBOL(__ashldi3);
  28. extern void __ashrdi3(void);
  29. EXPORT_SYMBOL(__ashrdi3);
  30. extern void __divsi3(void);
  31. EXPORT_SYMBOL(__divsi3);
  32. extern void __lshrdi3(void);
  33. EXPORT_SYMBOL(__lshrdi3);
  34. extern void __modsi3(void);
  35. EXPORT_SYMBOL(__modsi3);
  36. extern void __mulsi3(void);
  37. EXPORT_SYMBOL(__mulsi3);
  38. extern void __muldi3(void);
  39. EXPORT_SYMBOL(__muldi3);
  40. extern void __ucmpdi2(void);
  41. EXPORT_SYMBOL(__ucmpdi2);
  42. extern void __udivsi3(void);
  43. EXPORT_SYMBOL(__udivsi3);
  44. extern void __umodsi3(void);
  45. EXPORT_SYMBOL(__umodsi3);
  46. extern char *_ebss;
  47. EXPORT_SYMBOL_GPL(_ebss);
  48. #ifdef CONFIG_FUNCTION_TRACER
  49. extern void _mcount(void);
  50. EXPORT_SYMBOL(_mcount);
  51. #endif
  52. /*
  53. * Assembly functions that may be used (directly or indirectly) by modules
  54. */
  55. EXPORT_SYMBOL(__copy_tofrom_user);
  56. EXPORT_SYMBOL(__strncpy_user);
  57. #ifdef CONFIG_OPT_LIB_ASM
  58. EXPORT_SYMBOL(memcpy);
  59. EXPORT_SYMBOL(memmove);
  60. #endif