cpus 77 main.c for(c = cpus; c < cpus+ncpu; c++){ cpus 14 mp.c struct cpu cpus[NCPU]; cpus 110 mp.c cpus[ncpu].apicid = proc->apicid; // apicid may differ from ncpu cpus 32 proc.c return mycpu()-cpus; cpus 49 proc.c if (cpus[i].apicid == apicid) cpus 50 proc.c return &cpus[i]; cpus 13 proc.h extern struct cpu cpus[NCPU]; cpus 24 vm.c c = &cpus[cpuid()];