projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to new cfg_kern.h
[bertos.git]
/
bertos
/
kern
/
preempt.c
diff --git
a/bertos/kern/preempt.c
b/bertos/kern/preempt.c
index a9201f61cb7a8413e093d77038e128620d536a1e..85aab8ea05a3e19eab9d976efbbbff753f1d42c7 100644
(file)
--- a/
bertos/kern/preempt.c
+++ b/
bertos/kern/preempt.c
@@
-87,7
+87,7
@@
void proc_schedule(void)
TRACEMSG("launching %p:%s", CurrentProcess, proc_currentName());
}
TRACEMSG("launching %p:%s", CurrentProcess, proc_currentName());
}
-void proc_preempt(UNUSED_ARG(void *, param)
+void proc_preempt(UNUSED_ARG(void *, param)
)
{
if (!preempt_forbid_cnt)
{
{
if (!preempt_forbid_cnt)
{
@@
-155,7
+155,7
@@
void preempt_init(void)
irq_register(SIGUSR1, proc_schedule);
irq_register(SIGUSR1, proc_schedule);
- timer_setSoftint(&preempt_timer, proc_preempt
_timer
, NULL);
+ timer_setSoftint(&preempt_timer, proc_preempt, NULL);
timer_setDelay(&preempt_timer, CONFIG_KERN_QUANTUM);
timer_add(&preempt_timer);
timer_setDelay(&preempt_timer, CONFIG_KERN_QUANTUM);
timer_add(&preempt_timer);