1 #include <linux/config.h>
2 #include <linux/module.h>
3 #include <linux/user.h>
4 #include <linux/elfcore.h>
5 #include <linux/sched.h>
7 #include <linux/interrupt.h>
8 #include <linux/smp_lock.h>
10 #include <linux/kernel.h>
11 #include <linux/string.h>
12 #include <linux/tty.h>
14 #include <asm/semaphore.h>
15 #include <asm/processor.h>
16 #include <asm/uaccess.h>
17 #include <asm/checksum.h>
19 #include <asm/delay.h>
21 #include <asm/pgtable.h>
22 #include <asm/fasttimer.h>
24 extern void dump_thread(struct pt_regs
*, struct user
*);
25 extern unsigned long get_cmos_time(void);
26 extern void __Udiv(void);
27 extern void __Umod(void);
28 extern void __Div(void);
29 extern void __Mod(void);
30 extern void __ashldi3(void);
31 extern void __ashrdi3(void);
32 extern void __lshrdi3(void);
33 extern void iounmap(volatile void * __iomem
);
35 /* Platform dependent support */
36 EXPORT_SYMBOL(dump_thread
);
37 EXPORT_SYMBOL(kernel_thread
);
38 EXPORT_SYMBOL(get_cmos_time
);
39 EXPORT_SYMBOL(loops_per_usec
);
41 /* String functions */
42 EXPORT_SYMBOL(memcmp
);
43 EXPORT_SYMBOL(memmove
);
44 EXPORT_SYMBOL(strpbrk
);
45 EXPORT_SYMBOL(strstr
);
46 EXPORT_SYMBOL(strcpy
);
47 EXPORT_SYMBOL(strchr
);
48 EXPORT_SYMBOL(strcmp
);
49 EXPORT_SYMBOL(strlen
);
50 EXPORT_SYMBOL(strcat
);
51 EXPORT_SYMBOL(strncat
);
52 EXPORT_SYMBOL(strncmp
);
53 EXPORT_SYMBOL(strncpy
);
56 EXPORT_SYMBOL(__Udiv
);
57 EXPORT_SYMBOL(__Umod
);
60 EXPORT_SYMBOL(__ashldi3
);
61 EXPORT_SYMBOL(__ashrdi3
);
62 EXPORT_SYMBOL(__lshrdi3
);
64 /* Memory functions */
65 EXPORT_SYMBOL(__ioremap
);
66 EXPORT_SYMBOL(iounmap
);
68 /* Semaphore functions */
70 EXPORT_SYMBOL(__down
);
71 EXPORT_SYMBOL(__down_interruptible
);
72 EXPORT_SYMBOL(__down_trylock
);
74 /* Userspace access functions */
75 EXPORT_SYMBOL(__copy_user_zeroing
);
76 EXPORT_SYMBOL(__copy_user
);
80 extern void * memset(void *, int, __kernel_size_t
);
81 extern void * memcpy(void *, const void *, __kernel_size_t
);
82 EXPORT_SYMBOL(memcpy
);
83 EXPORT_SYMBOL(memset
);
85 #ifdef CONFIG_ETRAX_FAST_TIMER
86 /* Fast timer functions */
87 EXPORT_SYMBOL(fast_timer_list
);
88 EXPORT_SYMBOL(start_one_shot_timer
);
89 EXPORT_SYMBOL(del_fast_timer
);
90 EXPORT_SYMBOL(schedule_usleep
);