commit | f3bee951b1d5944492db70e26c3e03cd1be1c645 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Wed May 02 17:44:39 2018 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Wed May 16 17:32:59 2018 -0700 |
tree | 5dcc604bdbaf4107022c1ce6eaf0b60a0ca65a7f | |
parent | 0fe789ff2ea89b8d9b847b9d6bceae84d3beb144 [diff] |
kernel: stacks: add k_stack_alloc() init Similar to what has been done with pipes and message queues, user mode can't be trusted to provide a buffer for the kernel to use. Remove k_stack_init() as a syscall and offer k_stack_alloc_init() which allocates a buffer from the caller's resource pool. Fixes #7285 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>