diff options
author | Frans Kaashoek <[email protected]> | 2010-07-25 20:30:21 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2010-07-25 20:30:21 -0400 |
commit | 30f5bf054856805b69ef2c5a7485c8d2fecc7098 (patch) | |
tree | 70218604907a643731a27f5651394d826ea8ac54 /proc.c | |
parent | af03ab142de8c68ad56a829e39e8faee9db252d3 (diff) | |
download | xv6-labs-30f5bf054856805b69ef2c5a7485c8d2fecc7098.tar.gz xv6-labs-30f5bf054856805b69ef2c5a7485c8d2fecc7098.tar.bz2 xv6-labs-30f5bf054856805b69ef2c5a7485c8d2fecc7098.zip |
some cleanup
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -242,7 +242,7 @@ sched(void) panic("sched running"); if(readeflags()&FL_IF) panic("sched interruptible"); - loadkvm(); // Switch to the kernel page table + lcr3(PADDR(kpgdir)); // Switch to the kernel page table intena = cpu->intena; swtch(&proc->context, cpu->scheduler); cpu->intena = intena; |