4 * Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/)
5 * Copyright 1999,2000,2001 Bernardo Innocenti <bernie@develer.com>
9 * \brief Process scheduler (public interface).
13 * \author Bernardo Innocenti <bernie@develer.com>
18 * Revision 1.1 2004/05/23 17:27:00 bernie
19 * Import kern/ subdirectory.
28 #include "config_kern.h"
33 /* Task scheduling services */
35 struct Process *proc_new(void (*entry)(void), size_t stacksize, cpustack_t *stack);
37 void proc_switch(void);
39 struct Process* proc_current(void);
41 #if CONFIG_KERN_PREEMPTIVE
42 #define FORBID proc_forbid()
43 #define PERMIT proc_permit()
49 #endif /* KERN_PROC_H */