18 static void *ns_lock_handle = NULL;
22 uint32_t arg0, uint32_t arg1,
23 uint32_t arg2, uint32_t arg3)
33 result = fn(arg0, arg1, arg2, arg3);
uint32_t os_wrapper_mutex_release(void *handle)
Releases the mutex acquired previously.
int32_t(* veneer_fn)(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3)
#define OS_WRAPPER_WAIT_FOREVER
enum tfm_status_e tfm_ns_interface_init(void)
NS interface, Initialise the NS interface.
void * os_wrapper_mutex_create(void)
Creates a mutex for mutual exclusion of resources.
#define OS_WRAPPER_SUCCESS
int32_t tfm_ns_interface_dispatch(veneer_fn fn, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3)
NS interface, veneer function dispatcher.
uint32_t os_wrapper_mutex_acquire(void *handle, uint32_t timeout)
Acquires a mutex that is created by os_wrapper_mutex_create()