Fix of endpointless slot message in FS
Removed some leftover '#if 0'ed debug code in PM
This commit is contained in:
parent
d1d4b5ae4d
commit
b103bf5dc7
@ -134,7 +134,7 @@ PRIVATE void get_work()
|
|||||||
if(who_p < -NR_TASKS || who_p >= NR_PROCS)
|
if(who_p < -NR_TASKS || who_p >= NR_PROCS)
|
||||||
panic(__FILE__,"receive process out of range", who_p);
|
panic(__FILE__,"receive process out of range", who_p);
|
||||||
if(who_p >= 0 && fproc[who_p].fp_endpoint == NONE) {
|
if(who_p >= 0 && fproc[who_p].fp_endpoint == NONE) {
|
||||||
printf("FS: ignoring request from %d, endpointless slot %d (%d)",
|
printf("FS: ignoring request from %d, endpointless slot %d (%d)\n",
|
||||||
m_in.m_source, who_p, m_in.m_type);
|
m_in.m_source, who_p, m_in.m_type);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -69,14 +69,7 @@ PUBLIC int main()
|
|||||||
else if ((unsigned) call_nr >= NCALLS) {
|
else if ((unsigned) call_nr >= NCALLS) {
|
||||||
result = ENOSYS;
|
result = ENOSYS;
|
||||||
} else {
|
} else {
|
||||||
#if 0
|
|
||||||
printf("[pm: %s %d %d %d ",
|
|
||||||
who_p >= 0 ? mproc[who_p].mp_name : "?", who_e, who_p, call_nr);
|
|
||||||
#endif
|
|
||||||
result = (*call_vec[call_nr])();
|
result = (*call_vec[call_nr])();
|
||||||
#if 0
|
|
||||||
printf(" %d] ", result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Send the results back to the user to indicate completion. */
|
/* Send the results back to the user to indicate completion. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user