Changeset 73f2ddb in rtems


Ignore:
Timestamp:
May 30, 2016, 8:43:31 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
a65b02d
Parents:
3692095
git-author:
Sebastian Huber <sebastian.huber@…> (05/30/16 08:43:31)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/30/16 14:16:24)
Message:

rtems: Fix semaphore field name

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/monitor/mon-sema.c

    r3692095 r73f2ddb  
    8888#endif
    8989      case SEMAPHORE_VARIANT_SIMPLE_BINARY:
    90         canonical_sema->cur_count = rtems_sema->Core_control.semaphore.count;
     90        canonical_sema->cur_count = rtems_sema->Core_control.Semaphore.count;
    9191        canonical_sema->max_count = 1;
    9292        break;
    9393      case SEMAPHORE_VARIANT_COUNTING:
    94         canonical_sema->cur_count = rtems_sema->Core_control.semaphore.count;
     94        canonical_sema->cur_count = rtems_sema->Core_control.Semaphore.count;
    9595        canonical_sema->max_count = UINT32_MAX;
    9696        break;
  • cpukit/rtems/include/rtems/rtems/sem.h

    r3692095 r73f2ddb  
    9090     *  API Semaphore instance.
    9191     */
    92     CORE_semaphore_Control semaphore;
     92    CORE_semaphore_Control Semaphore;
    9393
    9494#if defined(RTEMS_SMP)
  • cpukit/rtems/src/semcreate.c

    r3692095 r73f2ddb  
    148148    the_semaphore->variant = SEMAPHORE_VARIANT_COUNTING;
    149149    _CORE_semaphore_Initialize(
    150       &the_semaphore->Core_control.semaphore,
     150      &the_semaphore->Core_control.Semaphore,
    151151      count
    152152    );
     
    155155    the_semaphore->variant = SEMAPHORE_VARIANT_SIMPLE_BINARY;
    156156    _CORE_semaphore_Initialize(
    157       &the_semaphore->Core_control.semaphore,
     157      &the_semaphore->Core_control.Semaphore,
    158158      count != 0
    159159    );
  • cpukit/rtems/src/semobtain.c

    r3692095 r73f2ddb  
    3535THREAD_QUEUE_OBJECT_ASSERT(
    3636  Semaphore_Control,
    37   Core_control.semaphore.Wait_queue
     37  Core_control.Semaphore.Wait_queue
    3838);
    3939
     
    119119      );
    120120      status = _CORE_semaphore_Seize(
    121         &the_semaphore->Core_control.semaphore,
     121        &the_semaphore->Core_control.Semaphore,
    122122        _Semaphore_Get_operations( the_semaphore ),
    123123        executing,
  • cpukit/rtems/src/semrelease.c

    r3692095 r73f2ddb  
    7474    case SEMAPHORE_VARIANT_SIMPLE_BINARY:
    7575      status = _CORE_semaphore_Surrender(
    76         &the_semaphore->Core_control.semaphore,
     76        &the_semaphore->Core_control.Semaphore,
    7777        _Semaphore_Get_operations( the_semaphore ),
    7878        1,
     
    9797      _Assert( the_semaphore->variant == SEMAPHORE_VARIANT_COUNTING );
    9898      status = _CORE_semaphore_Surrender(
    99         &the_semaphore->Core_control.semaphore,
     99        &the_semaphore->Core_control.Semaphore,
    100100        _Semaphore_Get_operations( the_semaphore ),
    101101        UINT32_MAX,
  • testsuites/sptests/spintrcritical22/init.c

    r3692095 r73f2ddb  
    6565        == (THREAD_WAIT_CLASS_OBJECT | THREAD_WAIT_STATE_READY_AGAIN)
    6666    );
    67     sem = &ctx->semaphore_control->Core_control.semaphore;
     67    sem = &ctx->semaphore_control->Core_control.Semaphore;
    6868    rtems_test_assert(sem->count == 0);
    6969  } else {
Note: See TracChangeset for help on using the changeset viewer.