Changeset 20d7093a in rtems


Ignore:
Timestamp:
Dec 9, 2015, 10:21:12 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ac78f35
Parents:
37030e3
git-author:
Sebastian Huber <sebastian.huber@…> (12/09/15 10:21:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/10/15 07:32:36)
Message:

bsps/virtex*: Use default bsp_pretasking_hook()

Update #2408.

Location:
c/src/lib/libbsp/powerpc
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/virtex4/Makefile.am

    r37030e3 r20d7093a  
    3333                   ../../shared/bsplibc.c \
    3434                   ../../shared/bspgetworkarea.c \
     35                   ../../shared/bsppretaskinghook.c \
    3536                   ../../shared/bsppost.c \
    3637                   startup/bspstart.c \
  • c/src/lib/libbsp/powerpc/virtex4/start/start.S

    r37030e3 r20d7093a  
    285285        *
    286286        * boot_card() supervises the initialization of RTEMS and the C
    287         * library.  It calls bsp_start(), bsp_pretasking_hook(), etc.
     287        * library.  It calls bsp_start(), bsp_predriver_hook(), etc.
    288288        *------------------------------------------------------------------*/
    289289        lwz     r2,toc_pointer-base_addr(r1)        /* set r2 to toc */
  • c/src/lib/libbsp/powerpc/virtex4/startup/bspstart.c

    r37030e3 r20d7093a  
    108108
    109109void app_bsp_start(void)
    110 __attribute__(( weak, alias("_noopfun") ));
    111 
    112 void app_bsp_pretasking_hook(void)
    113110__attribute__(( weak, alias("_noopfun") ));
    114111
     
    236233
    237234/*
    238  *  BSP pretasking hook.  Called just before drivers are initialized.
    239  *  Used to setup libc and install any BSP extensions.
    240  *
    241  *  Must not use libc (to do io) from here, since drivers are not yet
    242  *  initialized.
    243  */
    244 
    245 void bsp_pretasking_hook(void)
    246 {
    247   app_bsp_pretasking_hook();
    248 }
    249 
    250 
    251 /*
    252235 *  BSP predriver hook.  Called by boot_card() just before drivers are
    253236 *  initialized.  Clear out any stale interrupts here.
  • c/src/lib/libbsp/powerpc/virtex5/Makefile.am

    r37030e3 r20d7093a  
    3232                   ../../shared/bsplibc.c \
    3333                   ../../shared/bspgetworkarea.c \
     34                   ../../shared/bsppretaskinghook.c \
    3435                   ../../shared/bsppost.c \
    3536                   startup/bspstart.c \
  • c/src/lib/libbsp/powerpc/virtex5/start/start.S

    r37030e3 r20d7093a  
    377377        *
    378378        * boot_card() supervises the initialization of RTEMS and the C
    379         * library.  It calls bsp_start(), bsp_pretasking_hook(), etc.
     379        * library.  It calls bsp_start(), bsp_predriver_hook(), etc.
    380380        *------------------------------------------------------------------*/
    381381        lwz     r2,toc_pointer-base_addr(r1)        /* set r2 to toc */
  • c/src/lib/libbsp/powerpc/virtex5/startup/bspstart.c

    r37030e3 r20d7093a  
    122122
    123123void app_bsp_start(void)
    124 __attribute__(( weak, alias("_noopfun") ));
    125 
    126 void app_bsp_pretasking_hook(void)
    127124__attribute__(( weak, alias("_noopfun") ));
    128125
     
    257254
    258255/*
    259  *  BSP pretasking hook.  Called just before drivers are initialized.
    260  *  Used to setup libc and install any BSP extensions.
    261  *
    262  *  Must not use libc (to do io) from here, since drivers are not yet
    263  *  initialized.
    264  */
    265 
    266 void bsp_pretasking_hook(void)
    267 {
    268   app_bsp_pretasking_hook();
    269 }
    270 
    271 
    272 /*
    273256 *  BSP predriver hook.  Called by boot_card() just before drivers are
    274257 *  initialized.  Clear out any stale interrupts here.
Note: See TracChangeset for help on using the changeset viewer.