aboutsummaryrefslogtreecommitdiffstats
path: root/arch/h8300/kernel/h8300_ksyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/h8300/kernel/h8300_ksyms.c')
-rw-r--r--arch/h8300/kernel/h8300_ksyms.c112
1 files changed, 112 insertions, 0 deletions
diff --git a/arch/h8300/kernel/h8300_ksyms.c b/arch/h8300/kernel/h8300_ksyms.c
new file mode 100644
index 000000000000..5a630233112f
--- /dev/null
+++ b/arch/h8300/kernel/h8300_ksyms.c
@@ -0,0 +1,112 @@
1#include <linux/module.h>
2#include <linux/linkage.h>
3#include <linux/sched.h>
4#include <linux/string.h>
5#include <linux/mm.h>
6#include <linux/user.h>
7#include <linux/elfcore.h>
8#include <linux/in6.h>
9#include <linux/interrupt.h>
10#include <linux/config.h>
11
12#include <asm/setup.h>
13#include <asm/pgalloc.h>
14#include <asm/irq.h>
15#include <asm/io.h>
16#include <asm/semaphore.h>
17#include <asm/checksum.h>
18#include <asm/current.h>
19#include <asm/gpio.h>
20
21//asmlinkage long long __ashrdi3 (long long, int);
22//asmlinkage long long __lshrdi3 (long long, int);
23extern char h8300_debug_device[];
24
25extern void dump_thread(struct pt_regs *, struct user *);
26
27/* platform dependent support */
28
29EXPORT_SYMBOL(dump_thread);
30EXPORT_SYMBOL(strnlen);
31EXPORT_SYMBOL(strrchr);
32EXPORT_SYMBOL(strstr);
33EXPORT_SYMBOL(strchr);
34EXPORT_SYMBOL(strcat);
35EXPORT_SYMBOL(strlen);
36EXPORT_SYMBOL(strcmp);
37EXPORT_SYMBOL(strncmp);
38
39EXPORT_SYMBOL(ip_fast_csum);
40
41EXPORT_SYMBOL(kernel_thread);
42EXPORT_SYMBOL(enable_irq);
43EXPORT_SYMBOL(disable_irq);
44
45/* Networking helper routines. */
46EXPORT_SYMBOL(csum_partial_copy);
47
48/* The following are special because they're not called
49 explicitly (the C compiler generates them). Fortunately,
50 their interface isn't gonna change any time soon now, so
51 it's OK to leave it out of version control. */
52//EXPORT_SYMBOL(__ashrdi3);
53//EXPORT_SYMBOL(__lshrdi3);
54EXPORT_SYMBOL(memcpy);
55EXPORT_SYMBOL(memset);
56EXPORT_SYMBOL(memcmp);
57EXPORT_SYMBOL(memscan);
58EXPORT_SYMBOL(memmove);
59
60EXPORT_SYMBOL(get_wchan);
61
62/*
63 * libgcc functions - functions that are used internally by the
64 * compiler... (prototypes are not correct though, but that
65 * doesn't really matter since they're not versioned).
66 */
67extern void __gcc_bcmp(void);
68extern void __ashldi3(void);
69extern void __ashrdi3(void);
70extern void __cmpdi2(void);
71extern void __divdi3(void);
72extern void __divsi3(void);
73extern void __lshrdi3(void);
74extern void __moddi3(void);
75extern void __modsi3(void);
76extern void __muldi3(void);
77extern void __mulsi3(void);
78extern void __negdi2(void);
79extern void __ucmpdi2(void);
80extern void __udivdi3(void);
81extern void __udivmoddi4(void);
82extern void __udivsi3(void);
83extern void __umoddi3(void);
84extern void __umodsi3(void);
85
86 /* gcc lib functions */
87EXPORT_SYMBOL(__gcc_bcmp);
88EXPORT_SYMBOL(__ashldi3);
89EXPORT_SYMBOL(__ashrdi3);
90EXPORT_SYMBOL(__cmpdi2);
91EXPORT_SYMBOL(__divdi3);
92EXPORT_SYMBOL(__divsi3);
93EXPORT_SYMBOL(__lshrdi3);
94EXPORT_SYMBOL(__moddi3);
95EXPORT_SYMBOL(__modsi3);
96EXPORT_SYMBOL(__muldi3);
97EXPORT_SYMBOL(__mulsi3);
98EXPORT_SYMBOL(__negdi2);
99EXPORT_SYMBOL(__ucmpdi2);
100EXPORT_SYMBOL(__udivdi3);
101EXPORT_SYMBOL(__udivmoddi4);
102EXPORT_SYMBOL(__udivsi3);
103EXPORT_SYMBOL(__umoddi3);
104EXPORT_SYMBOL(__umodsi3);
105
106#ifdef MAGIC_ROM_PTR
107EXPORT_SYMBOL(is_in_rom);
108#endif
109
110EXPORT_SYMBOL(h8300_reserved_gpio);
111EXPORT_SYMBOL(h8300_free_gpio);
112EXPORT_SYMBOL(h8300_set_gpio_dir);