Changeset c4ccf26c in rtems for bsps/m68k/mrm332


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/m68k/mrm332/start/bspstart.c

    ra884df3 rc4ccf26c  
    1010#include <bsp.h>
    1111#include <bsp/bootcard.h>
     12#include <rtems/sysinit.h>
    1213
    1314extern void Spurious_Initialize(void);
    1415
    1516/*
    16  *  Call Spurious_Initialize in bsp_predriver_hook because
    17  *  bsp_predriver_hook is call after the _ISR_Vector_Table allocation
     17 * Must be called after the _ISR_Vector_Table allocation
    1818 */
    19 void bsp_predriver_hook(void)
     19RTEMS_SYSINIT_ITEM(
     20  Spurious_Initialize,
     21  RTEMS_SYSINIT_BSP_PRE_DRIVERS,
     22  RTEMS_SYSINIT_ORDER_MIDDLE
     23);
     24
     25void bsp_start(void)
    2026{
    21   Spurious_Initialize();
     27  /* Nothing to do */
    2228}
Note: See TracChangeset for help on using the changeset viewer.