projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat.
[bertos.git]
/
bertos
/
kern
/
proc.c
diff --git
a/bertos/kern/proc.c
b/bertos/kern/proc.c
index 57cda38452f6677c9eb41b658024c7fcb104b232..6bf67a80c189e72040ae0bbc525b1b3f14fcfe51 100644
(file)
--- a/
bertos/kern/proc.c
+++ b/
bertos/kern/proc.c
@@
-157,7
+157,7
@@
void proc_init(void)
* \endcode
* is a more convenient way to create a process, as you don't have to specify
* the name.
* \endcode
* is a more convenient way to create a process, as you don't have to specify
* the name.
- *
+ *
* \return Process structure of new created process
* if successful, NULL otherwise.
*/
* \return Process structure of new created process
* if successful, NULL otherwise.
*/
@@
-252,9
+252,9
@@
struct Process *proc_new_with_name(UNUSED_ARG(const char *, name), void (*entry)
makecontext(&proc->context, (void (*)(void))proc_entry, 1, entry);
#else // !CONFIG_KERN_PREEMPT
makecontext(&proc->context, (void (*)(void))proc_entry, 1, entry);
#else // !CONFIG_KERN_PREEMPT
-
+
CPU_CREATE_NEW_STACK(proc->stack, entry, proc_exit);
CPU_CREATE_NEW_STACK(proc->stack, entry, proc_exit);
-
+
#endif // CONFIG_KERN_PREEMPT
#if CONFIG_KERN_MONITOR
#endif // CONFIG_KERN_PREEMPT
#if CONFIG_KERN_MONITOR