zephyr/include/sys
Peter Bigot 76d8f8f1e2 include: sys: time_units: fix 32-bit near conversion for overflow
Adjusting the input value to allow round to nearest can cause an
overflow which invalidates the expectation that the 32-bit result is
the low 32 bits of the 64-bit result.  If the adjustment overflows do
the full-precision conversion and truncate in the caller.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-06-03 01:49:42 +02:00
..
__assert.h
arch_interface.h kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
atomic.h kernel: add APIs for atomic os on pointers 2020-03-10 10:18:16 -04:00
base64.h
byteorder.h
check.h
crc.h crc: Add crc8 implementation and tests 2020-03-10 12:53:53 +02:00
dlist.h
errno_private.h
fdtable.h
libc-hooks.h
list_gen.h
math_extras_impl.h math: extras: Add overflow functions to u16 2020-04-20 09:12:33 +03:00
math_extras.h math: extras: Add overflow functions to u16 2020-04-20 09:12:33 +03:00
mempool_base.h
mempool.h
mutex.h kernel: rename initializers to be internal 2020-04-24 22:27:08 +02:00
notify.h sys: add generic asynchronous notification infrastructure 2020-04-06 16:41:41 +02:00
onoff.h sys: onoff: redesign to meet changed needs 2020-04-22 16:52:47 +02:00
printk.h
rb.h
ring_buffer.h
sem.h kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
sflist.h
slist.h
speculation.h
sys_heap.h kernel: Add k_heap synchronized memory allocator 2020-04-14 10:05:55 -07:00
sys_io.h
thread_stack.h kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
time_units.h include: sys: time_units: fix 32-bit near conversion for overflow 2020-06-03 01:49:42 +02:00
timeutil.h
util.h sys/util.h: Add IS_EMPTY and LIST_DROP_EMPTY macros 2020-05-08 17:50:25 +02:00