Skip to content
  1. Apr 01, 2018
  2. Feb 01, 2018
  3. Oct 06, 2017
    • Gregory Nutt's avatar
      Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ... · 936df1bc
      Gregory Nutt authored
      Adds new OS internal functions nxsig_sleep() and nxsig_usleep.  These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable).  All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep().
      
      Squashed commit of the following:
      
          Change all calls to usleep() in the OS proper to calls to nxsig_usleep()
      
          sched/signal:  Add a new OS internal function nxsig_usleep() that is functionally equivalent to usleep() but does not cause a cancellaption point and does not modify the errno variable.
      
          sched/signal:  Add a new OS internal function nxsig_sleep() that is functionally equivalent to sleep() but does not cause a cancellaption point.
      936df1bc
  4. Oct 04, 2017
    • Gregory Nutt's avatar
      Squashed commit of the following: · 9568600a
      Gregory Nutt authored
          This commit backs out most of commit b4747286.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.
      
          In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.
      
          In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.
      
          sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
      9568600a
  5. Oct 03, 2017
    • Gregory Nutt's avatar
      Squashed commit of the following: · 42a07966
      Gregory Nutt authored
          sched/semaphore:  Add nxsem_post() which is identical to sem_post() except that it never modifies the errno variable.  Changed all references to sem_post in the OS to nxsem_post().
      
          sched/semaphore:  Add nxsem_destroy() which is identical to sem_destroy() except that it never modifies the errno variable.  Changed all references to sem_destroy() in the OS to nxsem_destroy().
      
          libc/semaphore and sched/semaphore:  Add nxsem_getprotocol() and nxsem_setprotocola which are identical to sem_getprotocol() and set_setprotocol() except that they never modifies the errno variable.  Changed all references to sem_setprotocol in the OS to nxsem_setprotocol().  sem_getprotocol() was not used in the OS
      42a07966
    • Gregory Nutt's avatar
      Squashed commit of the following: · 83cdb0c5
      Gregory Nutt authored
          libc/semaphore:  Add nxsem_getvalue() which is identical to sem_getvalue() except that it never modifies the errno variable.  Changed all references to sem_getvalue in the OS to nxsem_getvalue().
      
          sched/semaphore:  Rename all internal private functions from sem_xyz to nxsem_xyz.  The sem_ prefix is (will be) reserved only for the application semaphore interfaces.
      
          libc/semaphore:  Add nxsem_init() which is identical to sem_init() except that it never modifies the errno variable.  Changed all references to sem_init in the OS to nxsem_init().
      
          sched/semaphore:  Rename sem_tickwait() to nxsem_tickwait() so that it is clear this is an internal OS function.
      
          sched/semaphoate:  Rename sem_reset() to nxsem_reset() so that it is clear this is an internal OS function.
      83cdb0c5
  6. Feb 25, 2017
  7. Jun 20, 2016
  8. Jun 16, 2016
  9. Jun 11, 2016
  10. May 27, 2016
  11. May 26, 2016
  12. Oct 07, 2015
  13. Oct 03, 2015
  14. Jul 22, 2015
  15. Apr 08, 2015
  16. Mar 23, 2015
    • Gregory Nutt's avatar
      - ADC driver has been re-organized; configuration is now handled in code · fedc213e
      Gregory Nutt authored
      instead of Kconfig to help reduce bloat and confusion.
      - Timer changed to remove ADC coupling in Kconfig to code and moved
      configuration up from arch/arm/src/tiva to configs/tm4c123g-launchpad/src.
      - GPIO driver needed small fixes in the configuration routines and
      discovered false-positive bugs in interrupt testing: interrupts are now
      verified to actually be working reliably.
      - Attempt to apply some consistency in the tiva arch/ level's interface
      to the config/board/ level driver configuration.
      
      From Calvin Maguranis
      fedc213e
    • Gregory Nutt's avatar
      - ADC driver has been re-organized; configuration is now handled in code · f3ad3efc
      Gregory Nutt authored
      instead of Kconfig to help reduce bloat and confusion.
      - Timer changed to remove ADC coupling in Kconfig to code and moved
      configuration up from arch/arm/src/tiva to configs/tm4c123g-launchpad/src.
      - GPIO driver needed small fixes in the configuration routines and
      discovered false-positive bugs in interrupt testing: interrupts are now
      verified to actually be working reliably.
      - Attempt to apply some consistency in the tiva arch/ level's interface
      to the config/board/ level driver configuration.
      
      From Calvin Maguranis
      f3ad3efc