=================================================================== RCS file: /cvs/funnyos/kern/kern_main.c,v retrieving revision 1.4 retrieving revision 1.8 diff -u -r1.4 -r1.8 --- funnyos/kern/kern_main.c 2007/11/19 10:39:28 1.4 +++ funnyos/kern/kern_main.c 2007/12/20 15:27:08 1.8 @@ -1,10 +1,11 @@ /* - * $Id: kern_main.c,v 1.4 2007/11/19 10:39:28 nbrk Exp $ + * $Id: kern_main.c,v 1.8 2007/12/20 15:27:08 nbrk Exp $ */ #include #include #include #include +#include #include @@ -17,14 +18,21 @@ /* set up critical devices */ config_machineinit(); + printf("Welcome to FunnyOS!\n"); + /* initialize kmalloc */ kmem_init(); /* attach all devices described in arch/${ARCH}/config.c */ devconfig_recurse(); - /* initialise system clock; this will start interrupts from timer */ +#ifndef ARCH_SAM7S64 + /* initialize scheduler before enabling system ticks */ +// sched_init(); + + /* initialize system clock; this will start interrupts from timer */ // sysclock_init(); +#endif while(1) ;