=================================================================== RCS file: /cvs/funnyos/arch/testarm/config.c,v retrieving revision 1.13 retrieving revision 1.16 diff -u -r1.13 -r1.16 --- funnyos/arch/testarm/config.c 2007/11/20 16:10:52 1.13 +++ funnyos/arch/testarm/config.c 2008/01/11 15:22:09 1.16 @@ -1,5 +1,5 @@ /* - * $Id: config.c,v 1.13 2007/11/20 16:10:52 nbrk Exp $ + * $Id: config.c,v 1.16 2008/01/11 15:22:09 nbrk Exp $ */ #include #include @@ -24,6 +24,7 @@ /* tasks */ extern void hello_enter(void); +extern void hello2_enter(void); /* amount of physical memory, in Bytes */ @@ -34,13 +35,13 @@ */ struct attachinfo config_attachinfo[] = { /* child, parent, pminor, loc, intrno, flags */ - { "cpu" , "root", 0, 0, 0, 0 }, - { "obio", "root", 0, 0, 0, 0 }, - { "tacons", "obio", 0, 0x10000000, 0, 0 }, + { "cpu" , "root", 0, 0, -1, 0 }, + { "obio", "root", 0, 0, -1, 0 }, + { "tacons", "obio", 0, 0x10000000, 2, 0 }, { "tartc", "obio", 0, 0x15000000, 4, 0 }, - { "tairqc", "obio", 0, 0x16000000, 0, 0 }, - { "fcons", "tacons", 0, 0, 0, 0 }, - { NULL, NULL, 0, 0, 0, 0 } + { "tairqc", "obio", 0, 0x16000000, -1, 0 }, + { "fcons", "tacons", 0, 0, -1, 0 }, + { NULL, NULL, 0, 0, -1, 0 } }; @@ -66,6 +67,7 @@ struct u_task config_tasklist[] = { /* name, priority, enter */ { "hello", 1, hello_enter }, + { "hello2",1, hello2_enter }, { NULL, 0, NULL } };