1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (c) 2015, Linaro Limited
* Copyright (c) 2014, STMicroelectronics International N.V.
*/
#ifndef __TEE_ENTRY_STD_H
#define __TEE_ENTRY_STD_H
#include <kernel/thread.h>
#include <optee_msg.h>
#include <tee_api_types.h>
/*
* Standard call entry, __weak, overridable. If overridden should call
* __tee_entry_std() at the end in order to handle the standard functions.
*
* These functions are called in a normal thread context.
*/
TEE_Result tee_entry_std(struct optee_msg_arg *arg, uint32_t num_params);
TEE_Result __tee_entry_std(struct optee_msg_arg *arg, uint32_t num_params);
/* Get list head for sessions opened from non-secure */
void nsec_sessions_list_head(struct tee_ta_session_head **open_sessions);
#endif /* __TEE_ENTRY_STD_H */
|