Skip to content
  1. Jan 13, 2016
  2. Jan 12, 2016
  3. Jan 11, 2016
  4. Jan 10, 2016
  5. Jan 09, 2016
  6. Jan 08, 2016
  7. Jan 07, 2016
  8. Jan 06, 2016
  9. Jan 05, 2016
    • Gregory Nutt's avatar
      Cosmetic spacing change · b28bf55f
      Gregory Nutt authored
      b28bf55f
    • Gregory Nutt's avatar
      Fix an ommission in compiler.h · 670ac9fb
      Gregory Nutt authored
      670ac9fb
    • Dimitry Kloper's avatar
      Fix 64-bit clock-related constant value evaluation for AVR compiler · 06438b0d
      Dimitry Kloper authored
      This may be specific for Atmel AVR8 toolchain compiler.
      The problem is that despite of being 8-bit architecture
      avr-gcc supports uint64_t, but the following code
      
      uint64_t value = 10000 * 1000;
      
      produces a wrong negative value in the final code (tested
      both with and without optimization).
      
      The work-around is simple:
      
      uint64_t value = 10000 * 1000L;
      
      The code is a reduced part from sched/signal/sig_timedwait.c where
      waitticks64 is calculated using NSEC_PER_TICK. This one is defined
      as USEC_PER_TICK * NSEC_PER_USEC which leads to the example above.
      06438b0d