@@ 180,38 180,6 @@ procopen(Chan *c, int omode)
return tc;
case Qproc:
-{
-Segment *sg;
-int i, j;
-Page **src;
-Pte *old;
- for(i = 0; i < MAXMACH; i++)
- print("%d ", p->pidonmach[i]);
- print("\n");
- for(i = 0; i < NSEG; i++) {
- sg = p->seg[i];
- if(sg == 0)
- continue;
- print("%-6s %c %.8lux %.8lux %4d\n",
- sname[sg->type&SG_TYPE],
- sg->type&SG_RONLY ? 'R' : ' ',
- sg->base, sg->top, sg->ref);
-
- for(j = 0; j < SEGMAPSIZE; j++) {
- old = sg->map[j];
- if(old == 0)
- continue;
- print("\t%d: %lux\n", j, old);
- for(src = old->first; src <= old->last; src++) {
- if(*src == 0)
- continue;
-
- print("\t\t%lux %lux\n", (*src)->va, (*src)->pa);
- }
- prflush();
- }
- }
-}
case Qkregs:
case Qsegment:
if(omode != OREAD)
@@ 136,7 136,6 @@ sysrfork(ulong *arg)
p->egrp = up->egrp;
incref(p->egrp);
}
-memset(p->ltlbpid, 255, sizeof(p->ltlbpid));
p->hang = up->hang;
p->procmode = up->procmode;