1. 04 Dec, 2014 2 commits
    • Alessandro Rubini's avatar
      arch-wrs: replace some RPC with shared memory access · 513151b2
      Alessandro Rubini authored
      The HAL process, in the white rabbit switch, is now exporting data
      structures in shared memory. Thus, we don't need to "get_port_state"
      by RPC, and accessing shared memory is enough.  This change in ppsi
      involves the following changes:
      
      arch-wrs/wrs-startup.c: offer global hal_ports[] for others to use
      (yes, globals are bad, I know...)
      
      arch-wrs/include/ppsi-wrs.h: provide pp_wrs_lookup_port
      
      time-wrs/wrs-socket.c: use shmem. This means some values are now
      hardwired as constants, because they were passed as such from the hal.
      
      arch-wrs/main-loop.c: verify link up or down in the shared mem status
      
      arch-wrs/wrs-calibration.c: wrs_read_calibration_data uses shmem
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      513151b2
    • Alessandro Rubini's avatar
      arch-wrs: added shmem code from libwr · dbb08dae
      Alessandro Rubini authored
      This is respinning a previous commit, based on the new shmem in libwr
      after the feedback and patches by Adam. More headers are inserted,
      as they are included by the ones we use.
      
      hal_shmem.h has one 1-line modification to account for the different
      include path in ppsi, as opposed to wr-switch-sw.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      dbb08dae
  2. 27 Nov, 2014 4 commits
  3. 14 Nov, 2014 1 commit
  4. 13 Nov, 2014 6 commits
  5. 11 Nov, 2014 3 commits
  6. 07 Nov, 2014 8 commits
  7. 04 Nov, 2014 4 commits
  8. 14 Oct, 2014 1 commit
  9. 22 Sep, 2014 4 commits
  10. 06 Aug, 2014 2 commits
  11. 05 Aug, 2014 5 commits