mips_ksyms.c
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:3k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /*
  2.  * Export MIPS-specific functions needed for loadable modules.
  3.  *
  4.  * This file is subject to the terms and conditions of the GNU General Public
  5.  * License.  See the file "COPYING" in the main directory of this archive
  6.  * for more details.
  7.  *
  8.  * Copyright (C) 1996, 1997, 1998, 2000, 2001 by Ralf Baechle
  9.  */
  10. #include <linux/config.h>
  11. #include <linux/module.h>
  12. #include <linux/string.h>
  13. #include <linux/mm.h>
  14. #include <linux/interrupt.h>
  15. #include <asm/irq.h>
  16. #include <linux/in6.h>
  17. #include <linux/pci.h>
  18. #include <linux/ide.h>
  19. #include <asm/bootinfo.h>
  20. #include <asm/checksum.h>
  21. #include <asm/dma.h>
  22. #include <asm/io.h>
  23. #include <asm/page.h>
  24. #include <asm/pgalloc.h>
  25. #include <asm/semaphore.h>
  26. #include <asm/sgi/sgihpc.h>
  27. #include <asm/softirq.h>
  28. #include <asm/uaccess.h>
  29. #ifdef CONFIG_BLK_DEV_FD
  30. #include <asm/floppy.h>
  31. #endif
  32. extern void *__bzero(void *__s, size_t __count);
  33. extern long __strncpy_from_user_nocheck_asm(char *__to,
  34.                                             const char *__from, long __len);
  35. extern long __strncpy_from_user_asm(char *__to, const char *__from,
  36.                                     long __len);
  37. extern long __strlen_user_nocheck_asm(const char *s);
  38. extern long __strlen_user_asm(const char *s);
  39. extern long __strnlen_user_nocheck_asm(const char *s);
  40. extern long __strnlen_user_asm(const char *s);
  41. EXPORT_SYMBOL(mips_machtype);
  42. EXPORT_SYMBOL(EISA_bus);
  43. /*
  44.  * String functions
  45.  */
  46. EXPORT_SYMBOL_NOVERS(memcmp);
  47. EXPORT_SYMBOL_NOVERS(memset);
  48. EXPORT_SYMBOL_NOVERS(memcpy);
  49. EXPORT_SYMBOL_NOVERS(memmove);
  50. EXPORT_SYMBOL_NOVERS(strcat);
  51. EXPORT_SYMBOL_NOVERS(strchr);
  52. EXPORT_SYMBOL_NOVERS(strlen);
  53. EXPORT_SYMBOL_NOVERS(strpbrk);
  54. EXPORT_SYMBOL_NOVERS(strncat);
  55. EXPORT_SYMBOL_NOVERS(strnlen);
  56. EXPORT_SYMBOL_NOVERS(strrchr);
  57. EXPORT_SYMBOL_NOVERS(strstr);
  58. EXPORT_SYMBOL_NOVERS(strtok);
  59. EXPORT_SYMBOL(_clear_page);
  60. EXPORT_SYMBOL(enable_irq);
  61. EXPORT_SYMBOL(disable_irq);
  62. EXPORT_SYMBOL(kernel_thread);
  63. /*
  64.  * Userspace access stuff.
  65.  */
  66. EXPORT_SYMBOL_NOVERS(__copy_user);
  67. EXPORT_SYMBOL_NOVERS(__bzero);
  68. EXPORT_SYMBOL_NOVERS(__strncpy_from_user_nocheck_asm);
  69. EXPORT_SYMBOL_NOVERS(__strncpy_from_user_asm);
  70. EXPORT_SYMBOL_NOVERS(__strlen_user_nocheck_asm);
  71. EXPORT_SYMBOL_NOVERS(__strlen_user_asm);
  72. EXPORT_SYMBOL_NOVERS(__strnlen_user_nocheck_asm);
  73. EXPORT_SYMBOL_NOVERS(__strnlen_user_asm);
  74. /* Networking helper routines. */
  75. EXPORT_SYMBOL(csum_partial_copy);
  76. /*
  77.  * Functions to control caches.
  78.  */
  79. EXPORT_SYMBOL(_flush_page_to_ram);
  80. EXPORT_SYMBOL(_flush_cache_all);
  81. EXPORT_SYMBOL(_dma_cache_wback_inv);
  82. EXPORT_SYMBOL(_dma_cache_inv);
  83. EXPORT_SYMBOL(invalid_pte_table);
  84. /*
  85.  * Semaphore stuff
  86.  */
  87. EXPORT_SYMBOL(__down);
  88. EXPORT_SYMBOL(__down_interruptible);
  89. EXPORT_SYMBOL(__down_trylock);
  90. EXPORT_SYMBOL(__up);
  91. /*
  92.  * Base address of ports for Intel style I/O.
  93.  */
  94. EXPORT_SYMBOL(mips_io_port_base);
  95. /*
  96.  * Architecture specific stuff.
  97.  */
  98. #ifdef CONFIG_MIPS_JAZZ
  99. EXPORT_SYMBOL(vdma_alloc);
  100. EXPORT_SYMBOL(vdma_free);
  101. EXPORT_SYMBOL(vdma_log2phys);
  102. #endif
  103. #ifdef CONFIG_SGI_IP22
  104. EXPORT_SYMBOL(hpc3c0);
  105. #endif
  106. /*
  107.  * Kernel hacking ...
  108.  */
  109. #include <asm/branch.h>
  110. #include <linux/sched.h>
  111. int register_fpe(void (*handler)(struct pt_regs *regs, unsigned int fcr31));
  112. int unregister_fpe(void (*handler)(struct pt_regs *regs, unsigned int fcr31));
  113. #ifdef CONFIG_VT
  114. EXPORT_SYMBOL(screen_info);
  115. #endif
  116. #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE)
  117. EXPORT_SYMBOL(ide_ops);
  118. #endif
  119. EXPORT_SYMBOL(get_wchan);
  120. EXPORT_SYMBOL(flush_tlb_page);