1. 20 Sep, 2016 37 commits
  2. 14 Sep, 2016 3 commits
    • Adam Wujek's avatar
      Merge branch 'adam-shmem' · 96a78e15
      Adam Wujek authored
      Uplift shmem from wr-switch-sw repo.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      96a78e15
    • Adam Wujek's avatar
      arch-wrs: check shmem consistency in wrs_shm_get_and_check · d5e619c5
      Adam Wujek authored
      Commit based on the commit from wrs-switch-sw repo described below. It does
      not have impact on PPSI, just for consistency.
      
      userspace/libwr: check shmem consistency in wrs_shm_get_and_check
      
      Check the consistency of shmem during opening with wrs_shm_get_and_check.
      It was possible that sequence number was increased during the opening, but it
      was interpreted as version error.
      
      Add defines describing different return errors.
      
      This change is backward compatible.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      d5e619c5
    • Adam Wujek's avatar
      arch-wrs: improve locking of shmem · 15076cb6
      Adam Wujek authored
      Commit based on the commit from wrs-switch-sw described below.
      
      userspace/libwr: improve locking of shmem
      
      Keep explicitly lock bit in the sequence variable as a LSB bit.
      This solution is backward compatible. The difference is only when shmem is
      lock twice. Before it was treated as unlocked, now still as a lock.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      15076cb6