zephyr/lib
Andy Ross 71ca65306c mempool: Fix bit pointer state for N_MAX > 31
When a mempool is created with a large number of maximum-size blocks,
the logic for initializing max_inline_level (i.e. when to union the
bitmask with the pointer and when to use the pointer directly) was
wrong.  The default state was "zero", which implies that level 0
should be inlined, but that's wrong with >32 base blocks.
Additionally, the type was unsigned, making the "level zero is a
pointer" situation impossible to represent.

Fixes #6727

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-08-25 06:57:37 -07:00
..
base64
cmsis_rtos_v1 lib: cmsis_rtos_v1: fix couple of nonconformities 2018-08-20 17:51:29 -07:00
crc
json
libc constants: Use uppercase to indicate long 2018-08-16 19:47:41 -07:00
mempool mempool: Fix bit pointer state for N_MAX > 31 2018-08-25 06:57:37 -07:00
posix
rbtree
ring_buffer
CMakeLists.txt
Kconfig
thread_entry.c