projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
preempt: irq supervisor draft
[bertos.git]
/
bertos
/
kern
/
proc.c
diff --git
a/bertos/kern/proc.c
b/bertos/kern/proc.c
index 3f2548923dbc1527660cdf3138a091c285f00aee..8692c170840fba17fad60965366d9556d7136715 100644
(file)
--- a/
bertos/kern/proc.c
+++ b/
bertos/kern/proc.c
@@
-90,7
+90,7
@@
static void proc_init_struct(Process *proc)
proc->sig_recv = 0;
#endif
proc->sig_recv = 0;
#endif
-#if CONFIG_KERN_PREEMPT
IVE
+#if CONFIG_KERN_PREEMPT
proc->forbid_cnt = 0;
#endif
proc->forbid_cnt = 0;
#endif
@@
-118,7
+118,7
@@
void proc_init(void)
monitor_add(CurrentProcess, "main");
#endif
monitor_add(CurrentProcess, "main");
#endif
-#if CONFIG_KERN_PREEMPT
IVE
+#if CONFIG_KERN_PREEMPT
preempt_init();
#endif
preempt_init();
#endif