[BACK]Return to config.c CVS log [TXT][DIR] Up to [local] / funnyos / arch / testarm

Diff for /funnyos/arch/testarm/config.c between version 1.12 and 1.16

version 1.12, 2007/11/19 11:21:48 version 1.16, 2008/01/11 15:22:09
Line 3 
Line 3 
  */   */
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/device.h>  #include <sys/device.h>
   #include <sys/kern_sched.h>
 /*  /*
  * Configuration file for platform (testarm).   * Configuration file for platform (testarm).
  */   */
Line 18 
Line 18 
 extern struct driver tairqc_dr;  extern struct driver tairqc_dr;
   
   
   /* putchar & early putchar */
 extern void(*putchar)(char);  extern void(*putchar)(char);
 void    tacons_early_putc(char ch);  void    tacons_early_putc(char ch);
   
   /* tasks */
   extern void hello_enter(void);
   extern void hello2_enter(void);
   
   
 /* amount of physical memory, in Bytes */  /* amount of physical memory, in Bytes */
 uint32_t physmem = 33554432;  uint32_t physmem = 33554432;
   
Line 29 
Line 35 
  */   */
 struct attachinfo config_attachinfo[] = {  struct attachinfo config_attachinfo[] = {
         /* child,   parent, pminor, loc,        intrno, flags */          /* child,   parent, pminor, loc,        intrno, flags */
         { "cpu" ,       "root",         0, 0,                   0,      0 },          { "cpu" ,       "root",         0, 0,                   -1,     0 },
         { "obio",       "root",         0, 0,                   0,      0 },          { "obio",       "root",         0, 0,                   -1,     0 },
         { "tacons",     "obio",         0, 0x10000000,  0,      0 },          { "tacons",     "obio",         0, 0x10000000,  2,      0 },
         { "tartc",      "obio",         0, 0x15000000,  4,  0 },          { "tartc",      "obio",         0, 0x15000000,  4,  0 },
         { "tairqc", "obio",             0, 0x16000000,  0,      0 },          { "tairqc", "obio",             0, 0x16000000,  -1,     0 },
         { "fcons",      "tacons",       0, 0,                   0,      0 },          { "fcons",      "tacons",       0, 0,                   -1,     0 },
         { NULL,         NULL,           0, 0,                   0,  0 }          { NULL,         NULL,           0, 0,                   -1,  0 }
 };  };
   
   
Line 56 
Line 62 
   
   
 /*  /*
    * Tasks.
    */
   struct u_task config_tasklist[] = {
   /* name, priority, enter */
           { "hello", 1, hello_enter },
           { "hello2",1, hello2_enter },
           { NULL,    0, NULL }
   };
   
   
   /*
  * Machine early-stage initialization hooks.   * Machine early-stage initialization hooks.
  */   */
   
Line 67 
Line 84 
          */           */
         /* putchar = tauart_early_putc; */          /* putchar = tauart_early_putc; */
         putchar = tacons_early_putc;          putchar = tacons_early_putc;
   
 }  }
   
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.16

CVSweb