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(__vmgetie);
19 EXPORT_SYMBOL(__vmsetie);
20 EXPORT_SYMBOL(__vmyield);
21 EXPORT_SYMBOL(empty_zero_page);
22 EXPORT_SYMBOL(ioremap);
23 EXPORT_SYMBOL(memcpy);
24 EXPORT_SYMBOL(memset);
25 
26 /* Additional variables */
27 EXPORT_SYMBOL(__phys_offset);
28 EXPORT_SYMBOL(_dflt_cache_att);
29 
30 #define DECLARE_EXPORT(name)     \
31 	extern void name(void); EXPORT_SYMBOL(name)
32 
33 /* Symbols found in libgcc that assorted kernel modules need */
34 DECLARE_EXPORT(__hexagon_memcpy_likely_aligned_min32bytes_mult8bytes);
35 
36 /* Additional functions */
37 DECLARE_EXPORT(__hexagon_divsi3);
38 DECLARE_EXPORT(__hexagon_modsi3);
39 DECLARE_EXPORT(__hexagon_udivsi3);
40 DECLARE_EXPORT(__hexagon_umodsi3);
41 DECLARE_EXPORT(csum_tcpudp_magic);
42