#endif
void proc_exit(void);
-void proc_switch(void);
-void proc_test(void);
+void proc_yield(void);
+#define proc_switch proc_yield /* OBSOLETE */
+
+int proc_testSetup(void);
+int proc_testRun(void);
+int proc_testTearDown(void);
+
struct Process *proc_current(void);
iptr_t proc_current_user_data(void);
void proc_rename(struct Process *proc, const char* name);
-#if CONFIG_KERN_PREEMPTIVE
+#if CONFIG_KERN_PREEMPT
void proc_forbid(void);
void proc_permit(void);
#else
#endif
#endif
-/* OBSOLETE */
-#define CONFIG_KERN_DEFSTACKSIZE CONFIG_PROC_DEFSTACKSIZE
-
/* Memory fill codes to help debugging */
#if CONFIG_KERN_MONITOR
#include <cpu/types.h>