2 Star 1 Fork 0

南宁橡芮科技有限公司/H6-BSP3.10-linux

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
smc_call.S 836 Bytes
Copy Edit Raw Blame History
Alex.Ma authored 2020-07-14 05:14 +08:00 . init
/*
* 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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nnxr/H6-BSP3.10-linux.git
git@gitee.com:nnxr/H6-BSP3.10-linux.git
nnxr
H6-BSP3.10-linux
H6-BSP3.10-linux
master

Search