blob: 2198afe40f338efae030e7516055cf2596936c6d [file] [log] [blame]
Bryan Wu1394f032007-05-06 14:50:22 -07001/*
2 * File: arch/blackfin/kernel/bfin_ksyms.c
3 * Based on: none - original work
4 * Author:
5 *
6 * Created:
7 * Description:
8 *
9 * Modified:
10 * Copyright 2004-2006 Analog Devices Inc.
11 *
12 * Bugs: Enter bugs at http://blackfin.uclinux.org/
13 *
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
18 *
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, see the file COPYING, or write
26 * to the Free Software Foundation, Inc.,
27 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 */
29
30#include <linux/module.h>
Mike Frysinger1f83b8f2007-07-12 22:58:21 +080031#include <linux/irq.h>
32#include <linux/uaccess.h>
33
Bryan Wu1394f032007-05-06 14:50:22 -070034#include <asm/checksum.h>
35#include <asm/cacheflush.h>
Bryan Wu1394f032007-05-06 14:50:22 -070036
37/* platform dependent support */
38
39EXPORT_SYMBOL(__ioremap);
40EXPORT_SYMBOL(strcmp);
41EXPORT_SYMBOL(strncmp);
42EXPORT_SYMBOL(dump_thread);
43
44EXPORT_SYMBOL(ip_fast_csum);
45
46EXPORT_SYMBOL(kernel_thread);
47
48EXPORT_SYMBOL(__up);
49EXPORT_SYMBOL(__down);
50EXPORT_SYMBOL(__down_trylock);
51EXPORT_SYMBOL(__down_interruptible);
52
53EXPORT_SYMBOL(is_in_rom);
54
55/* Networking helper routines. */
56EXPORT_SYMBOL(csum_partial_copy);
57
58/* The following are special because they're not called
59 * explicitly (the C compiler generates them). Fortunately,
60 * their interface isn't gonna change any time soon now, so
61 * it's OK to leave it out of version control.
62 */
Bernd Schmidtef4a47d2007-10-10 17:45:22 +080063EXPORT_SYMBOL(strcpy);
Bryan Wu1394f032007-05-06 14:50:22 -070064EXPORT_SYMBOL(memcpy);
65EXPORT_SYMBOL(memset);
66EXPORT_SYMBOL(memcmp);
67EXPORT_SYMBOL(memmove);
68EXPORT_SYMBOL(memchr);
69EXPORT_SYMBOL(get_wchan);
70
71/*
72 * libgcc functions - functions that are used internally by the
73 * compiler... (prototypes are not correct though, but that
74 * doesn't really matter since they're not versioned).
75 */
76extern void __ashldi3(void);
77extern void __ashrdi3(void);
78extern void __smulsi3_highpart(void);
79extern void __umulsi3_highpart(void);
80extern void __divsi3(void);
81extern void __lshrdi3(void);
82extern void __modsi3(void);
83extern void __muldi3(void);
84extern void __udivsi3(void);
85extern void __umodsi3(void);
86
87/* gcc lib functions */
88EXPORT_SYMBOL(__ashldi3);
89EXPORT_SYMBOL(__ashrdi3);
90EXPORT_SYMBOL(__umulsi3_highpart);
91EXPORT_SYMBOL(__smulsi3_highpart);
92EXPORT_SYMBOL(__divsi3);
93EXPORT_SYMBOL(__lshrdi3);
94EXPORT_SYMBOL(__modsi3);
95EXPORT_SYMBOL(__muldi3);
96EXPORT_SYMBOL(__udivsi3);
97EXPORT_SYMBOL(__umodsi3);
98
99EXPORT_SYMBOL(outsb);
100EXPORT_SYMBOL(insb);
101EXPORT_SYMBOL(outsw);
102EXPORT_SYMBOL(insw);
103EXPORT_SYMBOL(outsl);
104EXPORT_SYMBOL(insl);
105EXPORT_SYMBOL(irq_flags);
106EXPORT_SYMBOL(iounmap);
107EXPORT_SYMBOL(blackfin_dcache_invalidate_range);
108EXPORT_SYMBOL(blackfin_icache_dcache_flush_range);
109EXPORT_SYMBOL(blackfin_icache_flush_range);
110EXPORT_SYMBOL(blackfin_dcache_flush_range);
111EXPORT_SYMBOL(blackfin_dflush_page);
112
113EXPORT_SYMBOL(csum_partial);
114EXPORT_SYMBOL(__init_begin);
115EXPORT_SYMBOL(__init_end);
116EXPORT_SYMBOL(_ebss_l1);
117EXPORT_SYMBOL(_stext_l1);
118EXPORT_SYMBOL(_etext_l1);
119EXPORT_SYMBOL(_sdata_l1);
120EXPORT_SYMBOL(_ebss_b_l1);
121EXPORT_SYMBOL(_sdata_b_l1);