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