xref: /rk3399_rockchip-uboot/include/optee_include/OpteeClientRPC.h (revision 10adce6ab7d0e77e93532d48d086965391446d25)
1abdd2437Shisping /*
2abdd2437Shisping  * Copyright 2017, Rockchip Electronics Co., Ltd
3abdd2437Shisping  * hisping lin, <hisping.lin@rock-chips.com>
4abdd2437Shisping  *
5abdd2437Shisping  * SPDX-License-Identifier:	GPL-2.0+
6abdd2437Shisping  */
7*7b9ee69bSHisping Lin #ifndef _OPTEE_CLIENT_RPC_H_
8*7b9ee69bSHisping Lin #define _OPTEE_CLIENT_RPC_H_
9*7b9ee69bSHisping Lin 
10abdd2437Shisping #include <optee_include/tee_base_types.h>
11abdd2437Shisping #include <optee_include/OpteeClientApiLib.h>
12abdd2437Shisping 
13abdd2437Shisping typedef struct{
14abdd2437Shisping 	unsigned int Arg0;
15abdd2437Shisping 	unsigned int Arg1;
16abdd2437Shisping 	unsigned int Arg2;
17abdd2437Shisping 	unsigned int Arg3;
18abdd2437Shisping 	unsigned int Arg4;
19abdd2437Shisping 	unsigned int Arg5;
20abdd2437Shisping 	unsigned int Arg6;
21abdd2437Shisping 	unsigned int Arg7;
22abdd2437Shisping } ARM_SMC_ARGS;
23abdd2437Shisping 
24abdd2437Shisping TEEC_Result OpteeRpcCallback(ARM_SMC_ARGS *ArmSmcArgs);
25*7b9ee69bSHisping Lin 
26*7b9ee69bSHisping Lin #endif /*_OPTEE_CLIENT_RPC_H_*/
27