projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Parametric scheduler approach.
[bertos.git]
/
bertos
/
kern
/
proc_p.h
diff --git
a/bertos/kern/proc_p.h
b/bertos/kern/proc_p.h
index f1b5aa34805503296c4954ea248cf17186fecdb1..5d106242de54a482a16f76f46b352fa626174a9f 100644
(file)
--- a/
bertos/kern/proc_p.h
+++ b/
bertos/kern/proc_p.h
@@
-145,10
+145,15
@@
INLINE void sched_reenqueue(struct Process *proc)
}
#endif //CONFIG_KERN_PRI
}
#endif //CONFIG_KERN_PRI
-/// Schedule another process *without* adding the current one to the ready list.
-void proc_switch(void);
+/* Process trampoline */
void proc_entry(void);
void proc_entry(void);
+/* Schedule another process *without* adding the current one to the ready list. */
+void proc_switch(void);
+
+/* Initialize a scheduler class. */
+void proc_schedInit(void);
+
#if CONFIG_KERN_MONITOR
/** Initialize the monitor */
void monitor_init(void);
#if CONFIG_KERN_MONITOR
/** Initialize the monitor */
void monitor_init(void);