nothing much

This commit is contained in:
Robert Morris 2016-08-11 15:41:53 -04:00
parent c779cc2be1
commit 9c65b32d9e
3 changed files with 3 additions and 2 deletions

2
proc.c
View file

@ -283,7 +283,7 @@ scheduler(void)
proc = p;
switchuvm(p);
p->state = RUNNING;
swtch(&cpu->scheduler, proc->context);
swtch(&cpu->scheduler, p->context);
switchkvm();
// Process is done running for now.