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 / arch-x86_64 / task.h
1 #ifndef _ARCH_TASK_H
2 #define _ARCH_TASK_H
3
4 /**
5  * Bits in the arch_task.flags field.
6  */
7 #define _TF_NEW_TASK_BIT  0
8 #define _TF_USED_FPU_BIT  1
9
10 /**
11  * Masks for the bits in the arch_task.flags field.
12  */
13 #define TF_NEW_TASK   (1 << _TF_NEW_TASK_BIT)
14 #define TF_USED_FPU   (1 << _TF_USED_FPU_BIT)
15
16 #ifndef __ASSEMBLY__
17
18 #include <arch/pda.h>
19 #include <arch/page_table.h>
20
21 struct arch_mm {
22         xpte_t  *page_table_root;
23 };
24
25 /**
26  * Architecture-specific task information.
27  */
28 struct arch_task {
29         uint32_t                flags;          /* arch-dependent task flags */
30         unsigned long           addr_limit;     /* task's virtual memory space is from [0,addr_limit) */
31         struct thread_struct    thread;
32 };
33
34 #endif
35 #endif