projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename myself
[bertos.git]
/
bertos
/
kern
/
proc.c
diff --git
a/bertos/kern/proc.c
b/bertos/kern/proc.c
index 0d17074119378b1da2526001168f72b6018cd160..1fdf9f353f97aadedf46cbf85000efa4cec2ba74 100644
(file)
--- a/
bertos/kern/proc.c
+++ b/
bertos/kern/proc.c
@@
-27,7
+27,7
@@
* the GNU General Public License.
*
* Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/)
* the GNU General Public License.
*
* Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/)
- * Copyright 1999,2000,2001 Bern
ardo Innocenti <bernie@develer.com
>
+ * Copyright 1999,2000,2001 Bern
ie Innocenti <bernie@codewiz.org
>
*
* -->
*
*
* -->
*
@@
-36,7
+36,7
@@
*
* \version $Id$
*
*
* \version $Id$
*
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
* \author Stefano Fedrigo <aleph@develer.com>
*/
* \author Stefano Fedrigo <aleph@develer.com>
*/
@@
-44,7
+44,7
@@
#include "proc_p.h"
#include "proc.h"
#include "proc_p.h"
#include "proc.h"
-#include
<cfg/cfg_arch.h>
/* ARCH_EMUL */
+#include
"cfg/cfg_arch.h"
/* ARCH_EMUL */
#include <cfg/debug.h>
#include <cfg/module.h>
#include <cfg/macros.h> /* ABS() */
#include <cfg/debug.h>
#include <cfg/module.h>
#include <cfg/macros.h> /* ABS() */
@@
-152,8
+152,8
@@
struct Process *proc_new_with_name(UNUSED(const char *, name), void (*entry)(voi
#if (ARCH & ARCH_EMUL)
/* Ignore stack provided by caller and use the large enough default instead. */
#if (ARCH & ARCH_EMUL)
/* Ignore stack provided by caller and use the large enough default instead. */
- stack_base = (cpustack_t *)
LIST_HEAD
(&StackFreeList);
- REMOVE(LIST_HEAD(&StackFreeList));
+ stack_base = (cpustack_t *)
list_remHead
(&StackFreeList);
+
stacksize = CONFIG_PROC_DEFSTACKSIZE;
#elif CONFIG_KERN_HEAP
/* Did the caller provide a stack for us? */
stacksize = CONFIG_PROC_DEFSTACKSIZE;
#elif CONFIG_KERN_HEAP
/* Did the caller provide a stack for us? */