+/*
+ * Define stack for one process.
+ *
+ * This macro define a static stack for one process and do
+ * check if given stack size is enough to run process.
+ */
+#define PROC_DEFINE_STACK(name, size) \
+ STATIC_ASSERT(size >= CONFIG_KERN_MINSTACKSIZE); \
+ cpu_stack_t name[size / sizeof(cpu_stack_t)]; \
+