zephyr/lib/os
Andy Ross 85d895c60e lib/os: Remove recursion from mempool and rbtree
MISRA rules (see #11425) forbid recursive algorithms.  In the case of
rb_walk(), it's not actually used anywhere but a test right now, so we
can simply disable the API when CONFIG_MISRA_SANE is defined.  Mempool
had a (IMHO, fairly clever) tail recursive loop in bfree_recombine()
which can be trivially transformed into an only slightly uglier
iterative version.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-02-28 10:06:35 -08:00
..
assert.c misc: assert_post_action: Treat POSIX arch like others 2019-02-03 10:28:51 -08:00
base64.c lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
CMakeLists.txt misc: Add k_panic on assert 2019-02-02 15:58:33 -08:00
crc7_sw.c lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
crc8_sw.c lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
crc16_sw.c lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
crc32_sw.c lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
fdtable.c lib: os: fdtable: Add underscore aliases for read/write/close/lseek 2019-02-28 08:45:13 -06:00
json.c lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
Kconfig lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
mempool.c lib/os: Remove recursion from mempool and rbtree 2019-02-28 10:06:35 -08:00
printk.c printk: move into lib/os 2019-01-22 07:45:22 -05:00
rb.c lib/os: Remove recursion from mempool and rbtree 2019-02-28 10:06:35 -08:00
ring_buffer.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
thread_entry.c lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
work_q.c lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00