Fetch the repository succeeded.
/*
* 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.
*
* Copyright (C) 2015 Allwinner Tech Limited
*
* Author: sunny <sunny@allwinnertech.com>
*/
#include <linux/linkage.h>
/* int invoke_smc_fn(u32 function_id, u64 arg0, u64 arg1, u64 arg2) */
#ifdef CONFIG_ARM
#include <asm/opcodes-sec.h>
ENTRY(invoke_smc_fn)
__SMC(0)
bx lr
ENDPROC(invoke_smc_fn)
#endif
#ifdef CONFIG_ARM64
ENTRY(invoke_smc_fn)
smc #0
ret
ENDPROC(invoke_smc_fn)
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。