lib: optee_client: add macro definition
Change-Id: If6791e63a70190273b09c3cfa7f61490d7f5f0cd Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
This commit is contained in:
parent
6ef445a4c2
commit
7b9ee69be5
|
|
@ -3,6 +3,10 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
#ifndef _KEYMASTER_TA_H_
|
||||
#define _KEYMASTER_TA_H_
|
||||
|
||||
extern const uint8_t keymaster_data[];
|
||||
extern const uint32_t keymaster_size;
|
||||
|
||||
#endif /* _KEYMASTER_TA_H_ */
|
||||
|
|
|
|||
|
|
@ -4,7 +4,12 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
#ifndef _OPTEE_CLIENT_APILIB_H_
|
||||
#define _OPTEE_CLIENT_APILIB_H_
|
||||
|
||||
#include <optee_include/tee_base_types.h>
|
||||
#include <optee_include/tee_client_api.h>
|
||||
|
||||
TEEC_Result OpteeClientApiLibInitialize(void);
|
||||
|
||||
#endif /*_OPTEE_CLIENT_APILIB_H_*/
|
||||
|
|
|
|||
|
|
@ -14,4 +14,5 @@
|
|||
0xee3206cb, 0x950a, 0x49eb, \
|
||||
{ 0xbd, 0xd7, 0xc1, 0x95, 0xcb, 0x9b, 0x2e, 0xbf } \
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
#ifndef _OPTEE_CLIENT_MEM_H_
|
||||
#define _OPTEE_CLIENT_MEM_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
|
|
@ -12,3 +14,5 @@ void OpteeClientMemInit(void);
|
|||
void *OpteeClientMemAlloc(uint32_t length);
|
||||
|
||||
void OpteeClientMemFree(void *mem);
|
||||
|
||||
#endif /*_OPTEE_CLIENT_MEM_H_*/
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
#ifndef _OPTEE_CLIENT_RPC_H_
|
||||
#define _OPTEE_CLIENT_RPC_H_
|
||||
|
||||
#include <optee_include/tee_base_types.h>
|
||||
#include <optee_include/OpteeClientApiLib.h>
|
||||
|
||||
|
|
@ -51,3 +54,5 @@ typedef struct s_rpmb_back {
|
|||
} EFI_RK_RPMB_DATA_PACKET_BACK;
|
||||
|
||||
TEEC_Result OpteeRpcCallback(ARM_SMC_ARGS *ArmSmcArgs);
|
||||
|
||||
#endif /*_OPTEE_CLIENT_RPC_H_*/
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
#ifndef _OPTEE_CLIENT_SMC_H_
|
||||
#define _OPTEE_CLIENT_SMC_H_
|
||||
|
||||
#include <optee_include/tee_base_types.h>
|
||||
#include <optee_include/OpteeClientApiLib.h>
|
||||
|
|
@ -24,3 +26,5 @@ TEEC_Result TEEC_SMC_InvokeCommand(TEEC_Session *session,
|
|||
|
||||
TEEC_Result TEEC_SMC_RequestCancellation(TEEC_Operation *operation,
|
||||
uint32_t *error_origin);
|
||||
|
||||
#endif /*_OPTEE_CLIENT_SMC_H_*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue