1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Export of symbols defined in assembly files and/or libgcc.
4  *
5  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
6  */
7 
8 #include <linux/dma-mapping.h>
9 #include <asm/hexagon_vm.h>
10 #include <asm/io.h>
11 #include <linux/uaccess.h>
12 
13 /* Additional functions */
14 EXPORT_SYMBOL(__clear_user_hexagon);
15 EXPORT_SYMBOL(raw_copy_from_user);
16 EXPORT_SYMBOL(raw_copy_to_user);
17 EXPORT_SYMBOL(iounmap);
18 EXPORT_SYMBOL(__strnlen_user);
19 EXPORT_SYMBOL(__vmgetie);
20 EXPORT_SYMBOL(__vmsetie);
21 EXPORT_SYMBOL(__vmyield);
22 EXPORT_SYMBOL(empty_zero_page);
23 EXPORT_SYMBOL(ioremap);
24 EXPORT_SYMBOL(memcpy);
25 EXPORT_SYMBOL(memset);
26 
27 /* Additional variables */
28 EXPORT_SYMBOL(__phys_offset);
29 EXPORT_SYMBOL(_dflt_cache_att);
30 
31 #define DECLARE_EXPORT(name)     \
32 	extern void name(void); EXPORT_SYMBOL(name)
33 
34 /* Symbols found in libgcc that assorted kernel modules need */
35 DECLARE_EXPORT(__hexagon_memcpy_likely_aligned_min32bytes_mult8bytes);
36 
37 /* Additional functions */
38 DECLARE_EXPORT(__hexagon_divsi3);
39 DECLARE_EXPORT(__hexagon_modsi3);
40 DECLARE_EXPORT(__hexagon_udivsi3);
41 DECLARE_EXPORT(__hexagon_umodsi3);
42 DECLARE_EXPORT(csum_tcpudp_magic);
43