1. 06 Apr, 2017 1 commit
  2. 27 Feb, 2017 3 commits
  3. 31 Jan, 2017 1 commit
  4. 13 Jan, 2017 2 commits
  5. 15 Dec, 2016 1 commit
  6. 07 Dec, 2016 1 commit
  7. 01 Dec, 2016 3 commits
  8. 21 Nov, 2016 1 commit
  9. 03 Nov, 2016 1 commit
  10. 25 Oct, 2016 2 commits
  11. 30 Sep, 2016 3 commits
  12. 20 Sep, 2016 3 commits
  13. 14 Sep, 2016 3 commits
    • 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
    • Adam Wujek's avatar
      arch-wrs: Print error message on multiple shmem locks · 0f620301
      Adam Wujek authored
      Commit based on the commit mentioned below from wr-switch-sw repo.
      It required to add a header wrs-msg.h to support "pr_error" function.
      "pr_error" will be printed as regular error, all other pr_* are ignored.
      
      userspace/libwr: Print error message on multiple shmem locks
      
      Print error message when shmem is locked or unlocked multiple times.
      To be precise it will print error only on even locks or unlocks.
      
      Move the increment of sequence before checking the flags to simplify further
      if-conditions.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      0f620301
  14. 25 Aug, 2016 1 commit
  15. 16 May, 2016 2 commits
  16. 12 May, 2016 1 commit
  17. 11 May, 2016 1 commit
  18. 01 Sep, 2015 1 commit
    • Alessandro Rubini's avatar
      general: cleanup prototypes · 1acf50d1
      Alessandro Rubini authored
      This adds -Wstrict-prototypes -Wmissing-prototypes and takes actions
      accordingly.
      
      Some of the solutions are ugly, especially in the bare architectures,
      but I prefer to be warned if I take dangerous paths wrt prototypes while
      writing further code.
      
      I'm upset by those two not being included in -Wall, as they used to.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      1acf50d1
  19. 21 Jul, 2015 1 commit
  20. 10 Jul, 2015 1 commit
  21. 09 Jul, 2015 1 commit
  22. 06 Jul, 2015 3 commits
  23. 01 Jul, 2015 1 commit
  24. 26 Jun, 2015 2 commits