else if (bufp->ps_mflags & SIGSUSPENDED)
blkstr = "sigsusp";
} else if (bufp->ps_recv == FS_PROC_NR) {
+#if 0 /* these flags no longer exist, should find this out another way */
if (-bufp->ps_ftask == XPIPE)
blkstr = "pipe";
else if (-bufp->ps_ftask == XPOPEN)
blkstr = "flock";
else if(-bufp->ps_ftask == XSELECT)
blkstr = "select";
- else if(-bufp->ps_ftask >= 0)
+ else
+#endif
+ if(-bufp->ps_ftask >= 0)
blkstr = taskname(-bufp->ps_ftask);
else
blkstr = "??";
else if (ps_proc[p_ki].p_rts_flags == 0)
bufp->ps_state = R_STATE; /* in run-queue */
else if (ps_mproc[p_nr].mp_flags & (WAITING | PAUSED | SIGSUSPENDED) ||
- ps_fproc[p_nr].fp_suspended == SUSPENDED)
+#if 0 /* this field and this flag no longer exist, get this info elsewhere */
+ ps_fproc[p_nr].fp_suspended == SUSPENDED)
+#else
+ 0)
+#endif
bufp->ps_state = S_STATE; /* sleeping */
else
bufp->ps_state = W_STATE; /* a short wait */
_PROTOTYPE( int sys_exit, (endpoint_t proc_ep));
_PROTOTYPE( int sys_trace, (int req, endpoint_t proc_ep, long addr, long *data_p));
-_PROTOTYPE( int sys_privctl, (endpoint_t proc_ep, int req, int i, void *p));
+_PROTOTYPE( int sys_privctl, (endpoint_t proc_ep, int req, void *p));
_PROTOTYPE( int sys_setgrant, (cp_grant_t *grants, int ngrants));
_PROTOTYPE( int sys_nice, (endpoint_t proc_ep, int priority));
#include "syslib.h"
-int sys_privctl(endpoint_t proc_ep, int request, int i, void *p)
+int sys_privctl(endpoint_t proc_ep, int request, void *p)
{
message m;