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/delay.h"
14 #include "asm/processor.h"
15 #include "asm/unistd.h"
16 #include "asm/pgalloc.h"
17 #include "asm/pgtable.h"
19 #include "asm/tlbflush.h"
20 #include "kern_util.h"
21 #include "user_util.h"
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
);
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
);
53 EXPORT_SYMBOL(strncpy_from_user_tt
);
54 EXPORT_SYMBOL(copy_from_user_tt
);
55 EXPORT_SYMBOL(copy_to_user_tt
);
58 #ifdef CONFIG_MODE_SKAS
59 EXPORT_SYMBOL(strncpy_from_user_skas
);
60 EXPORT_SYMBOL(copy_to_user_skas
);
61 EXPORT_SYMBOL(copy_from_user_skas
);
63 EXPORT_SYMBOL(uml_strdup
);
65 EXPORT_SYMBOL(os_stat_fd
);
66 EXPORT_SYMBOL(os_stat_file
);
67 EXPORT_SYMBOL(os_access
);
68 EXPORT_SYMBOL(os_print_error
);
69 EXPORT_SYMBOL(os_get_exec_close
);
70 EXPORT_SYMBOL(os_set_exec_close
);
71 EXPORT_SYMBOL(os_getpid
);
72 EXPORT_SYMBOL(os_open_file
);
73 EXPORT_SYMBOL(os_read_file
);
74 EXPORT_SYMBOL(os_write_file
);
75 EXPORT_SYMBOL(os_seek_file
);
76 EXPORT_SYMBOL(os_lock_file
);
77 EXPORT_SYMBOL(os_ioctl_generic
);
78 EXPORT_SYMBOL(os_pipe
);
79 EXPORT_SYMBOL(os_file_type
);
80 EXPORT_SYMBOL(os_file_mode
);
81 EXPORT_SYMBOL(os_file_size
);
82 EXPORT_SYMBOL(os_flush_stdout
);
83 EXPORT_SYMBOL(os_close_file
);
84 EXPORT_SYMBOL(os_set_fd_async
);
85 EXPORT_SYMBOL(os_set_fd_block
);
86 EXPORT_SYMBOL(helper_wait
);
87 EXPORT_SYMBOL(os_shutdown_socket
);
88 EXPORT_SYMBOL(os_create_unix_socket
);
89 EXPORT_SYMBOL(os_connect_socket
);
90 EXPORT_SYMBOL(os_accept_connection
);
91 EXPORT_SYMBOL(os_rcv_fd
);
92 EXPORT_SYMBOL(run_helper
);
93 EXPORT_SYMBOL(start_thread
);
94 EXPORT_SYMBOL(dump_thread
);
96 EXPORT_SYMBOL(do_gettimeofday
);
97 EXPORT_SYMBOL(do_settimeofday
);
99 /* This is here because UML expands open to sys_open, not to a system
102 EXPORT_SYMBOL(sys_open
);
103 EXPORT_SYMBOL(sys_lseek
);
104 EXPORT_SYMBOL(sys_read
);
105 EXPORT_SYMBOL(sys_wait4
);
109 /* required for SMP */
111 extern void FASTCALL( __write_lock_failed(rwlock_t
*rw
));
112 EXPORT_SYMBOL(__write_lock_failed
);
114 extern void FASTCALL( __read_lock_failed(rwlock_t
*rw
));
115 EXPORT_SYMBOL(__read_lock_failed
);
119 #ifdef CONFIG_HIGHMEM
121 EXPORT_SYMBOL(kunmap
);
122 EXPORT_SYMBOL(kmap_atomic
);
123 EXPORT_SYMBOL(kunmap_atomic
);
124 EXPORT_SYMBOL(kmap_atomic_to_page
);
128 * Overrides for Emacs so that we follow Linus's tabbing style.
129 * Emacs will notice this stuff at the end of the file and automatically
130 * adjust the settings for this buffer only. This must remain at the end
132 * ---------------------------------------------------------------------------
134 * c-file-style: "linux"