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