Removed args debugging line
[minix3.git] / include / minix / callnr.h
blob20930bc02bef6082938aa73f38443ec283af0141
1 #define NCALLS 100 /* number of system calls allowed */
3 #define EXIT 1
4 #define FORK 2
5 #define READ 3
6 #define WRITE 4
7 #define OPEN 5
8 #define CLOSE 6
9 #define WAIT 7
10 #define CREAT 8
11 #define LINK 9
12 #define UNLINK 10
13 #define WAITPID 11
14 #define CHDIR 12
15 #define TIME 13
16 #define MKNOD 14
17 #define CHMOD 15
18 #define CHOWN 16
19 #define BRK 17
20 #define STAT 18
21 #define LSEEK 19
22 #define GETPID 20
23 #define MOUNT 21
24 #define UMOUNT 22
25 #define SETUID 23
26 #define GETUID 24
27 #define STIME 25
28 #define PTRACE 26
29 #define ALARM 27
30 #define FSTAT 28
31 #define PAUSE 29
32 #define UTIME 30
33 #define ACCESS 33
34 #define SYNC 36
35 #define KILL 37
36 #define RENAME 38
37 #define MKDIR 39
38 #define RMDIR 40
39 #define DUP 41
40 #define PIPE 42
41 #define TIMES 43
42 #define SYMLINK 45
43 #define SETGID 46
44 #define GETGID 47
45 #define SIGNAL 48
46 #define RDLNK 49
47 #define LSTAT 50
48 #define IOCTL 54
49 #define FCNTL 55
50 #define EXEC 59
51 #define UMASK 60
52 #define CHROOT 61
53 #define SETSID 62
54 #define GETPGRP 63
56 /* Posix signal handling. */
57 #define SIGACTION 71
58 #define SIGSUSPEND 72
59 #define SIGPENDING 73
60 #define SIGPROCMASK 74
61 #define SIGRETURN 75
63 #define REBOOT 76
64 #define SVRCTL 77
65 #define SYSUNAME 78
66 #define GETSYSINFO 79 /* to PM or FS */
67 #define GETDENTS 80 /* to FS */
68 #define LLSEEK 81 /* to FS */
69 #define FSTATFS 82 /* to FS */
70 #define SELECT 85 /* to FS */
71 #define FCHDIR 86 /* to FS */
72 #define FSYNC 87 /* to FS */
73 #define GETPRIORITY 88 /* to PM */
74 #define SETPRIORITY 89 /* to PM */
75 #define GETTIMEOFDAY 90 /* to PM */
76 #define SETEUID 91 /* to PM */
77 #define SETEGID 92 /* to PM */
78 #define TRUNCATE 93 /* to FS */
79 #define FTRUNCATE 94 /* to FS */
80 #define FCHMOD 95 /* to FS */
81 #define FCHOWN 96 /* to FS */
82 #define GETSYSINFO_UP 97 /* to PM or FS */
83 #define SPROF 98 /* to PM */
84 #define CPROF 99 /* to PM */
86 /* Calls provided by PM and FS that are not part of the API */
87 #define EXEC_NEWMEM 100 /* from FS or RS to PM: new memory map for
88 * exec
90 #define FORK_NB 101 /* to PM: special fork call for RS */
91 #define EXEC_RESTART 102 /* to PM: final part of exec for RS */
92 #define PROCSTAT 103 /* to PM */
93 #define GETPROCNR 104 /* to PM */
94 #define ALLOCMEM 105 /* to PM */
95 #if 0
96 #define FREEMEM 106 /* to PM, not used, not implemented */
97 #endif
99 #define DEVCTL 120 /* to FS, map or unmap a device */
100 #define TASK_REPLY 121 /* to FS: reply code from drivers, not
101 * really a standalone call.