2012-03-05 18:49:33 +07:00
|
|
|
/*
|
|
|
|
* Based on arch/arm/kernel/armksyms.c
|
|
|
|
*
|
|
|
|
* Copyright (C) 2000 Russell King
|
|
|
|
* Copyright (C) 2012 ARM Ltd.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/export.h>
|
|
|
|
#include <linux/sched.h>
|
|
|
|
#include <linux/string.h>
|
|
|
|
#include <linux/cryptohash.h>
|
|
|
|
#include <linux/delay.h>
|
|
|
|
#include <linux/in6.h>
|
|
|
|
#include <linux/syscalls.h>
|
|
|
|
#include <linux/uaccess.h>
|
|
|
|
#include <linux/io.h>
|
2016-01-04 21:44:32 +07:00
|
|
|
#include <linux/arm-smccc.h>
|
2012-03-05 18:49:33 +07:00
|
|
|
|
|
|
|
#include <asm/checksum.h>
|
|
|
|
|
|
|
|
EXPORT_SYMBOL(copy_page);
|
2013-05-20 14:12:57 +07:00
|
|
|
EXPORT_SYMBOL(clear_page);
|
2012-03-05 18:49:33 +07:00
|
|
|
|
2013-11-07 00:20:22 +07:00
|
|
|
/* user mem (segment) */
|
2012-03-05 18:49:33 +07:00
|
|
|
EXPORT_SYMBOL(__copy_from_user);
|
|
|
|
EXPORT_SYMBOL(__copy_to_user);
|
|
|
|
EXPORT_SYMBOL(__clear_user);
|
2013-10-07 22:42:05 +07:00
|
|
|
EXPORT_SYMBOL(__copy_in_user);
|
2012-03-05 18:49:33 +07:00
|
|
|
|
|
|
|
/* physical memory */
|
|
|
|
EXPORT_SYMBOL(memstart_addr);
|
2013-03-21 23:16:43 +07:00
|
|
|
|
|
|
|
/* string / mem functions */
|
2013-03-21 23:23:43 +07:00
|
|
|
EXPORT_SYMBOL(strchr);
|
|
|
|
EXPORT_SYMBOL(strrchr);
|
2014-04-28 12:11:33 +07:00
|
|
|
EXPORT_SYMBOL(strcmp);
|
|
|
|
EXPORT_SYMBOL(strncmp);
|
2014-04-28 12:11:34 +07:00
|
|
|
EXPORT_SYMBOL(strlen);
|
|
|
|
EXPORT_SYMBOL(strnlen);
|
2013-03-21 23:16:43 +07:00
|
|
|
EXPORT_SYMBOL(memset);
|
|
|
|
EXPORT_SYMBOL(memcpy);
|
|
|
|
EXPORT_SYMBOL(memmove);
|
2015-10-12 22:52:58 +07:00
|
|
|
EXPORT_SYMBOL(__memset);
|
|
|
|
EXPORT_SYMBOL(__memcpy);
|
|
|
|
EXPORT_SYMBOL(__memmove);
|
2013-03-21 23:16:43 +07:00
|
|
|
EXPORT_SYMBOL(memchr);
|
2014-04-28 12:11:32 +07:00
|
|
|
EXPORT_SYMBOL(memcmp);
|
2013-03-21 23:28:47 +07:00
|
|
|
|
|
|
|
/* atomic bitops */
|
|
|
|
EXPORT_SYMBOL(set_bit);
|
|
|
|
EXPORT_SYMBOL(test_and_set_bit);
|
|
|
|
EXPORT_SYMBOL(clear_bit);
|
|
|
|
EXPORT_SYMBOL(test_and_clear_bit);
|
|
|
|
EXPORT_SYMBOL(change_bit);
|
|
|
|
EXPORT_SYMBOL(test_and_change_bit);
|
2014-04-30 16:54:33 +07:00
|
|
|
|
|
|
|
#ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
EXPORT_SYMBOL(_mcount);
|
|
|
|
#endif
|
2016-01-04 21:44:32 +07:00
|
|
|
|
|
|
|
/* arm-smccc */
|
|
|
|
EXPORT_SYMBOL(arm_smccc_smc);
|
|
|
|
EXPORT_SYMBOL(arm_smccc_hvc);
|