My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
dispatcher_task.h
Go to the documentation of this file.
1 /*
2  * OpenVirtualization:
3  * For additional details and support contact developer@sierraware.com.
4  * Additional documentation can be found at www.openvirtualization.org
5  *
6  * Copyright (C) 2010-2014 SierraWare
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21  *
22  */
23 /*
24  * Header for Global task implementation
25  */
26 
27 #ifndef __OTZ_APP_TASK1_H__
28 #define __OTZ_APP_TASK1_H__
29 
30 /* #include <sw_list.h> */
31 #include <secure_api.h>
32 
37 typedef struct dispatch_global
38 {
39 /*
40  struct list pending_list;
41 */
47 
60 int dispatch_task_init(sa_config_t *psa_config);
61 
70 int dispatch_task_exit(void* data);
71 
80 #ifndef ARM_ARCH_ARMV7
81 void dispatch_task(long cur_task_id);
82 #else
83 void dispatch_task(int cur_task_id);
84 #endif
85 
86 
94 void set_secure_api_ret(int ret_val);
95 
96 
97 /*
98 void process_pending_task(void);
99 */
100 #endif /* __OTZ_APP_TASK1_H__ */
Secure API configuration details for task.
Definition: task.h:40
int secure_api_ret_val
Definition: dispatcher_task.h:45
int dispatch_task_exit(void *data)
Exit function for the dispatcher task.
Definition: dispatcher_task.c:250
u8 * data
Definition: fat32.c:40
Global variables for the task should be defined as a member of the global structure.
Definition: dispatcher_task.h:37
struct dispatch_global dispatch_global
Global variables for the task should be defined as a member of the global structure.
void set_secure_api_ret(int ret_val)
Task return value notification.
Definition: dispatcher_task.c:195
void dispatch_task(long cur_task_id)
Dispatcher task exit.
Definition: dispatcher_task.c:72
int dispatch_task_init(sa_config_t *psa_config)
Dispatcher task init.
Definition: dispatcher_task.c:215
int secure_api_set
Definition: dispatcher_task.h:43