1. 01 Dec, 2016 1 commit
  2. 30 Aug, 2016 1 commit
  3. 11 Aug, 2016 2 commits
  4. 22 Jul, 2015 2 commits
  5. 09 Jul, 2015 1 commit
  6. 04 Mar, 2015 2 commits
  7. 19 Feb, 2015 1 commit
  8. 19 Jan, 2015 1 commit
  9. 16 Jan, 2015 3 commits
  10. 09 Jan, 2015 1 commit
  11. 10 Dec, 2014 1 commit
  12. 05 Dec, 2014 1 commit
    • Alessandro Rubini's avatar
      userspace: remove at91 headers · e6495ad0
      Alessandro Rubini authored
      The files in userspace/include/at91 were not used.
      Some were straight copies for linux headers, so including
      <mach/at91_pio.h> instead of <at91/at91_pio.h> makes our copy
      irrelevant.  This means both the hal and rtud must include from
      $LINUX, but this was already a requirement for other userspace stuff.
      The Makefiles are now fixed to do that.
      at91sam9g45.h was only used for AT91C_BASE_SYS, which is no more.
      This is trivially 4k-before-the-end, to mmap the end page.  We were
      already defining AT91C_BASE_SYS_RAW to the exact same value (only,
      AT91C_BASE_SYS was a pointer to structure), so the header could go as
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
  13. 28 Nov, 2014 4 commits
    • Alessandro Rubini's avatar
      usersspace/hal: massive (manual) rename within hal_ports.c · 542f276e
      Alessandro Rubini authored
      After this commit, all symbols in hal_ports are of the form hal_port_*
      (all but one, that is not used and I'll remove it in another commit).
      I'm not smart enough to track the origin of the various names, so I
      need this.  I need this especially in this file because I'm going to
      export stuff using shmem, to avoid a lot of context switches.
      Thus, the "private" structure hal_port_state is not a typedef any
      more, as a first step in becoming public. It doesn't make sense to
      have two almost-identical structures, where one is copied to the other
      one item at a time to deal with the minor differences. (It happened
      for some reason: I'm not complaining hard, but it's time to get rid of
      Unfortunately, two functions were called "halexp", and relied on a
      prototype shared by the RPC server (this file) and the RPC client.
      While the convention made sense at first, it now shows its limits, so
      the exported one is called hal_port_* like everything in the file, but
      for this I need to add structure names (but I left the typedef at this
      point, to avoid massive name changes around).
      If I didn't introduce bugs, the code is the same as it was. I did it
      one symbol at a time while build-checking each steps (and I even have
      the commits to track any error).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    • Alessandro Rubini's avatar
      userspace/include/fpga_io.h: bugfix in #define · 95e8ba67
      Alessandro Rubini authored
      pps_gen.c had a missing semicolon because of this bug. Fix the
      macro to behave properly withing if/else. And fix the user, adding
      the missing semicolon.
      We all know that these two functions should be static inline, and the
      fpga base pointer should be void *, but that's for later.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    • Alessandro Rubini's avatar
      userspace/include/fpga_io.h: reindent to make it more readable · ef3ed69f
      Alessandro Rubini authored
      This header is almost obsolete, as we'll move to SDB soon.
      Meanwhile, sort out the tab/space mess and indent with spaces only,
      so it looks good to everybody (including greg who insists on one
      tab every 2 spaces -- which works for indentation, but not for
      for alignment at end-of-line).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    • Alessandro Rubini's avatar
      userspace/hal: move public headers to userspace/include · 42539804
      Alessandro Rubini authored
      This allows private headers to be clearly private (in userspace/wrsw_hal/).
      rt_ipc.h is used by phytool too, so it is not private and is now in include/.
      As a side effect, remove -I../wrs_hal from makefile.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
  14. 20 Nov, 2014 1 commit
  15. 19 Nov, 2014 12 commits
  16. 17 Oct, 2014 4 commits
  17. 24 Sep, 2014 1 commit
  18. 12 Jun, 2014 1 commit