ksyms.c 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. /*
  2. * Copyright (C) 2001 - 2004 Jeff Dike (jdike@addtoit.com)
  3. * Licensed under the GPL
  4. */
  5. #include "linux/config.h"
  6. #include "linux/module.h"
  7. #include "linux/string.h"
  8. #include "linux/smp_lock.h"
  9. #include "linux/spinlock.h"
  10. #include "linux/highmem.h"
  11. #include "asm/current.h"
  12. #include "asm/delay.h"
  13. #include "asm/processor.h"
  14. #include "asm/unistd.h"
  15. #include "asm/pgalloc.h"
  16. #include "asm/pgtable.h"
  17. #include "asm/page.h"
  18. #include "asm/tlbflush.h"
  19. #include "kern_util.h"
  20. #include "user_util.h"
  21. #include "mem_user.h"
  22. #include "os.h"
  23. #include "helper.h"
  24. EXPORT_SYMBOL(stop);
  25. EXPORT_SYMBOL(uml_physmem);
  26. EXPORT_SYMBOL(set_signals);
  27. EXPORT_SYMBOL(get_signals);
  28. EXPORT_SYMBOL(kernel_thread);
  29. EXPORT_SYMBOL(__const_udelay);
  30. EXPORT_SYMBOL(__udelay);
  31. EXPORT_SYMBOL(sys_waitpid);
  32. EXPORT_SYMBOL(task_size);
  33. EXPORT_SYMBOL(flush_tlb_range);
  34. EXPORT_SYMBOL(host_task_size);
  35. EXPORT_SYMBOL(arch_validate);
  36. EXPORT_SYMBOL(get_kmem_end);
  37. EXPORT_SYMBOL(page_to_phys);
  38. EXPORT_SYMBOL(phys_to_page);
  39. EXPORT_SYMBOL(high_physmem);
  40. EXPORT_SYMBOL(empty_zero_page);
  41. EXPORT_SYMBOL(um_virt_to_phys);
  42. EXPORT_SYMBOL(__virt_to_page);
  43. EXPORT_SYMBOL(to_phys);
  44. EXPORT_SYMBOL(to_virt);
  45. EXPORT_SYMBOL(mode_tt);
  46. EXPORT_SYMBOL(handle_page_fault);
  47. EXPORT_SYMBOL(find_iomem);
  48. EXPORT_SYMBOL(end_iomem);
  49. #ifdef CONFIG_MODE_TT
  50. EXPORT_SYMBOL(strncpy_from_user_tt);
  51. EXPORT_SYMBOL(copy_from_user_tt);
  52. EXPORT_SYMBOL(copy_to_user_tt);
  53. #endif
  54. #ifdef CONFIG_MODE_SKAS
  55. EXPORT_SYMBOL(strncpy_from_user_skas);
  56. EXPORT_SYMBOL(copy_to_user_skas);
  57. EXPORT_SYMBOL(copy_from_user_skas);
  58. #endif
  59. EXPORT_SYMBOL(uml_strdup);
  60. EXPORT_SYMBOL(os_stat_fd);
  61. EXPORT_SYMBOL(os_stat_file);
  62. EXPORT_SYMBOL(os_access);
  63. EXPORT_SYMBOL(os_print_error);
  64. EXPORT_SYMBOL(os_get_exec_close);
  65. EXPORT_SYMBOL(os_set_exec_close);
  66. EXPORT_SYMBOL(os_getpid);
  67. EXPORT_SYMBOL(os_open_file);
  68. EXPORT_SYMBOL(os_read_file);
  69. EXPORT_SYMBOL(os_write_file);
  70. EXPORT_SYMBOL(os_seek_file);
  71. EXPORT_SYMBOL(os_lock_file);
  72. EXPORT_SYMBOL(os_ioctl_generic);
  73. EXPORT_SYMBOL(os_pipe);
  74. EXPORT_SYMBOL(os_file_type);
  75. EXPORT_SYMBOL(os_file_mode);
  76. EXPORT_SYMBOL(os_file_size);
  77. EXPORT_SYMBOL(os_flush_stdout);
  78. EXPORT_SYMBOL(os_close_file);
  79. EXPORT_SYMBOL(os_set_fd_async);
  80. EXPORT_SYMBOL(os_set_fd_block);
  81. EXPORT_SYMBOL(helper_wait);
  82. EXPORT_SYMBOL(os_shutdown_socket);
  83. EXPORT_SYMBOL(os_create_unix_socket);
  84. EXPORT_SYMBOL(os_connect_socket);
  85. EXPORT_SYMBOL(os_accept_connection);
  86. EXPORT_SYMBOL(os_rcv_fd);
  87. EXPORT_SYMBOL(run_helper);
  88. EXPORT_SYMBOL(start_thread);
  89. EXPORT_SYMBOL(dump_thread);
  90. EXPORT_SYMBOL(do_gettimeofday);
  91. EXPORT_SYMBOL(do_settimeofday);
  92. /* This is here because UML expands open to sys_open, not to a system
  93. * call instruction.
  94. */
  95. EXPORT_SYMBOL(sys_open);
  96. EXPORT_SYMBOL(sys_lseek);
  97. EXPORT_SYMBOL(sys_read);
  98. EXPORT_SYMBOL(sys_wait4);
  99. #ifdef CONFIG_SMP
  100. /* required for SMP */
  101. extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
  102. EXPORT_SYMBOL(__write_lock_failed);
  103. extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
  104. EXPORT_SYMBOL(__read_lock_failed);
  105. #endif
  106. #ifdef CONFIG_HIGHMEM
  107. EXPORT_SYMBOL(kmap);
  108. EXPORT_SYMBOL(kunmap);
  109. EXPORT_SYMBOL(kmap_atomic);
  110. EXPORT_SYMBOL(kunmap_atomic);
  111. EXPORT_SYMBOL(kmap_atomic_to_page);
  112. #endif
  113. /*
  114. * Overrides for Emacs so that we follow Linus's tabbing style.
  115. * Emacs will notice this stuff at the end of the file and automatically
  116. * adjust the settings for this buffer only. This must remain at the end
  117. * of the file.
  118. * ---------------------------------------------------------------------------
  119. * Local variables:
  120. * c-file-style: "linux"
  121. * End:
  122. */