2 * Copyright (C) 2001 - 2004 Jeff Dike (jdike@addtoit.com)
3 * Licensed under the GPL
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/processor.h"
14 #include "asm/unistd.h"
15 #include "asm/pgalloc.h"
16 #include "asm/pgtable.h"
18 #include "asm/tlbflush.h"
19 #include "kern_util.h"
20 #include "user_util.h"
26 EXPORT_SYMBOL(uml_physmem);
27 EXPORT_SYMBOL(set_signals);
28 EXPORT_SYMBOL(get_signals);
29 EXPORT_SYMBOL(kernel_thread);
30 EXPORT_SYMBOL(sys_waitpid);
31 EXPORT_SYMBOL(task_size);
32 EXPORT_SYMBOL(flush_tlb_range);
33 EXPORT_SYMBOL(host_task_size);
34 EXPORT_SYMBOL(arch_validate);
35 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);
51 EXPORT_SYMBOL(strncpy_from_user_tt);
52 EXPORT_SYMBOL(copy_from_user_tt);
53 EXPORT_SYMBOL(copy_to_user_tt);
56 #ifdef CONFIG_MODE_SKAS
57 EXPORT_SYMBOL(strncpy_from_user_skas);
58 EXPORT_SYMBOL(copy_to_user_skas);
59 EXPORT_SYMBOL(copy_from_user_skas);
61 EXPORT_SYMBOL(uml_strdup);
63 EXPORT_SYMBOL(os_stat_fd);
64 EXPORT_SYMBOL(os_stat_file);
65 EXPORT_SYMBOL(os_access);
66 EXPORT_SYMBOL(os_print_error);
67 EXPORT_SYMBOL(os_get_exec_close);
68 EXPORT_SYMBOL(os_set_exec_close);
69 EXPORT_SYMBOL(os_getpid);
70 EXPORT_SYMBOL(os_open_file);
71 EXPORT_SYMBOL(os_read_file);
72 EXPORT_SYMBOL(os_write_file);
73 EXPORT_SYMBOL(os_seek_file);
74 EXPORT_SYMBOL(os_lock_file);
75 EXPORT_SYMBOL(os_ioctl_generic);
76 EXPORT_SYMBOL(os_pipe);
77 EXPORT_SYMBOL(os_file_type);
78 EXPORT_SYMBOL(os_file_mode);
79 EXPORT_SYMBOL(os_file_size);
80 EXPORT_SYMBOL(os_flush_stdout);
81 EXPORT_SYMBOL(os_close_file);
82 EXPORT_SYMBOL(os_set_fd_async);
83 EXPORT_SYMBOL(os_set_fd_block);
84 EXPORT_SYMBOL(helper_wait);
85 EXPORT_SYMBOL(os_shutdown_socket);
86 EXPORT_SYMBOL(os_create_unix_socket);
87 EXPORT_SYMBOL(os_connect_socket);
88 EXPORT_SYMBOL(os_accept_connection);
89 EXPORT_SYMBOL(os_rcv_fd);
90 EXPORT_SYMBOL(run_helper);
91 EXPORT_SYMBOL(start_thread);
92 EXPORT_SYMBOL(dump_thread);
94 EXPORT_SYMBOL(do_gettimeofday);
95 EXPORT_SYMBOL(do_settimeofday);
97 /* This is here because UML expands open to sys_open, not to a system
100 EXPORT_SYMBOL(sys_open);
101 EXPORT_SYMBOL(sys_lseek);
102 EXPORT_SYMBOL(sys_read);
103 EXPORT_SYMBOL(sys_wait4);
107 /* required for SMP */
109 extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
110 EXPORT_SYMBOL(__write_lock_failed);
112 extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
113 EXPORT_SYMBOL(__read_lock_failed);
117 #ifdef CONFIG_HIGHMEM
119 EXPORT_SYMBOL(kunmap);
120 EXPORT_SYMBOL(kmap_atomic);
121 EXPORT_SYMBOL(kunmap_atomic);
122 EXPORT_SYMBOL(kmap_atomic_to_page);
126 * Overrides for Emacs so that we follow Linus's tabbing style.
127 * Emacs will notice this stuff at the end of the file and automatically
128 * adjust the settings for this buffer only. This must remain at the end
130 * ---------------------------------------------------------------------------
132 * c-file-style: "linux"