zephyr/include/misc
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
..
__assert.h assert: Explicitly ignoring printk() return 2018-08-16 19:47:41 -07:00
byteorder.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
dlist.h misc: dlist: Fixed dlist.h error to pass checkpatch.pl script. 2018-08-13 07:11:51 -07:00
errno_private.h kernel: fix errno access for user mode 2018-07-19 16:44:59 -07:00
libc-hooks.h lib: newlib: add read/write syscalls 2018-07-25 14:57:51 -04:00
list_gen.h list_gen: slist: mark some APIs are private 2018-05-16 17:32:59 -07:00
mempool_base.h mempool: Fix bit pointer state for N_MAX > 31 2018-08-25 06:57:37 -07:00
mempool.h lib: user mode compatible mempools 2018-04-05 07:03:05 -07:00
printk.h
rb.h doc: fix misspellings in API doxygen comments 2018-05-23 15:28:01 -05:00
reboot.h
ring_buffer.h
sflist.h sflist: slist-alike that stores flags 2018-05-16 17:32:59 -07:00
slist.h list_gen: slist: mark some APIs are private 2018-05-16 17:32:59 -07:00
stack.h doc: do not show undocumented members 2018-03-20 14:01:30 -04:00
util.h util: Add WRITE_BIT macro to util.h 2018-08-17 07:29:14 -07:00