git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of github.com:Minep/lunaix-os
[lunaix-os.git]
/
lunaix-os
/
kernel
/
k_init.c
diff --git
a/lunaix-os/kernel/k_init.c
b/lunaix-os/kernel/k_init.c
index 447bff7feed8040ef49e087913faed4f3018c1a5..c173ad9621ae8c39002454daa6dacf2562cf08b7 100644
(file)
--- a/
lunaix-os/kernel/k_init.c
+++ b/
lunaix-os/kernel/k_init.c
@@
-162,7
+162,7
@@
spawn_proc0()
commit_process(proc0);
// 由于时钟中断与APIC未就绪,我们需要手动进行第一次调度。这里也会同时隐式地恢复我们的eflags.IF位
- proc0->state = P
ROC
_RUNNING;
+ proc0->state = P
S
_RUNNING;
asm volatile("pushl %0\n"
"jmp switch_to\n" ::"r"(proc0));