Changeset c4ccf26c in rtems for bsps/sparc


Ignore:
Timestamp:
Apr 17, 2018, 4:57:46 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
0510cd50
Parents:
a884df3
git-author:
Sebastian Huber <sebastian.huber@…> (04/17/18 04:57:46)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/20/18 07:49:36)
Message:

bsps: Convert all bsp_predriver_hook()

Use RTEMS_SYSINIT_ITEM() instead.

Update #2408.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • bsps/sparc/erc32/start/bspstart.c

    ra884df3 rc4ccf26c  
    1313#include <bsp.h>
    1414#include <bsp/bootcard.h>
     15#include <rtems/sysinit.h>
    1516
    1617/*
    17  *  bsp_predriver_hook
    18  *
    19  *  BSP predriver hook. Called just before drivers are initialized.
    20  *  Is used to initialize shared interrupt handling.
     18 * Called just before drivers are initialized.  Is used to initialize shared
     19 * interrupt handling.
    2120 */
    22 void bsp_predriver_hook( void )
     21static void erc32_pre_driver_hook( void )
    2322{
    2423  bsp_spurious_initialize();
     
    2928  BSP_shared_interrupt_init();
    3029}
     30
     31RTEMS_SYSINIT_ITEM(
     32  erc32_pre_driver_hook,
     33  RTEMS_SYSINIT_BSP_PRE_DRIVERS,
     34  RTEMS_SYSINIT_ORDER_MIDDLE
     35);
     36
     37void bsp_start(void)
     38{
     39  /* Nothing to do */
     40}
Note: See TracChangeset for help on using the changeset viewer.