blob: 432cf0b97a138716b39360274a09e6d769b7fcfe [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);
Linus Torvalds1da177e2005-04-16 15:20:36 -070042
43#ifdef CONFIG_MODE_TT
44EXPORT_SYMBOL(strncpy_from_user_tt);
45EXPORT_SYMBOL(copy_from_user_tt);
46EXPORT_SYMBOL(copy_to_user_tt);
47#endif
48
49#ifdef CONFIG_MODE_SKAS
50EXPORT_SYMBOL(strncpy_from_user_skas);
51EXPORT_SYMBOL(copy_to_user_skas);
52EXPORT_SYMBOL(copy_from_user_skas);
Jeff Dike41a9cf82005-05-20 13:59:10 -070053EXPORT_SYMBOL(clear_user_skas);
Linus Torvalds1da177e2005-04-16 15:20:36 -070054#endif
55EXPORT_SYMBOL(uml_strdup);
56
57EXPORT_SYMBOL(os_stat_fd);
58EXPORT_SYMBOL(os_stat_file);
59EXPORT_SYMBOL(os_access);
60EXPORT_SYMBOL(os_print_error);
61EXPORT_SYMBOL(os_get_exec_close);
62EXPORT_SYMBOL(os_set_exec_close);
63EXPORT_SYMBOL(os_getpid);
64EXPORT_SYMBOL(os_open_file);
65EXPORT_SYMBOL(os_read_file);
66EXPORT_SYMBOL(os_write_file);
67EXPORT_SYMBOL(os_seek_file);
68EXPORT_SYMBOL(os_lock_file);
69EXPORT_SYMBOL(os_ioctl_generic);
70EXPORT_SYMBOL(os_pipe);
71EXPORT_SYMBOL(os_file_type);
72EXPORT_SYMBOL(os_file_mode);
73EXPORT_SYMBOL(os_file_size);
74EXPORT_SYMBOL(os_flush_stdout);
75EXPORT_SYMBOL(os_close_file);
76EXPORT_SYMBOL(os_set_fd_async);
77EXPORT_SYMBOL(os_set_fd_block);
78EXPORT_SYMBOL(helper_wait);
79EXPORT_SYMBOL(os_shutdown_socket);
80EXPORT_SYMBOL(os_create_unix_socket);
81EXPORT_SYMBOL(os_connect_socket);
82EXPORT_SYMBOL(os_accept_connection);
83EXPORT_SYMBOL(os_rcv_fd);
84EXPORT_SYMBOL(run_helper);
85EXPORT_SYMBOL(start_thread);
86EXPORT_SYMBOL(dump_thread);
87
88EXPORT_SYMBOL(do_gettimeofday);
89EXPORT_SYMBOL(do_settimeofday);
90
Paolo 'Blaisorblade' Giarrusso7c45ad12006-04-10 22:53:33 -070091/* This is here because UML expands lseek to sys_lseek, not to a system
Linus Torvalds1da177e2005-04-16 15:20:36 -070092 * call instruction.
93 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070094EXPORT_SYMBOL(sys_lseek);
Linus Torvalds1da177e2005-04-16 15:20:36 -070095EXPORT_SYMBOL(sys_wait4);
96
97#ifdef CONFIG_SMP
98
99/* required for SMP */
100
101extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
102EXPORT_SYMBOL(__write_lock_failed);
103
104extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
105EXPORT_SYMBOL(__read_lock_failed);
106
107#endif