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

嵌入式Linux

开发平台:

Unix_Linux

  1. #include <linux/config.h>
  2. #include <linux/module.h>
  3. #include <linux/smp.h>
  4. #include <linux/user.h>
  5. #include <linux/elfcore.h>
  6. #include <linux/mca.h>
  7. #include <linux/sched.h>
  8. #include <linux/in6.h>
  9. #include <linux/interrupt.h>
  10. #include <linux/smp_lock.h>
  11. #include <linux/pm.h>
  12. #include <linux/pci.h>
  13. #include <linux/apm_bios.h>
  14. #include <linux/kernel.h>
  15. #include <linux/string.h>
  16. #include <linux/tty.h>
  17. #include <asm/semaphore.h>
  18. #include <asm/processor.h>
  19. #include <asm/i387.h>
  20. #include <asm/uaccess.h>
  21. #include <asm/checksum.h>
  22. #include <asm/io.h>
  23. #include <asm/hardirq.h>
  24. #include <asm/delay.h>
  25. #include <asm/irq.h>
  26. #include <asm/mmx.h>
  27. #include <asm/desc.h>
  28. #include <asm/pgtable.h>
  29. #include <asm/pgalloc.h>
  30. extern void dump_thread(struct pt_regs *, struct user *);
  31. extern spinlock_t rtc_lock;
  32. #if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE)
  33. extern void machine_real_restart(unsigned char *, int);
  34. EXPORT_SYMBOL(machine_real_restart);
  35. extern void default_idle(void);
  36. EXPORT_SYMBOL(default_idle);
  37. #endif
  38. #ifdef CONFIG_SMP
  39. extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
  40. extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
  41. #endif
  42. #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
  43. extern struct drive_info_struct drive_info;
  44. EXPORT_SYMBOL(drive_info);
  45. #endif
  46. extern unsigned long get_cmos_time(void);
  47. /* platform dependent support */
  48. EXPORT_SYMBOL(boot_cpu_data);
  49. #ifdef CONFIG_EISA
  50. EXPORT_SYMBOL(EISA_bus);
  51. #endif
  52. EXPORT_SYMBOL(MCA_bus);
  53. EXPORT_SYMBOL(__verify_write);
  54. EXPORT_SYMBOL(dump_thread);
  55. EXPORT_SYMBOL(dump_fpu);
  56. EXPORT_SYMBOL(dump_extended_fpu);
  57. EXPORT_SYMBOL(__ioremap);
  58. EXPORT_SYMBOL(iounmap);
  59. EXPORT_SYMBOL(enable_irq);
  60. EXPORT_SYMBOL(disable_irq);
  61. EXPORT_SYMBOL(disable_irq_nosync);
  62. EXPORT_SYMBOL(probe_irq_mask);
  63. EXPORT_SYMBOL(kernel_thread);
  64. EXPORT_SYMBOL(pm_idle);
  65. EXPORT_SYMBOL(pm_power_off);
  66. EXPORT_SYMBOL(get_cmos_time);
  67. EXPORT_SYMBOL(apm_info);
  68. EXPORT_SYMBOL(gdt);
  69. #ifdef CONFIG_DEBUG_IOVIRT
  70. EXPORT_SYMBOL(__io_virt_debug);
  71. #endif
  72. EXPORT_SYMBOL_NOVERS(__down_failed);
  73. EXPORT_SYMBOL_NOVERS(__down_failed_interruptible);
  74. EXPORT_SYMBOL_NOVERS(__down_failed_trylock);
  75. EXPORT_SYMBOL_NOVERS(__up_wakeup);
  76. /* Networking helper routines. */
  77. EXPORT_SYMBOL(csum_partial_copy_generic);
  78. /* Delay loops */
  79. EXPORT_SYMBOL(__udelay);
  80. EXPORT_SYMBOL(__delay);
  81. EXPORT_SYMBOL(__const_udelay);
  82. EXPORT_SYMBOL_NOVERS(__get_user_1);
  83. EXPORT_SYMBOL_NOVERS(__get_user_2);
  84. EXPORT_SYMBOL_NOVERS(__get_user_4);
  85. EXPORT_SYMBOL(strtok);
  86. EXPORT_SYMBOL(strpbrk);
  87. EXPORT_SYMBOL(strstr);
  88. EXPORT_SYMBOL(strncpy_from_user);
  89. EXPORT_SYMBOL(__strncpy_from_user);
  90. EXPORT_SYMBOL(clear_user);
  91. EXPORT_SYMBOL(__clear_user);
  92. EXPORT_SYMBOL(__generic_copy_from_user);
  93. EXPORT_SYMBOL(__generic_copy_to_user);
  94. EXPORT_SYMBOL(strnlen_user);
  95. EXPORT_SYMBOL(pci_alloc_consistent);
  96. EXPORT_SYMBOL(pci_free_consistent);
  97. #ifdef CONFIG_PCI
  98. EXPORT_SYMBOL(pcibios_penalize_isa_irq);
  99. EXPORT_SYMBOL(pci_mem_start);
  100. #endif
  101. #ifdef CONFIG_PCI_BIOS
  102. EXPORT_SYMBOL(pcibios_set_irq_routing);
  103. EXPORT_SYMBOL(pcibios_get_irq_routing_table);
  104. #endif
  105. #ifdef CONFIG_X86_USE_3DNOW
  106. EXPORT_SYMBOL(_mmx_memcpy);
  107. EXPORT_SYMBOL(mmx_clear_page);
  108. EXPORT_SYMBOL(mmx_copy_page);
  109. #endif
  110. #ifdef CONFIG_SMP
  111. EXPORT_SYMBOL(cpu_data);
  112. EXPORT_SYMBOL(kernel_flag);
  113. EXPORT_SYMBOL(smp_num_cpus);
  114. EXPORT_SYMBOL(cpu_online_map);
  115. EXPORT_SYMBOL_NOVERS(__write_lock_failed);
  116. EXPORT_SYMBOL_NOVERS(__read_lock_failed);
  117. /* Global SMP irq stuff */
  118. EXPORT_SYMBOL(synchronize_irq);
  119. EXPORT_SYMBOL(global_irq_holder);
  120. EXPORT_SYMBOL(__global_cli);
  121. EXPORT_SYMBOL(__global_sti);
  122. EXPORT_SYMBOL(__global_save_flags);
  123. EXPORT_SYMBOL(__global_restore_flags);
  124. EXPORT_SYMBOL(smp_call_function);
  125. /* TLB flushing */
  126. EXPORT_SYMBOL(flush_tlb_page);
  127. #endif
  128. #ifdef CONFIG_MCA
  129. EXPORT_SYMBOL(machine_id);
  130. #endif
  131. #ifdef CONFIG_VT
  132. EXPORT_SYMBOL(screen_info);
  133. #endif
  134. EXPORT_SYMBOL(get_wchan);
  135. EXPORT_SYMBOL(rtc_lock);
  136. #undef memcpy
  137. #undef memset
  138. extern void * memset(void *,int,__kernel_size_t);
  139. extern void * memcpy(void *,const void *,__kernel_size_t);
  140. EXPORT_SYMBOL_NOVERS(memcpy);
  141. EXPORT_SYMBOL_NOVERS(memset);
  142. #ifdef CONFIG_HAVE_DEC_LOCK
  143. EXPORT_SYMBOL(atomic_dec_and_lock);
  144. #endif
  145. #ifdef CONFIG_DEBUG_BUGVERBOSE
  146. EXPORT_SYMBOL(do_BUG);
  147. #endif
  148. extern int is_sony_vaio_laptop;
  149. EXPORT_SYMBOL(is_sony_vaio_laptop);