context 2 defs.h struct context; context 125 defs.h void swtch(struct context**, struct context*); context 110 proc.c sp -= sizeof *p->context; context 111 proc.c p->context = (struct context*)sp; context 112 proc.c memset(p->context, 0, sizeof *p->context); context 113 proc.c p->context->eip = (uint)forkret; context 346 proc.c swtch(&(c->scheduler), p->context); context 380 proc.c swtch(&p->context, mycpu()->scheduler); context 528 proc.c getcallerpcs((uint*)p->context->ebp+2, pc); context 4 proc.h struct context *scheduler; // swtch() here to enter scheduler context 46 proc.h struct context *context; // swtch() here to run process