#endif
#include <cpu/types.h> // cpustack_t
+#include <cpu/frame.h> // CPU_SAVED_REGS_CNT
/*
* Forward declaration. The definition of struct Process is private to the
void proc_exit(void);
void proc_yield(void);
-#define proc_switch proc_yield /* OBSOLETE */
int proc_testSetup(void);
int proc_testRun(void);
const char *proc_currentName(void);
#if CONFIG_KERN_PRI
-void proc_setPri(struct Process *proc, int pri);
+ void proc_setPri(struct Process *proc, int pri);
+#else
+ INLINE void proc_setPri(UNUSED_ARG(struct Process *,proc), UNUSED_ARG(int, pri))
+ {
+ }
#endif
/**
#endif
}
+extern int preempt_forbid_cnt;
/**
* Execute a block of \a CODE atomically with respect to task scheduling.
#endif
#endif
-#define CONFIG_PROC_DEFSTACKSIZE CONFIG_KERN_MINSTACKSIZE // OBSOLETE
-
/* Memory fill codes to help debugging */
#if CONFIG_KERN_MONITOR
#include <cpu/types.h>