fix runoff complaints about pagination and long lines

This commit is contained in:
Robert Morris 2017-08-29 14:11:59 -04:00
parent 164f4bae54
commit 4638cabf8c
11 changed files with 25 additions and 33 deletions

3
vm.c
View file

@ -164,7 +164,8 @@ switchuvm(struct proc *p)
panic("switchuvm: no pgdir");
pushcli();
mycpu()->gdt[SEG_TSS] = SEG16(STS_T32A, &mycpu()->ts, sizeof(mycpu()->ts)-1, 0);
mycpu()->gdt[SEG_TSS] = SEG16(STS_T32A, &mycpu()->ts,
sizeof(mycpu()->ts)-1, 0);
mycpu()->gdt[SEG_TSS].s = 0;
mycpu()->ts.ss0 = SEG_KDATA << 3;
mycpu()->ts.esp0 = (uint)p->kstack + KSTACKSIZE;