aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/kernel/crisksyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/kernel/crisksyms.c')
-rw-r--r--arch/cris/kernel/crisksyms.c103
1 files changed, 103 insertions, 0 deletions
diff --git a/arch/cris/kernel/crisksyms.c b/arch/cris/kernel/crisksyms.c
new file mode 100644
index 000000000000..7141bbecd7e4
--- /dev/null
+++ b/arch/cris/kernel/crisksyms.c
@@ -0,0 +1,103 @@
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>
6#include <linux/in6.h>
7#include <linux/interrupt.h>
8#include <linux/smp_lock.h>
9#include <linux/pm.h>
10#include <linux/kernel.h>
11#include <linux/string.h>
12#include <linux/tty.h>
13
14#include <asm/semaphore.h>
15#include <asm/processor.h>
16#include <asm/uaccess.h>
17#include <asm/checksum.h>
18#include <asm/io.h>
19#include <asm/delay.h>
20#include <asm/irq.h>
21#include <asm/pgtable.h>
22#include <asm/fasttimer.h>
23
24extern void dump_thread(struct pt_regs *, struct user *);
25extern unsigned long get_cmos_time(void);
26extern void __Udiv(void);
27extern void __Umod(void);
28extern void __Div(void);
29extern void __Mod(void);
30extern void __ashrdi3(void);
31extern void iounmap(void *addr);
32
33/* Platform dependent support */
34EXPORT_SYMBOL(dump_thread);
35EXPORT_SYMBOL(enable_irq);
36EXPORT_SYMBOL(disable_irq);
37EXPORT_SYMBOL(kernel_thread);
38EXPORT_SYMBOL(get_cmos_time);
39EXPORT_SYMBOL(loops_per_usec);
40
41/* String functions */
42EXPORT_SYMBOL(memcmp);
43EXPORT_SYMBOL(memmove);
44EXPORT_SYMBOL(strpbrk);
45EXPORT_SYMBOL(strstr);
46EXPORT_SYMBOL(strcpy);
47EXPORT_SYMBOL(strchr);
48EXPORT_SYMBOL(strcmp);
49EXPORT_SYMBOL(strlen);
50EXPORT_SYMBOL(strcat);
51EXPORT_SYMBOL(strncat);
52EXPORT_SYMBOL(strncmp);
53EXPORT_SYMBOL(strncpy);
54
55/* Math functions */
56EXPORT_SYMBOL(__Udiv);
57EXPORT_SYMBOL(__Umod);
58EXPORT_SYMBOL(__Div);
59EXPORT_SYMBOL(__Mod);
60EXPORT_SYMBOL(__ashrdi3);
61
62/* Memory functions */
63EXPORT_SYMBOL(__ioremap);
64EXPORT_SYMBOL(iounmap);
65
66/* Semaphore functions */
67EXPORT_SYMBOL(__up);
68EXPORT_SYMBOL(__down);
69EXPORT_SYMBOL(__down_interruptible);
70EXPORT_SYMBOL(__down_trylock);
71
72/* Export shadow registers for the CPU I/O pins */
73EXPORT_SYMBOL(genconfig_shadow);
74EXPORT_SYMBOL(port_pa_data_shadow);
75EXPORT_SYMBOL(port_pa_dir_shadow);
76EXPORT_SYMBOL(port_pb_data_shadow);
77EXPORT_SYMBOL(port_pb_dir_shadow);
78EXPORT_SYMBOL(port_pb_config_shadow);
79EXPORT_SYMBOL(port_g_data_shadow);
80
81/* Userspace access functions */
82EXPORT_SYMBOL(__copy_user_zeroing);
83EXPORT_SYMBOL(__copy_user);
84
85/* Cache flush functions */
86EXPORT_SYMBOL(flush_etrax_cache);
87EXPORT_SYMBOL(prepare_rx_descriptor);
88
89#undef memcpy
90#undef memset
91extern void * memset(void *, int, __kernel_size_t);
92extern void * memcpy(void *, const void *, __kernel_size_t);
93EXPORT_SYMBOL(memcpy);
94EXPORT_SYMBOL(memset);
95
96#ifdef CONFIG_ETRAX_FAST_TIMER
97/* Fast timer functions */
98EXPORT_SYMBOL(fast_timer_list);
99EXPORT_SYMBOL(start_one_shot_timer);
100EXPORT_SYMBOL(del_fast_timer);
101EXPORT_SYMBOL(schedule_usleep);
102#endif
103