X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=blobdiff_plain;f=bertos%2Fkern%2Fproc_p.h;h=5d106242de54a482a16f76f46b352fa626174a9f;hp=f1b5aa34805503296c4954ea248cf17186fecdb1;hb=ae8a609173e4490fd03875f96e388038053b9288;hpb=171251d9de4ef383f9f0feb622da3863076b1fc6 diff --git a/bertos/kern/proc_p.h b/bertos/kern/proc_p.h index f1b5aa34..5d106242 100644 --- 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 -/// Schedule another process *without* adding the current one to the ready list. -void proc_switch(void); +/* Process trampoline */ 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);