Pip
Architecture-dependent parts of Pip: MAL, IAL and boot
pipcall.h
Go to the documentation of this file.
1 /*******************************************************************************/
2 /* © Université de Lille, The Pip Development Team (2015-2021) */
3 /* */
4 /* This software is a computer program whose purpose is to run a minimal, */
5 /* hypervisor relying on proven properties such as memory isolation. */
6 /* */
7 /* This software is governed by the CeCILL license under French law and */
8 /* abiding by the rules of distribution of free software. You can use, */
9 /* modify and/ or redistribute the software under the terms of the CeCILL */
10 /* license as circulated by CEA, CNRS and INRIA at the following URL */
11 /* "http://www.cecill.info". */
12 /* */
13 /* As a counterpart to the access to the source code and rights to copy, */
14 /* modify and redistribute granted by the license, users are provided only */
15 /* with a limited warranty and the software's author, the holder of the */
16 /* economic rights, and the successive licensors have only limited */
17 /* liability. */
18 /* */
19 /* In this respect, the user's attention is drawn to the risks associated */
20 /* with loading, using, modifying and/or developing or reproducing the */
21 /* software by the user in light of its specific status of free software, */
22 /* that may mean that it is complicated to manipulate, and that also */
23 /* therefore means that it is reserved for developers and experienced */
24 /* professionals having in-depth computer knowledge. Users are therefore */
25 /* encouraged to load and test the software's suitability as regards their */
26 /* requirements in conditions enabling the security of their systems and/or */
27 /* data to be ensured and, more generally, to use and operate it in the */
28 /* same conditions as regards security. */
29 /* */
30 /* The fact that you are presently reading this means that you have had */
31 /* knowledge of the CeCILL license and that you accept its terms. */
32 /*******************************************************************************/
33 
34 #ifndef ARCH_PIPCALL_H
35 #define ARCH_PIPCALL_H
36 
37 #define LAST_PIPCALL PIPCALL_YIELD
38 
39 #define PIPCALL_OUTB 6
40 #define PIPCALL_INB 7
41 #define PIPCALL_OUTW 8
42 #define PIPCALL_INW 9
43 #define PIPCALL_OUTL 10
44 #define PIPCALL_INL 11
45 #define PIPCALL_CREATEPARTITION 12
46 #define PIPCALL_COUNTTOMAP 13
47 #define PIPCALL_PREPARE 14
48 #define PIPCALL_ADDVADDR 15
49 #define PIPCALL_GET_INT_STATE 16
50 #define PIPCALL_OUTADDRL 17
51 #define PIPCALL_TIMER 18
52 #define PIPCALL_SET_INT_STATE 19
53 #define PIPCALL_REMOVEVADDR 20
54 #define PIPCALL_MAPPEDINCHILD 21
55 #define PIPCALL_DELETEPARTITION 22
56 #define PIPCALL_COLLECT 23
57 #define PIPCALL_YIELD 24
58 
59 #define PIPCALL_NARGS_OUTB 2
60 #define PIPCALL_NARGS_INB 1
61 #define PIPCALL_NARGS_OUTW 2
62 #define PIPCALL_NARGS_INW 1
63 #define PIPCALL_NARGS_OUTL 2
64 #define PIPCALL_NARGS_INL 1
65 #define PIPCALL_NARGS_CREATEPARTITION 5
66 #define PIPCALL_NARGS_COUNTTOMAP 2
67 #define PIPCALL_NARGS_PREPARE 3
68 #define PIPCALL_NARGS_ADDVADDR 6
69 #define PIPCALL_NARGS_GET_INT_STATE 1
70 #define PIPCALL_NARGS_OUTADDRL 2
71 #define PIPCALL_NARGS_TIMER 0
72 #define PIPCALL_NARGS_SET_INT_STATE 1
73 #define PIPCALL_NARGS_REMOVEVADDR 2
74 #define PIPCALL_NARGS_MAPPEDINCHILD 1
75 #define PIPCALL_NARGS_DELETEPARTITION 1
76 #define PIPCALL_NARGS_COLLECT 2
77 #define PIPCALL_NARGS_YIELD 5
78 
79 #endif