Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Merge branch 'devel'
[palacios.git] / kitten / include / lwk / init_task.h
1 #ifndef _LWK_INIT_TASK_H
2 #define _LWK_INIT_TASK_H
3
4 /**
5  * Initializes architecture-independent fields in the initial address space.
6  */
7 #define BOOTSTRAP_ASPACE(name)
8
9 /**
10  * Initializes architecture-independent fields in the initial task structure.
11  */
12 #define BOOTSTRAP_TASK(task_info) \
13         .id             =       0,                                      \
14         .name           =       "bootstrap",                            \
15         .cpu_id         =       0,                                      \
16         .aspace         =       &bootstrap_aspace,                      \
17         .sched_link     =       LIST_HEAD_INIT(task_info.sched_link),   \
18
19 #define bootstrap_task  bootstrap_task_union.task_info
20 #define bootstrap_stack bootstrap_task_union.stack
21
22 #endif