context 2 defs.h struct context; context 68 proc.c sp -= sizeof *p->context; context 69 proc.c p->context = (struct context*)sp; context 70 proc.c memset(p->context, 0, sizeof *p->context); context 71 proc.c p->context->eip = (uint)forkret; context 286 proc.c swtch(&cpu->scheduler, proc->context); context 314 proc.c swtch(&proc->context, cpu->scheduler); context 460 proc.c getcallerpcs((uint*)p->context->ebp+2, pc); context 7 proc.h struct context *scheduler; // swtch() here to enter scheduler context 63 proc.h struct context *context; // swtch() here to run process