Changeset f7c5f94 in rtems


Ignore:
Timestamp:
Feb 2, 2020, 9:53:56 AM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
c344e58
Parents:
eea21eac
git-author:
Sebastian Huber <sebastian.huber@…> (02/02/20 09:53:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/04/20 05:06:42)
Message:

sysinit: Add RTEMS_SYSINIT_ORDER_LAST_BUT_[1-9]

Update #3838.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/sysinit.h

    reea21eac rf7c5f94  
    8888 * order values to form a proper integer literal.
    8989 */
    90 #define RTEMS_SYSINIT_ORDER_FIRST   00
    91 #define RTEMS_SYSINIT_ORDER_SECOND  01
    92 #define RTEMS_SYSINIT_ORDER_THIRD   02
    93 #define RTEMS_SYSINIT_ORDER_FOURTH  03
    94 #define RTEMS_SYSINIT_ORDER_FIFTH   04
    95 #define RTEMS_SYSINIT_ORDER_SIXTH   05
    96 #define RTEMS_SYSINIT_ORDER_SEVENTH 06
    97 #define RTEMS_SYSINIT_ORDER_EIGHTH  07
    98 #define RTEMS_SYSINIT_ORDER_NINETH  08
    99 #define RTEMS_SYSINIT_ORDER_TENTH   09
    100 #define RTEMS_SYSINIT_ORDER_MIDDLE  80
    101 #define RTEMS_SYSINIT_ORDER_LAST    ff
     90#define RTEMS_SYSINIT_ORDER_FIRST      00
     91#define RTEMS_SYSINIT_ORDER_SECOND     01
     92#define RTEMS_SYSINIT_ORDER_THIRD      02
     93#define RTEMS_SYSINIT_ORDER_FOURTH     03
     94#define RTEMS_SYSINIT_ORDER_FIFTH      04
     95#define RTEMS_SYSINIT_ORDER_SIXTH      05
     96#define RTEMS_SYSINIT_ORDER_SEVENTH    06
     97#define RTEMS_SYSINIT_ORDER_EIGHTH     07
     98#define RTEMS_SYSINIT_ORDER_NINETH     08
     99#define RTEMS_SYSINIT_ORDER_TENTH      09
     100#define RTEMS_SYSINIT_ORDER_MIDDLE     80
     101#define RTEMS_SYSINIT_ORDER_LAST_BUT_9 f6
     102#define RTEMS_SYSINIT_ORDER_LAST_BUT_8 f7
     103#define RTEMS_SYSINIT_ORDER_LAST_BUT_7 f8
     104#define RTEMS_SYSINIT_ORDER_LAST_BUT_6 f9
     105#define RTEMS_SYSINIT_ORDER_LAST_BUT_5 fa
     106#define RTEMS_SYSINIT_ORDER_LAST_BUT_4 fb
     107#define RTEMS_SYSINIT_ORDER_LAST_BUT_3 fc
     108#define RTEMS_SYSINIT_ORDER_LAST_BUT_2 fd
     109#define RTEMS_SYSINIT_ORDER_LAST_BUT_1 fe
     110#define RTEMS_SYSINIT_ORDER_LAST       ff
    102111
    103112typedef void ( *rtems_sysinit_handler )( void );
  • testsuites/sptests/spsysinit01/init.c

    reea21eac rf7c5f94  
    149149  LAST_TENTH,
    150150  LAST_MIDDLE,
     151  LAST_LAST_BUT_9,
     152  LAST_LAST_BUT_8,
     153  LAST_LAST_BUT_7,
     154  LAST_LAST_BUT_6,
     155  LAST_LAST_BUT_5,
     156  LAST_LAST_BUT_4,
     157  LAST_LAST_BUT_3,
     158  LAST_LAST_BUT_2,
     159  LAST_LAST_BUT_1,
    151160  LAST_LAST,
    152161  INIT_TASK,
     
    642651LAST_STEP(TENTH);
    643652LAST_STEP(MIDDLE);
     653LAST_STEP(LAST_BUT_9);
     654LAST_STEP(LAST_BUT_8);
     655LAST_STEP(LAST_BUT_7);
     656LAST_STEP(LAST_BUT_6);
     657LAST_STEP(LAST_BUT_5);
     658LAST_STEP(LAST_BUT_4);
     659LAST_STEP(LAST_BUT_3);
     660LAST_STEP(LAST_BUT_2);
     661LAST_STEP(LAST_BUT_1);
    644662LAST_STEP(LAST);
    645663
Note: See TracChangeset for help on using the changeset viewer.