=================================================================== RCS file: /cvs/funnyos/arch/testarm/config.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- funnyos/arch/testarm/config.c 2007/11/19 11:21:48 1.12 +++ funnyos/arch/testarm/config.c 2007/11/20 16:10:52 1.13 @@ -1,9 +1,9 @@ /* - * $Id: config.c,v 1.12 2007/11/19 11:21:48 nbrk Exp $ + * $Id: config.c,v 1.13 2007/11/20 16:10:52 nbrk Exp $ */ #include #include - +#include /* * Configuration file for platform (testarm). */ @@ -18,9 +18,14 @@ extern struct driver tairqc_dr; +/* putchar & early putchar */ extern void(*putchar)(char); void tacons_early_putc(char ch); +/* tasks */ +extern void hello_enter(void); + + /* amount of physical memory, in Bytes */ uint32_t physmem = 33554432; @@ -56,6 +61,16 @@ /* + * Tasks. + */ +struct u_task config_tasklist[] = { +/* name, priority, enter */ + { "hello", 1, hello_enter }, + { NULL, 0, NULL } +}; + + +/* * Machine early-stage initialization hooks. */ @@ -67,6 +82,7 @@ */ /* putchar = tauart_early_putc; */ putchar = tacons_early_putc; + }