The Pedigree Project  0.1
pedigreecSyscallNumbers.h
1 /*
2  * Copyright (c) 2008-2014, Pedigree Developers
3  *
4  * Please see the CONTRIB file in the root of the source tree for a full
5  * list of contributors.
6  *
7  * Permission to use, copy, modify, and distribute this software for any
8  * purpose with or without fee is hereby granted, provided that the above
9  * copyright notice and this permission notice appear in all copies.
10  *
11  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 #ifndef SYSCALL_NUMBERS_H
21 #define SYSCALL_NUMBERS_H
22 
23 #define PEDIGREE_LOGIN 1
24 #define PEDIGREE_SIGRET 2
25 #define PEDIGREE_INIT_SIGRET 3
26 #define PEDIGREE_INIT_PTHREADS 4
27 #define PEDIGREE_LOAD_KEYMAP 5
28 #define PEDIGREE_GET_MOUNT 6
29 #define PEDIGREE_REBOOT 7
30 
31 #define PEDIGREE_CONFIG_GETCOLNAME 8
32 #define PEDIGREE_CONFIG_GETSTR_N 9
33 #define PEDIGREE_CONFIG_GETNUM_N 10
34 #define PEDIGREE_CONFIG_GETBOOL_N 11
35 #define PEDIGREE_CONFIG_GETSTR_S 12
36 #define PEDIGREE_CONFIG_GETNUM_S 13
37 #define PEDIGREE_CONFIG_GETBOOL_S 14
38 #define PEDIGREE_CONFIG_QUERY 15
39 #define PEDIGREE_CONFIG_FREERESULT 16
40 #define PEDIGREE_CONFIG_NUMCOLS 17
41 #define PEDIGREE_CONFIG_NUMROWS 18
42 #define PEDIGREE_CONFIG_WAS_SUCCESSFUL 19
43 #define PEDIGREE_CONFIG_GET_ERROR_MESSAGE 20
44 
45 #define PEDIGREE_MODULE_LOAD 21
46 #define PEDIGREE_MODULE_UNLOAD 22
47 #define PEDIGREE_MODULE_IS_LOADED 23
48 #define PEDIGREE_MODULE_GET_DEPENDING 24
49 
50 #define PEDIGREE_INPUT_INSTALL_CALLBACK 25
51 #define PEDIGREE_INPUT_REMOVE_CALLBACK 26
52 
53 #define PEDIGREE_SYS_REQUEST_MEM 27
54 
55 #define PEDIGREE_HALTFS 28
56 #define PEDIGREE_INPUT_INHIBIT_EVENTS 29
57 
58 #define PEDIGREE_EVENT_RETURN 60
59 
60 #define PEDIGREE_GFX_GET_PROVIDER 64
61 #define PEDIGREE_GFX_GET_CURR_MODE 65
62 #define PEDIGREE_GFX_GET_RAW_BUFFER 66
63 #define PEDIGREE_GFX_CREATE_BUFFER 67
64 #define PEDIGREE_GFX_DESTROY_BUFFER 68
65 #define PEDIGREE_GFX_REDRAW 69
66 #define PEDIGREE_GFX_BLIT 70
67 #define PEDIGREE_GFX_RECT 71
68 #define PEDIGREE_GFX_COPY 72
69 #define PEDIGREE_GFX_LINE 73
70 #define PEDIGREE_GFX_SET_PIXEL 74
71 #define PEDIGREE_GFX_DRAW 75
72 #define PEDIGREE_GFX_CREATE_FBUFFER 76
73 #define PEDIGREE_GFX_DELETE_FBUFFER 77
74 #define PEDIGREE_GFX_FBINFO 78
75 #define PEDIGREE_GFX_SETPALETTE 79
76 
77 #endif