1 #define NCALLS 112 /* number of system calls allowed */
22 #define MINIX_GETPID 20
59 #define GETMCONTEXT 67
60 #define SETMCONTEXT 68
62 /* Posix signal handling. */
66 #define SIGPROCMASK 74
72 #define GETSYSINFO 79 /* to PM or FS */
73 #define GETDENTS 80 /* to FS */
74 #define LLSEEK 81 /* to FS */
75 #define FSTATFS 82 /* to FS */
76 #define SELECT 85 /* to FS */
77 #define FCHDIR 86 /* to FS */
78 #define FSYNC 87 /* to FS */
79 #define GETPRIORITY 88 /* to PM */
80 #define SETPRIORITY 89 /* to PM */
81 #define GETTIMEOFDAY 90 /* to PM */
82 #define SETEUID 91 /* to PM */
83 #define SETEGID 92 /* to PM */
84 #define TRUNCATE 93 /* to FS */
85 #define FTRUNCATE 94 /* to FS */
86 #define FCHMOD 95 /* to FS */
87 #define FCHOWN 96 /* to FS */
88 #define GETSYSINFO_UP 97 /* to PM or FS */
89 #define SPROF 98 /* to PM */
90 #define CPROF 99 /* to PM */
92 /* Calls provided by PM and FS that are not part of the API */
93 #define EXEC_NEWMEM 100 /* from FS or RS to PM: new memory map for
96 #define SRV_FORK 101 /* to PM: special fork call for RS */
97 #define EXEC_RESTART 102 /* to PM: final part of exec for RS */
98 #define PROCSTAT 103 /* to PM */
99 #define GETPROCNR 104 /* to PM */
101 #define GETEPINFO 107 /* to PM: get pid/uid/gid of an endpoint */
102 #define ADDDMA 108 /* to PM: inform PM about a region of memory
103 * that is used for bus-master DMA
105 #define DELDMA 109 /* to PM: inform PM that a region of memory
106 * that is no longer used for bus-master DMA
108 #define GETDMA 110 /* to PM: ask PM for a region of memory
109 * that should not be used for bus-master DMA
112 #define SRV_KILL 111 /* to PM: special kill call for RS */
114 #define TASK_REPLY 121 /* to FS: reply code from drivers, not
115 * really a standalone call.
117 #define MAPDRIVER 122 /* to FS, map a device */