Changeset faf168f in rtems


Ignore:
Timestamp:
Dec 3, 2007, 10:26:03 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
92659697
Parents:
e13e90c
Message:

2007-12-03 Joel Sherrill <joel.sherrill@…>

  • startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
Location:
c/src/lib/libbsp
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mrm332/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
    211
  • c/src/lib/libbsp/m68k/mrm332/startup/bspstart.c

    re13e90c rfaf168f  
    6464  extern unsigned long _M68k_Ramsize;
    6565
    66   _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
    67 
    68   /*
    69    *  we only use a hook to get the C library initialized.
    70    */
    71 
    72   Cpu_table.pretasking_hook = bsp_pretasking_hook;
    73   Cpu_table.predriver_hook  = bsp_predriver_hook;
    74   Cpu_table.postdriver_hook = bsp_postdriver_hook;
     66  /* RAM size set in linker script */
     67  _M68k_Ramsize = (unsigned long)&_RamSize;
    7568
    7669  m68k_get_vbr( vbr );
    7770
    7871  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    79 
    80   /* Clock_exit is done as an atexit() function */
    8172}
  • c/src/lib/libbsp/m68k/mvme147/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
    211
  • c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c

    re13e90c rfaf168f  
    5959  extern unsigned long  _M68k_Ramsize;
    6060
    61   _M68k_Ramsize = (unsigned long)&_RamSize;             /* RAM size set in linker script */
     61  /* RAM size set in linker script */
     62  _M68k_Ramsize = (unsigned long)&_RamSize;
    6263
    6364  monitors_vector_table = (m68k_isr_entry *)0;   /* 135Bug Vectors are at 0 */
     
    8687   */
    8788
    88   Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    89   Cpu_table.postdriver_hook = bsp_postdriver_hook;
    9089  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    9190
  • c/src/lib/libbsp/m68k/sim68000/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-05-03      Joel Sherrill <joel@OARcorp.com>
    211
  • c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c

    re13e90c rfaf168f  
    5959  extern unsigned long  _M68k_Ramsize;
    6060
    61   _M68k_Ramsize = (unsigned long)&_RamSize; /* RAM size set in linker script */
    62 
    6361#if defined(mcpu32)
    6462#warning "do something about vectors!!!"
     
    6866   *  Clear interrupt sources.
    6967   */
    70 
    71   Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    72   Cpu_table.predriver_hook  = bsp_predriver_hook;
    73   Cpu_table.postdriver_hook = bsp_postdriver_hook;
    7468
    7569/* XXX address shutdown
  • c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-04-12      Ralf Corsépius <ralf.corsepius@rtems.org>
    211
  • c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c

    re13e90c rfaf168f  
    9999   */
    100100
    101   Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    102   Cpu_table.postdriver_hook = bsp_postdriver_hook;
    103101  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    104102}
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-12-02      Till Straumann <strauman@slac.stanford.edu>
    211
  • c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c

    re13e90c rfaf168f  
    370370  Read_ep1a_config_registers( myCpu );
    371371
    372   /*
    373    * Set up our hooks
    374    * Make sure libc_init is done before drivers initialized so that
    375    * they can use atexit()
    376    */
    377                                                                                                                    
    378   Cpu_table.pretasking_hook      = bsp_pretasking_hook;    /* init libc, etc. */
    379   Cpu_table.postdriver_hook      = bsp_postdriver_hook;
    380372  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    381373
  • c/src/lib/libbsp/powerpc/gen405/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-11-30      Till Straumann <strauman@slac.stanford.edu>
    211
  • c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c

    re13e90c rfaf168f  
    187187   */
    188188
    189   Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    190   Cpu_table.predriver_hook  = bsp_predriver_hook;
    191   Cpu_table.postdriver_hook = bsp_postdriver_hook;
    192189  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    193190
  • c/src/lib/libbsp/powerpc/gen5200/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-11-30      Till Straumann <strauman@slac.stanford.edu>
    211
  • c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c

    re13e90c rfaf168f  
    292292   */
    293293
    294   Cpu_table.pretasking_hook        = bsp_pretasking_hook;    /* init libc, etc. */
    295   Cpu_table.predriver_hook         = bsp_predriver_hook;     /* init PCI / RTC ...   */
    296   Cpu_table.postdriver_hook        = bsp_postdriver_hook;
    297 
    298294  if( Cpu_table.interrupt_stack_size < 4*1024 )
    299295    Cpu_table.interrupt_stack_size = 4 * 1024;
    300296
    301  bsp_clicks_per_usec        = (IPB_CLOCK/1000000);
     297 bsp_clicks_per_usec    = (IPB_CLOCK/1000000);
    302298
    303299 /*
  • c/src/lib/libbsp/powerpc/helas403/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-11-30      Till Straumann <strauman@slac.stanford.edu>
    211
  • c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c

    re13e90c rfaf168f  
    177177   */
    178178
    179   Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    180   Cpu_table.predriver_hook  = bsp_predriver_hook;
    181   Cpu_table.postdriver_hook = bsp_postdriver_hook;
    182179  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    183180
  • c/src/lib/libbsp/powerpc/virtex/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-11-30      Till Straumann <strauman@slac.stanford.edu>
    211
  • c/src/lib/libbsp/powerpc/virtex/startup/bspstart.c

    re13e90c rfaf168f  
    204204   */
    205205
    206   Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    207   Cpu_table.predriver_hook  = bsp_predriver_hook;
    208   Cpu_table.postdriver_hook = bsp_postdriver_hook;
    209206  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    210207
  • c/src/lib/libbsp/unix/posix/ChangeLog

    re13e90c rfaf168f  
     12007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Moved most of the remaining CPU Table fields to
     4        the Configuration Table. This included pretasking_hook,
     5        predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
     6        extra_mpci_receive_server_stack, stack_allocate_hook, and
     7        stack_free_hook. As a side-effect of this effort some multiprocessing
     8        code was made conditional and some style clean up occurred.
     9
    1102007-08-07      Joel Sherrill <joel.sherrill@OARcorp.com>
    211
  • c/src/lib/libbsp/unix/posix/startup/bspstart.c

    re13e90c rfaf168f  
    180180
    181181    /*
    182      * Set up our hooks
    183      * Make sure libc_init is done before drivers init'd so that
    184      * they can use atexit()
    185      */
    186 
    187     Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    188 
    189     Cpu_table.predriver_hook = NULL;
    190 
    191     Cpu_table.postdriver_hook = bsp_postdriver_hook;
    192 
    193     Cpu_table.idle_task = NULL;  /* do not override system IDLE task */
    194 
    195     /*
    196      *  Don't zero out the workspace since it is in the BSS under UNIX.
    197      */
    198 
    199     Cpu_table.do_zero_of_workspace = FALSE;
    200 
    201     /*
    202182     * XXX; interrupt stack not currently used, so this doesn't matter
    203183     */
    204184
    205185    Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    206 
    207     Cpu_table.extra_mpci_receive_server_stack = 0;
    208186
    209187    /*
Note: See TracChangeset for help on using the changeset viewer.