Skip to content
Commit f3bee951 authored by Andrew Boie's avatar Andrew Boie Committed by Andrew Boie
Browse files

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: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 0fe789ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment