* Copyright 1999, 2000, 2001, 2008 Bernie Innocenti <bernie@codewiz.org>
* -->
*
- * \brief Simple realtime multitasking scheduler.
- * Context switching is only done cooperatively.
+ * \brief Simple cooperative multitasking scheduler.
*
* \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
#include <cpu/attr.h>
#include <cpu/frame.h>
+#if CONFIG_KERN_HEAP
+ #include <struct/heap.h>
+#endif
+
#include <string.h> /* memset() */
// Check config dependencies
#endif /* ARCH_EMUL */
CurrentProcess = NULL;
- proc_schedule();
+ proc_switch();
/* not reached */
}