My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Functions
virtual_keyboard_task.h File Reference
#include <sw_types.h>
#include <secure_api.h>

Go to the source code of this file.

Macros

#define NUM_ARGS   4
 
#define ARG_LEN   32
 

Typedefs

typedef struct
virtual_keyboard_global 
virtual_keyboard_global
 global variables for the task should be defined as a member of the global structure More...
 

Functions

int process_otz_virtual_keyboard_svc (u32 svc_cmd_id)
 
int virtual_keyboard_task_init (sa_config_t *psa_config)
 : Mutex test task init More...
 
int virtual_keyboard_task_exit (void *data)
 Mutex test task exit. More...
 
void virtual_keyboard_task (int task_id, sw_tls *tls)
 Mutex test task entry point. More...
 

Macro Definition Documentation

#define ARG_LEN   32
#define NUM_ARGS   4

Typedef Documentation

global variables for the task should be defined as a member of the global structure

Function Documentation

int process_otz_virtual_keyboard_svc ( u32  svc_cmd_id)
Parameters
svc_cmd_id
Returns
void virtual_keyboard_task ( int  task_id,
sw_tls tls 
)

Mutex test task entry point.

This function implements the commands to test the mutex and semaphore operations

Parameters
task_idTask identifier
tlsPointer to task local storage

Mutex test task entry point.

This function implements the processing of virtual keyboard commands.

Parameters
task_idtask identifier
tlsPointer to task local storage
int virtual_keyboard_task_exit ( void *  data)

Mutex test task exit.

This function gets called before the task deletion

Parameters
dataPrivate data which need to be freed.
Returns
otz_return_t: OTZ_OK
OTZ_FAIL
int virtual_keyboard_task_init ( sa_config_t psa_config)

: Mutex test task init

This function initializes Mutex test task parameters

Parameters
psa_configConfiguration parameter for the task and its get called before the task creation
Returns
otz_return_t: OTZ_OK
OTZ_* - An implementation-defined error code for any other error.