Changeset 4c7b18e3 in rtems


Ignore:
Timestamp:
May 22, 2018, 7:14:07 AM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
65f868c
Parents:
5ec5503
git-author:
Sebastian Huber <sebastian.huber@…> (05/22/18 07:14:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/15/18 11:02:27)
Message:

Add RTEMS_SYSINIT_CPU_COUNTER

Add initialization step for the CPU counter support.

Update #3456.

Files:
2 edited

Legend:

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

    r5ec5503 r4c7b18e3  
    11/*
    2  * Copyright (c) 2015 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2015, 2018 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
     
    2929#define RTEMS_SYSINIT_BSP_WORK_AREAS             000100
    3030#define RTEMS_SYSINIT_BSP_START                  000200
     31#define RTEMS_SYSINIT_CPU_COUNTER                000300
    3132#define RTEMS_SYSINIT_INITIAL_EXTENSIONS         000400
    3233#define RTEMS_SYSINIT_MP_EARLY                   000500
  • testsuites/sptests/spsysinit01/init.c

    r5ec5503 r4c7b18e3  
    11/*
    2  * Copyright (c) 2015, 2016 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2015, 2018 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
     
    6868  BSP_START_PRE,
    6969  BSP_START_POST,
     70  CPU_COUNTER_PRE,
     71  CPU_COUNTER_POST,
    7072  INITIAL_EXTENSIONS_PRE,
    7173  INITIAL_EXTENSIONS_POST,
     
    219221}
    220222
     223FIRST(RTEMS_SYSINIT_CPU_COUNTER)
     224{
     225  /*
     226   * Since the work performed here is BSP-specific, there is no way to test pre
     227   * and post conditions.
     228   */
     229  next_step(CPU_COUNTER_PRE);
     230}
     231
     232LAST(RTEMS_SYSINIT_CPU_COUNTER)
     233{
     234  next_step(CPU_COUNTER_POST);
     235}
     236
    221237FIRST(RTEMS_SYSINIT_INITIAL_EXTENSIONS)
    222238{
Note: See TracChangeset for help on using the changeset viewer.