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 / auxvec.h
1 #ifndef _LWK_AUXVEC_H
2 #define _LWK_AUXVEC_H
3
4 /**
5  * Auxiliary info table entry.  A table of these entries gets placed at the
6  * top of a new task's stack so user-space can figure out things that are
7  * difficult or impossible to determine otherwise (e.g., its base load
8  * address).
9  */
10 struct aux_ent {
11         unsigned long id;
12         unsigned long val;
13 };
14
15 #include <arch/auxvec.h>
16
17 /* Symbolic values for the entries in the auxiliary table
18    put on the initial stack */
19 #define AT_NULL   0     /* end of vector */
20 #define AT_IGNORE 1     /* entry should be ignored */
21 #define AT_EXECFD 2     /* file descriptor of program */
22 #define AT_PHDR   3     /* program headers for program */
23 #define AT_PHENT  4     /* size of program header entry */
24 #define AT_PHNUM  5     /* number of program headers */
25 #define AT_PAGESZ 6     /* system page size */
26 #define AT_BASE   7     /* base address of interpreter */
27 #define AT_FLAGS  8     /* flags */
28 #define AT_ENTRY  9     /* entry point of program */
29 #define AT_NOTELF 10    /* program is not ELF */
30 #define AT_UID    11    /* real uid */
31 #define AT_EUID   12    /* effective uid */
32 #define AT_GID    13    /* real gid */
33 #define AT_EGID   14    /* effective gid */
34 #define AT_PLATFORM 15  /* string identifying CPU for optimizations */
35 #define AT_HWCAP  16    /* arch dependent hints at CPU capabilities */
36 #define AT_CLKTCK 17    /* frequency at which times() increments */
37
38 #define AT_SECURE 23   /* secure mode boolean */
39
40 #define AT_ENTRIES  22 /* Number of entries in the auxiliary table */
41
42 #endif /* _LWK_AUXVEC_H */