fix runoff complaints about pagination and long lines
This commit is contained in:
parent
164f4bae54
commit
4638cabf8c
11 changed files with 25 additions and 33 deletions
3
vm.c
3
vm.c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue