hexagon_ksyms.c (1136B)
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 */ 14EXPORT_SYMBOL(__clear_user_hexagon); 15EXPORT_SYMBOL(raw_copy_from_user); 16EXPORT_SYMBOL(raw_copy_to_user); 17EXPORT_SYMBOL(iounmap); 18EXPORT_SYMBOL(__vmgetie); 19EXPORT_SYMBOL(__vmsetie); 20EXPORT_SYMBOL(__vmyield); 21EXPORT_SYMBOL(empty_zero_page); 22EXPORT_SYMBOL(ioremap); 23EXPORT_SYMBOL(memcpy); 24EXPORT_SYMBOL(memset); 25 26/* Additional variables */ 27EXPORT_SYMBOL(__phys_offset); 28EXPORT_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 */ 34DECLARE_EXPORT(__hexagon_memcpy_likely_aligned_min32bytes_mult8bytes); 35 36/* Additional functions */ 37DECLARE_EXPORT(__hexagon_divsi3); 38DECLARE_EXPORT(__hexagon_modsi3); 39DECLARE_EXPORT(__hexagon_udivsi3); 40DECLARE_EXPORT(__hexagon_umodsi3); 41DECLARE_EXPORT(csum_tcpudp_magic);