1. 30 Oct, 2015 1 commit
    • Alessandro Rubini's avatar
      general: add missing copyright notes. · 5e844431
      Alessandro Rubini authored
      This commit fixes all copyright notes, using "git blame" as a
      reference.  For simple files I just added a 2-lines boilerplate about
      being WR and GPL.
      
      Some parts I left untouched:
      
        trivial-init and related files (unclear to me what this is,
        and pf-microcode.h is magic binary pfilter values).
      
        tools/lm32-etheruart: I don't know what this is and who the author is
      
        libsdbfs: this comes from another repo and I'd better not change it
      
        sfp_lib.h and hal_shmem.h: I lost track about the origin of this,
        among the several packages.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      5e844431
  2. 30 Jun, 2015 1 commit
    • Adam Wujek's avatar
      wrs_main: check for stack overflow and detect reset · da3da2d9
      Adam Wujek authored
      Add checking stack overflow and detecting reset to wrs. Code common for wrpc
      and wrs is placed in system_checks.c and .h. Work is based on following
      commits in wrc_main.c:
      1704a668 main: check for stack overflow
      7836c39e Optionally detect reset and print a stack trace
      
      Additionally:
      --update Kconfig to have a possibility to select CHECK_RESET also for switch,
        not only for node as before
      --and _endram to ram-wrs.ld
      
      When "stack overflow" occurs then message is printed once every second.
      When reset occours then LM32 will print stack trace and reset once more.
      NOTE: I couldn't get spll to work after reset, for sure problem is in
            ad9516 init function, but not only there.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      da3da2d9