2012-03-05 11:49:33 +00: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 14:44:32 +00:00
|
|
|
#include <linux/arm-smccc.h>
|
2012-03-05 11:49:33 +00:00
|
|
|
|
|
|
|
#include <asm/checksum.h>
|
|
|
|
|
|
|
|
EXPORT_SYMBOL(copy_page);
|
2013-05-20 07:12:57 +00:00
|
|
|
EXPORT_SYMBOL(clear_page);
|
2012-03-05 11:49:33 +00:00
|
|
|
|
2013-11-06 17:20:22 +00:00
|
|
|
/* user mem (segment) */
|
2012-03-05 11:49:33 +00:00
|
|
|
EXPORT_SYMBOL(__copy_from_user);
|
|
|
|
EXPORT_SYMBOL(__copy_to_user);
|
|
|
|
EXPORT_SYMBOL(__clear_user);
|
2013-10-07 15:42:05 +00:00
|
|
|
EXPORT_SYMBOL(__copy_in_user);
|
2012-03-05 11:49:33 +00:00
|
|
|
|
|
|
|
/* physical memory */
|
|
|
|
EXPORT_SYMBOL(memstart_addr);
|
2013-03-21 16:16:43 +00:00
|
|
|
|
|
|
|
/* string / mem functions */
|
2013-03-21 16:23:43 +00:00
|
|
|
EXPORT_SYMBOL(strchr);
|
|
|
|
EXPORT_SYMBOL(strrchr);
|
2014-04-28 05:11:33 +00:00
|
|
|
EXPORT_SYMBOL(strcmp);
|
|
|
|
EXPORT_SYMBOL(strncmp);
|
2014-04-28 05:11:34 +00:00
|
|
|
EXPORT_SYMBOL(strlen);
|
|
|
|
EXPORT_SYMBOL(strnlen);
|
2013-03-21 16:16:43 +00:00
|
|
|
EXPORT_SYMBOL(memset);
|
|
|
|
EXPORT_SYMBOL(memcpy);
|
|
|
|
EXPORT_SYMBOL(memmove);
|
2015-10-12 15:52:58 +00:00
|
|
|
EXPORT_SYMBOL(__memset);
|
|
|
|
EXPORT_SYMBOL(__memcpy);
|
|
|
|
EXPORT_SYMBOL(__memmove);
|
2013-03-21 16:16:43 +00:00
|
|
|
EXPORT_SYMBOL(memchr);
|
2014-04-28 05:11:32 +00:00
|
|
|
EXPORT_SYMBOL(memcmp);
|
2013-03-21 16:28:47 +00: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 09:54:33 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
EXPORT_SYMBOL(_mcount);
|
|
|
|
#endif
|
2016-01-04 14:44:32 +00:00
|
|
|
|
|
|
|
/* arm-smccc */
|
|
|
|
EXPORT_SYMBOL(arm_smccc_smc);
|
|
|
|
EXPORT_SYMBOL(arm_smccc_hvc);
|