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