| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /*  | 
 | 2 |  * Copyright (C) 2001 - 2004 Jeff Dike (jdike@addtoit.com) | 
 | 3 |  * Licensed under the GPL | 
 | 4 |  */ | 
 | 5 |  | 
 | 6 | #include "linux/config.h" | 
 | 7 | #include "linux/module.h" | 
 | 8 | #include "linux/string.h" | 
 | 9 | #include "linux/smp_lock.h" | 
 | 10 | #include "linux/spinlock.h" | 
 | 11 | #include "linux/highmem.h" | 
 | 12 | #include "asm/current.h" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 |  | 
 | 24 | EXPORT_SYMBOL(stop); | 
 | 25 | EXPORT_SYMBOL(uml_physmem); | 
 | 26 | EXPORT_SYMBOL(set_signals); | 
 | 27 | EXPORT_SYMBOL(get_signals); | 
 | 28 | EXPORT_SYMBOL(kernel_thread); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | EXPORT_SYMBOL(sys_waitpid); | 
 | 30 | EXPORT_SYMBOL(task_size); | 
 | 31 | EXPORT_SYMBOL(flush_tlb_range); | 
 | 32 | EXPORT_SYMBOL(host_task_size); | 
 | 33 | EXPORT_SYMBOL(arch_validate); | 
 | 34 | EXPORT_SYMBOL(get_kmem_end); | 
 | 35 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | EXPORT_SYMBOL(high_physmem); | 
 | 37 | EXPORT_SYMBOL(empty_zero_page); | 
 | 38 | EXPORT_SYMBOL(um_virt_to_phys); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | EXPORT_SYMBOL(mode_tt); | 
 | 40 | EXPORT_SYMBOL(handle_page_fault); | 
 | 41 | EXPORT_SYMBOL(find_iomem); | 
 | 42 | EXPORT_SYMBOL(end_iomem); | 
 | 43 |  | 
 | 44 | #ifdef CONFIG_MODE_TT | 
 | 45 | EXPORT_SYMBOL(strncpy_from_user_tt); | 
 | 46 | EXPORT_SYMBOL(copy_from_user_tt); | 
 | 47 | EXPORT_SYMBOL(copy_to_user_tt); | 
 | 48 | #endif | 
 | 49 |  | 
 | 50 | #ifdef CONFIG_MODE_SKAS | 
 | 51 | EXPORT_SYMBOL(strncpy_from_user_skas); | 
 | 52 | EXPORT_SYMBOL(copy_to_user_skas); | 
 | 53 | EXPORT_SYMBOL(copy_from_user_skas); | 
| Jeff Dike | 41a9cf8 | 2005-05-20 13:59:10 -0700 | [diff] [blame] | 54 | EXPORT_SYMBOL(clear_user_skas); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | #endif | 
 | 56 | EXPORT_SYMBOL(uml_strdup); | 
 | 57 |  | 
 | 58 | EXPORT_SYMBOL(os_stat_fd); | 
 | 59 | EXPORT_SYMBOL(os_stat_file); | 
 | 60 | EXPORT_SYMBOL(os_access); | 
 | 61 | EXPORT_SYMBOL(os_print_error); | 
 | 62 | EXPORT_SYMBOL(os_get_exec_close); | 
 | 63 | EXPORT_SYMBOL(os_set_exec_close); | 
 | 64 | EXPORT_SYMBOL(os_getpid); | 
 | 65 | EXPORT_SYMBOL(os_open_file); | 
 | 66 | EXPORT_SYMBOL(os_read_file); | 
 | 67 | EXPORT_SYMBOL(os_write_file); | 
 | 68 | EXPORT_SYMBOL(os_seek_file); | 
 | 69 | EXPORT_SYMBOL(os_lock_file); | 
 | 70 | EXPORT_SYMBOL(os_ioctl_generic); | 
 | 71 | EXPORT_SYMBOL(os_pipe); | 
 | 72 | EXPORT_SYMBOL(os_file_type); | 
 | 73 | EXPORT_SYMBOL(os_file_mode); | 
 | 74 | EXPORT_SYMBOL(os_file_size); | 
 | 75 | EXPORT_SYMBOL(os_flush_stdout); | 
 | 76 | EXPORT_SYMBOL(os_close_file); | 
 | 77 | EXPORT_SYMBOL(os_set_fd_async); | 
 | 78 | EXPORT_SYMBOL(os_set_fd_block); | 
 | 79 | EXPORT_SYMBOL(helper_wait); | 
 | 80 | EXPORT_SYMBOL(os_shutdown_socket); | 
 | 81 | EXPORT_SYMBOL(os_create_unix_socket); | 
 | 82 | EXPORT_SYMBOL(os_connect_socket); | 
 | 83 | EXPORT_SYMBOL(os_accept_connection); | 
 | 84 | EXPORT_SYMBOL(os_rcv_fd); | 
 | 85 | EXPORT_SYMBOL(run_helper); | 
 | 86 | EXPORT_SYMBOL(start_thread); | 
 | 87 | EXPORT_SYMBOL(dump_thread); | 
 | 88 |  | 
 | 89 | EXPORT_SYMBOL(do_gettimeofday); | 
 | 90 | EXPORT_SYMBOL(do_settimeofday); | 
 | 91 |  | 
 | 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 |  | 
 | 100 | #ifdef CONFIG_SMP | 
 | 101 |  | 
 | 102 | /* required for SMP */ | 
 | 103 |  | 
 | 104 | extern void FASTCALL( __write_lock_failed(rwlock_t *rw)); | 
 | 105 | EXPORT_SYMBOL(__write_lock_failed); | 
 | 106 |  | 
 | 107 | extern void FASTCALL( __read_lock_failed(rwlock_t *rw)); | 
 | 108 | EXPORT_SYMBOL(__read_lock_failed); | 
 | 109 |  | 
 | 110 | #endif |