Changeset efcac22 in rtems


Ignore:
Timestamp:
Aug 24, 2017, 1:41:38 PM (2 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
master
Children:
8570ad2
Parents:
7f13fae8
git-author:
Daniel Hellstrom <daniel@…> (08/24/17 13:41:38)
git-committer:
Daniel Hellstrom <daniel@…> (08/29/17 06:44:13)
Message:

leon,grascs: fix semaphore policies

Closes #2726

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/ascs/grascs.c

    r7f13fae8 refcac22  
    209209  /* Create semaphores for blocking ASCS_TC/TM functions */
    210210  if(rtems_semaphore_create(rtems_build_name('A','S','C','0'),1,
    211                             (RTEMS_FIFO|RTEMS_BINARY_SEMAPHORE|
     211                            (RTEMS_FIFO|RTEMS_SIMPLE_BINARY_SEMAPHORE|
    212212                             RTEMS_NO_INHERIT_PRIORITY|RTEMS_LOCAL|
    213213                             RTEMS_NO_PRIORITY_CEILING), 0,
     
    224224    goto init_error2;
    225225  }
     226  /* Create semaphores for waiting on ASCS_TC/TM interrupt */
    226227  if(rtems_semaphore_create(rtems_build_name('A','S','C','2'),0,
    227                             (RTEMS_FIFO|RTEMS_BINARY_SEMAPHORE|
     228                            (RTEMS_FIFO|RTEMS_SIMPLE_BINARY_SEMAPHORE|
    228229                             RTEMS_NO_INHERIT_PRIORITY|RTEMS_LOCAL|
    229230                             RTEMS_NO_PRIORITY_CEILING), 0,
Note: See TracChangeset for help on using the changeset viewer.