Etienne Carriere | 7514117 | 2020-05-16 11:58:23 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: BSD-2-Clause */ |
Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2014, STMicroelectronics International N.V. |
| 4 | * All rights reserved. |
Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef OS_TEST_H |
| 8 | #define OS_TEST_H |
| 9 | |
| 10 | #include <tee_api.h> |
| 11 | |
| 12 | TEE_Result ta_entry_basic(uint32_t param_types, TEE_Param params[4]); |
| 13 | TEE_Result ta_entry_client_with_timeout(uint32_t param_types, |
| 14 | TEE_Param params[4]); |
| 15 | TEE_Result ta_entry_panic(uint32_t param_types, TEE_Param params[4]); |
| 16 | TEE_Result ta_entry_client(uint32_t param_types, TEE_Param params[4]); |
Etienne Carriere | 281065d | 2016-10-28 15:41:33 +0200 | [diff] [blame] | 17 | TEE_Result ta_entry_params_access_rights(uint32_t p_types, TEE_Param params[4]); |
Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 18 | TEE_Result ta_entry_wait(uint32_t param_types, TEE_Param params[4]); |
| 19 | TEE_Result ta_entry_bad_mem_access(uint32_t param_types, TEE_Param params[4]); |
Jerome Forissier | e916b10 | 2017-06-07 17:55:52 +0200 | [diff] [blame] | 20 | TEE_Result ta_entry_ta2ta_memref(uint32_t param_types, TEE_Param params[4]); |
| 21 | TEE_Result ta_entry_ta2ta_memref_mix(uint32_t param_types, |
| 22 | TEE_Param params[4]); |
Jens Wiklander | 87e8170 | 2018-03-20 12:00:00 +0800 | [diff] [blame] | 23 | TEE_Result ta_entry_params(uint32_t param_types, TEE_Param params[4]); |
Cedric Neveux | 9f483bb | 2019-03-04 08:58:06 +0100 | [diff] [blame] | 24 | TEE_Result ta_entry_null_memref(uint32_t param_types, TEE_Param params[4]); |
Jerome Forissier | 53bde72 | 2018-05-31 09:14:54 +0200 | [diff] [blame] | 25 | TEE_Result ta_entry_call_lib(uint32_t param_types, TEE_Param params[4]); |
| 26 | TEE_Result ta_entry_call_lib_panic(uint32_t param_types, TEE_Param params[4]); |
Jerome Forissier | a9ab5d0 | 2019-03-17 21:14:06 +0100 | [diff] [blame] | 27 | TEE_Result ta_entry_call_lib_dl(uint32_t param_types, TEE_Param params[4]); |
| 28 | TEE_Result ta_entry_call_lib_dl_panic(uint32_t param_types, TEE_Param params[4]); |
Jerome Forissier | e9571e8 | 2020-02-18 15:26:20 +0100 | [diff] [blame] | 29 | TEE_Result ta_entry_get_global_var(uint32_t param_types, TEE_Param params[4]); |
Vesa Jääskeläinen | 41ff080 | 2020-04-05 20:11:46 +0300 | [diff] [blame] | 30 | TEE_Result ta_entry_client_identity(uint32_t param_types, TEE_Param params[4]); |
Jerome Forissier | 9a7101b | 2020-06-17 17:55:00 +0200 | [diff] [blame] | 31 | TEE_Result ta_entry_tls_test_main(void); |
| 32 | TEE_Result ta_entry_tls_test_shlib(void); |
Jerome Forissier | 4565c45 | 2020-06-17 17:55:00 +0200 | [diff] [blame] | 33 | TEE_Result ta_entry_dl_phdr(void); |
| 34 | TEE_Result ta_entry_dl_phdr_dl(void); |
Jerome Forissier | 1a205ae | 2020-06-17 17:55:00 +0200 | [diff] [blame^] | 35 | TEE_Result ta_entry_cxx_ctor_main(void); |
| 36 | TEE_Result ta_entry_cxx_ctor_shlib(void); |
| 37 | TEE_Result ta_entry_cxx_ctor_shlib_dl(void); |
| 38 | TEE_Result ta_entry_cxx_exc_main(void); |
| 39 | TEE_Result ta_entry_cxx_exc_mixed(void); |
Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 40 | |
| 41 | #endif /*OS_TEST_H */ |