* the GNU General Public License.
*
* Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/)
- * Copyright 1999,2000,2001 Bernardo Innocenti <bernie@develer.com>
+ * Copyright 1999,2000,2001 Bernie Innocenti <bernie@codewiz.org>
*
* -->
*
*
* \version $Id$
*
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
* \author Stefano Fedrigo <aleph@develer.com>
*/
#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() */
#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? */