提交 a0c1c2fd 创建 作者: Frans Kaashoek's avatar Frans Kaashoek

less output

上级 ef934f44
......@@ -19,7 +19,6 @@ exec(char *path, char **argv)
pde_t *pgdir, *oldpgdir;
cprintf("%d: exec %s\n", cpunum(), path);
procdumpall();
if((ip = namei(path)) == 0)
return -1;
......@@ -92,9 +91,6 @@ exec(char *path, char **argv)
proc->tf->esp = sp;
switchuvm(proc);
freevm(oldpgdir);
cprintf("exec done\n");
return 0;
bad:
......
......@@ -74,10 +74,8 @@ mpmain(void)
}
vmenable(); // turn on paging
cprintf("cpu%d: starting\n", cpu->id);
procdumpall();
idtinit(); // load idt register
xchg(&cpu->booted, 1); // tell bootothers() we're up
procdumpall();
scheduler(); // start running processes
}
......
......@@ -50,7 +50,6 @@ found:
release(&ptable->lock);
// Allocate kernel stack if possible.
cprintf("allocproc: kalloc\n");
if((p->kstack = kalloc()) == 0){
p->state = UNUSED;
return 0;
......@@ -97,7 +96,6 @@ addrun(struct proc *p)
acquire(&ptable->lock);
addrun1(p);
release(&ptable->lock);
procdumpall();
}
static void
......@@ -331,7 +329,6 @@ steal(void)
}
release(&ptables[c].lock);
if (r) {
procdumpall();
return;
}
}
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论