xref: /optee_os/lib/libutee/tee_api_private.h (revision 5a913ee74d3c71af2a2860ce8a4e7aeab2916f9b)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2015, Linaro Limited
4  */
5 #ifndef TEE_API_PRIVATE
6 #define TEE_API_PRIVATE
7 
8 #include <tee_api_types.h>
9 #include <utee_types.h>
10 
11 
12 void __utee_from_attr(struct utee_attribute *ua, const TEE_Attribute *attrs,
13 			uint32_t attr_count);
14 
15 TEE_Result __utee_entry(unsigned long func, unsigned long session_id,
16 			struct utee_params *up, unsigned long cmd_id);
17 
18 
19 #if defined(CFG_TA_GPROF_SUPPORT)
20 void __utee_gprof_init(void);
21 void __utee_gprof_fini(void);
22 #else
23 static inline void __utee_gprof_init(void) {}
24 static inline void __utee_gprof_fini(void) {}
25 #endif
26 
27 #endif /*TEE_API_PRIVATE*/
28 
29