1. 03 Apr, 2013 1 commit
    • Alessandro Rubini's avatar
      lib: add usleep.c (and call its own init from main) · 3497d157
      Alessandro Rubini authored
      This adds a real usleep implementation. The init function calculates
      the "loops per jiffy" variable, by watching the timer ticks before
      interrupts are enabled by spll_init().  This init takes 40ms.
      Then, the udelay runs the same loop used in calculating lpj, and
      is thus correct (it will be slower because we have interrupts running
      at run time, but this is not a problem).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
  2. 29 Mar, 2013 1 commit
    • Alessandro Rubini's avatar
      trivial: headers: include two files more · ae19fd81
      Alessandro Rubini authored
      1- wrc.h now includes syscon.h. This is a prerequisite to a non-inline
      implementation of usleep (the current inline one is just a random
      loop, 10x wrong on the spec). Without this we should modify sockitowm
      where it calls usleep, but I'd better not touch sockitowm.
      2- syscon.h includes <sys/types.h>.  This is needed to have
      useconds_t.  I'd better have usleep take unsigned long, but some file
      already includes sys/types.h, so our prototype must match that one.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
  3. 14 Feb, 2013 1 commit
  4. 12 Feb, 2013 1 commit
  5. 05 Oct, 2012 2 commits
    • Alessandro Rubini's avatar
      Run ./scripts/Lindent on all .c and .h files · e625cbd9
      Alessandro Rubini authored
      This is massive: 4k lines changed (but only 840 if you ignore
      space-only changes).  In this case "git blame -w" won't always find
      the right patch, and it may fall on this patch -- because those
      800 lines changed in content too.
      This has been done with
         find . -name '*.[ch]' | xargs -n 1 ./scripts/Lindent
      Statistics: all changes and ignoring blank space:
         morgana% git diff --stat HEAD~1 | tail -1
          77 files changed, 3774 insertions(+), 3709 deletions(-)
         morgana% git diff -w --stat HEAD~1 | tail -1
          61 files changed, 894 insertions(+), 829 deletions(-)
      However, after this step I hand-fixed some very ugly long expressions
      (leaving them long: no content change at all is there).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    • Alessandro Rubini's avatar
      Remove all spaces at end-of-line · 1d24ecfb
      Alessandro Rubini authored
      If you find this patch with "git blame" please use "git blame -w"
      to have all white-space ignored while associating lines to commits.
      This commit has no practical effect but cleanup. I made it
      with sed like this:
        git grep -l '[ \t]$' | xargs sed -i 's/[ \t]*$//'
      However, I had to manually restore doc/wrpc_mon.png after the fact.
      Similarly, I restored the include/hw/*regs.h files, as they
      are (most likely) auto-generated.
  6. 09 Jul, 2012 1 commit
  7. 05 Jun, 2012 1 commit
  8. 31 May, 2012 1 commit
  9. 17 Mar, 2012 1 commit
  10. 07 Mar, 2012 1 commit
  11. 13 Dec, 2011 1 commit