aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/ksyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/ksyms.c')
-rw-r--r--arch/um/kernel/ksyms.c137
1 files changed, 137 insertions, 0 deletions
diff --git a/arch/um/kernel/ksyms.c b/arch/um/kernel/ksyms.c
new file mode 100644
index 000000000000..b41d3397d07b
--- /dev/null
+++ b/arch/um/kernel/ksyms.c
@@ -0,0 +1,137 @@
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
26EXPORT_SYMBOL(stop);
27EXPORT_SYMBOL(uml_physmem);
28EXPORT_SYMBOL(set_signals);
29EXPORT_SYMBOL(get_signals);
30EXPORT_SYMBOL(kernel_thread);
31EXPORT_SYMBOL(__const_udelay);
32EXPORT_SYMBOL(__udelay);
33EXPORT_SYMBOL(sys_waitpid);
34EXPORT_SYMBOL(task_size);
35EXPORT_SYMBOL(flush_tlb_range);
36EXPORT_SYMBOL(host_task_size);
37EXPORT_SYMBOL(arch_validate);
38EXPORT_SYMBOL(get_kmem_end);
39
40EXPORT_SYMBOL(page_to_phys);
41EXPORT_SYMBOL(phys_to_page);
42EXPORT_SYMBOL(high_physmem);
43EXPORT_SYMBOL(empty_zero_page);
44EXPORT_SYMBOL(um_virt_to_phys);
45EXPORT_SYMBOL(__virt_to_page);
46EXPORT_SYMBOL(to_phys);
47EXPORT_SYMBOL(to_virt);
48EXPORT_SYMBOL(mode_tt);
49EXPORT_SYMBOL(handle_page_fault);
50EXPORT_SYMBOL(find_iomem);
51EXPORT_SYMBOL(end_iomem);
52
53#ifdef CONFIG_MODE_TT
54EXPORT_SYMBOL(strncpy_from_user_tt);
55EXPORT_SYMBOL(copy_from_user_tt);
56EXPORT_SYMBOL(copy_to_user_tt);
57#endif
58
59#ifdef CONFIG_MODE_SKAS
60EXPORT_SYMBOL(strncpy_from_user_skas);
61EXPORT_SYMBOL(copy_to_user_skas);
62EXPORT_SYMBOL(copy_from_user_skas);
63#endif
64EXPORT_SYMBOL(uml_strdup);
65
66EXPORT_SYMBOL(os_stat_fd);
67EXPORT_SYMBOL(os_stat_file);
68EXPORT_SYMBOL(os_access);
69EXPORT_SYMBOL(os_print_error);
70EXPORT_SYMBOL(os_get_exec_close);
71EXPORT_SYMBOL(os_set_exec_close);
72EXPORT_SYMBOL(os_getpid);
73EXPORT_SYMBOL(os_open_file);
74EXPORT_SYMBOL(os_read_file);
75EXPORT_SYMBOL(os_write_file);
76EXPORT_SYMBOL(os_seek_file);
77EXPORT_SYMBOL(os_lock_file);
78EXPORT_SYMBOL(os_ioctl_generic);
79EXPORT_SYMBOL(os_pipe);
80EXPORT_SYMBOL(os_file_type);
81EXPORT_SYMBOL(os_file_mode);
82EXPORT_SYMBOL(os_file_size);
83EXPORT_SYMBOL(os_flush_stdout);
84EXPORT_SYMBOL(os_close_file);
85EXPORT_SYMBOL(os_set_fd_async);
86EXPORT_SYMBOL(os_set_fd_block);
87EXPORT_SYMBOL(helper_wait);
88EXPORT_SYMBOL(os_shutdown_socket);
89EXPORT_SYMBOL(os_create_unix_socket);
90EXPORT_SYMBOL(os_connect_socket);
91EXPORT_SYMBOL(os_accept_connection);
92EXPORT_SYMBOL(os_rcv_fd);
93EXPORT_SYMBOL(run_helper);
94EXPORT_SYMBOL(start_thread);
95EXPORT_SYMBOL(dump_thread);
96
97EXPORT_SYMBOL(do_gettimeofday);
98EXPORT_SYMBOL(do_settimeofday);
99
100/* This is here because UML expands open to sys_open, not to a system
101 * call instruction.
102 */
103EXPORT_SYMBOL(sys_open);
104EXPORT_SYMBOL(sys_lseek);
105EXPORT_SYMBOL(sys_read);
106EXPORT_SYMBOL(sys_wait4);
107
108#ifdef CONFIG_SMP
109
110/* required for SMP */
111
112extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
113EXPORT_SYMBOL(__write_lock_failed);
114
115extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
116EXPORT_SYMBOL(__read_lock_failed);
117
118#endif
119
120#ifdef CONFIG_HIGHMEM
121EXPORT_SYMBOL(kmap);
122EXPORT_SYMBOL(kunmap);
123EXPORT_SYMBOL(kmap_atomic);
124EXPORT_SYMBOL(kunmap_atomic);
125EXPORT_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 */