-#define NCALLS 87 /* number of system calls allowed */
+#define NCALLS 90 /* number of system calls allowed */
#define EXIT 1
#define FORK 2
#define FREEMEM 84 /* to PM */
#define SELECT 85 /* to FS */
#define FCHDIR 86 /* to FS */
+#define FSYNC 87 /* to FS */
+#define GETPRIORITY 88 /* to PM */
+#define SETPRIORITY 89 /* to PM */
# define SYS_PHYSCOPY 31 /* sys_physcopy(src_addr,dst_addr,count) */
# define SYS_VIRVCOPY 32 /* sys_virvcopy(vec_ptr, vec_size) */
# define SYS_PHYSZERO 33 /* sys_physzero(addr,count) */
-#define NR_SYS_CALLS 34 /* number of system calls */
+# define SYS_SETPRIORITY 34 /* sys_setpriority(which,who,prio) */
+#define NR_SYS_CALLS 35 /* number of system calls */
/* Field names for SYS_SEGCTL. */
#define MEM_CHUNK_BASE m4_l1 /* physical base address */
_PROTOTYPE( int sys_times, (int proc_nr, clock_t *ptr) );
_PROTOTYPE( int sys_getuptime, (clock_t *ticks) );
_PROTOTYPE( int sys_trace, (int req, int proc, long addr, long *data_p) );
+_PROTOTYPE( int sys_setpriority, (int proc, int prio) );
/* A system server can directly exit itself with the sys_xit call. The
* status argument is here to resemble exit(2), but not passed to kernel.