ts 5 proc.h struct taskstate ts; // Used by x86 to find stack for interrupt ts 167 vm.c mycpu()->gdt[SEG_TSS] = SEG16(STS_T32A, &mycpu()->ts, ts 168 vm.c sizeof(mycpu()->ts)-1, 0); ts 170 vm.c mycpu()->ts.ss0 = SEG_KDATA << 3; ts 171 vm.c mycpu()->ts.esp0 = (uint)p->kstack + KSTACKSIZE; ts 174 vm.c mycpu()->ts.iomb = (ushort) 0xFFFF;