File: entry_std.h

package info (click to toggle)
optee-os 4.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,960 kB
  • sloc: ansic: 444,388; asm: 12,922; python: 3,719; makefile: 1,681; sh: 238
file content (26 lines) | stat: -rw-r--r-- 809 bytes parent folder | download | duplicates (2)
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 */