blob: 7713e7a6f476fcdf910a99565be74ccdb01828f5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 Torvalds1da177e2005-04-16 15:20:36 -070013#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 Torvalds1da177e2005-04-16 15:20:36 -070023
24EXPORT_SYMBOL(stop);
25EXPORT_SYMBOL(uml_physmem);
26EXPORT_SYMBOL(set_signals);
27EXPORT_SYMBOL(get_signals);
28EXPORT_SYMBOL(kernel_thread);
Linus Torvalds1da177e2005-04-16 15:20:36 -070029EXPORT_SYMBOL(sys_waitpid);
30EXPORT_SYMBOL(task_size);
31EXPORT_SYMBOL(flush_tlb_range);
32EXPORT_SYMBOL(host_task_size);
33EXPORT_SYMBOL(arch_validate);
34EXPORT_SYMBOL(get_kmem_end);
35
Linus Torvalds1da177e2005-04-16 15:20:36 -070036EXPORT_SYMBOL(high_physmem);
37EXPORT_SYMBOL(empty_zero_page);
38EXPORT_SYMBOL(um_virt_to_phys);
Linus Torvalds1da177e2005-04-16 15:20:36 -070039EXPORT_SYMBOL(mode_tt);
40EXPORT_SYMBOL(handle_page_fault);
41EXPORT_SYMBOL(find_iomem);
42EXPORT_SYMBOL(end_iomem);
43
44#ifdef CONFIG_MODE_TT
45EXPORT_SYMBOL(strncpy_from_user_tt);
46EXPORT_SYMBOL(copy_from_user_tt);
47EXPORT_SYMBOL(copy_to_user_tt);
48#endif
49
50#ifdef CONFIG_MODE_SKAS
51EXPORT_SYMBOL(strncpy_from_user_skas);
52EXPORT_SYMBOL(copy_to_user_skas);
53EXPORT_SYMBOL(copy_from_user_skas);
Jeff Dike41a9cf82005-05-20 13:59:10 -070054EXPORT_SYMBOL(clear_user_skas);
Linus Torvalds1da177e2005-04-16 15:20:36 -070055#endif
56EXPORT_SYMBOL(uml_strdup);
57
58EXPORT_SYMBOL(os_stat_fd);
59EXPORT_SYMBOL(os_stat_file);
60EXPORT_SYMBOL(os_access);
61EXPORT_SYMBOL(os_print_error);
62EXPORT_SYMBOL(os_get_exec_close);
63EXPORT_SYMBOL(os_set_exec_close);
64EXPORT_SYMBOL(os_getpid);
65EXPORT_SYMBOL(os_open_file);
66EXPORT_SYMBOL(os_read_file);
67EXPORT_SYMBOL(os_write_file);
68EXPORT_SYMBOL(os_seek_file);
69EXPORT_SYMBOL(os_lock_file);
70EXPORT_SYMBOL(os_ioctl_generic);
71EXPORT_SYMBOL(os_pipe);
72EXPORT_SYMBOL(os_file_type);
73EXPORT_SYMBOL(os_file_mode);
74EXPORT_SYMBOL(os_file_size);
75EXPORT_SYMBOL(os_flush_stdout);
76EXPORT_SYMBOL(os_close_file);
77EXPORT_SYMBOL(os_set_fd_async);
78EXPORT_SYMBOL(os_set_fd_block);
79EXPORT_SYMBOL(helper_wait);
80EXPORT_SYMBOL(os_shutdown_socket);
81EXPORT_SYMBOL(os_create_unix_socket);
82EXPORT_SYMBOL(os_connect_socket);
83EXPORT_SYMBOL(os_accept_connection);
84EXPORT_SYMBOL(os_rcv_fd);
85EXPORT_SYMBOL(run_helper);
86EXPORT_SYMBOL(start_thread);
87EXPORT_SYMBOL(dump_thread);
88
89EXPORT_SYMBOL(do_gettimeofday);
90EXPORT_SYMBOL(do_settimeofday);
91
92/* This is here because UML expands open to sys_open, not to a system
93 * call instruction.
94 */
95EXPORT_SYMBOL(sys_open);
96EXPORT_SYMBOL(sys_lseek);
97EXPORT_SYMBOL(sys_read);
98EXPORT_SYMBOL(sys_wait4);
99
100#ifdef CONFIG_SMP
101
102/* required for SMP */
103
104extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
105EXPORT_SYMBOL(__write_lock_failed);
106
107extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
108EXPORT_SYMBOL(__read_lock_failed);
109
110#endif