kernel: rename Z_KERNEL_STACK_BUFFER to K_KERNEL_STACK_BUFFER

Simple rename to align the kernel naming scheme. This is being
used throughout the tree, especially in the architecture code.
As this is not a private API internal to kernel, prefix it
appropriately with K_.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2024-03-22 12:56:12 -07:00 committed by Anas Nashif
commit b69d2486fe
22 changed files with 30 additions and 30 deletions

View file

@ -258,12 +258,12 @@ void arch_cpu_start(int cpu_num, k_thread_stack_t *stack, int sz,
sr.cpu = cpu_num;
sr.fn = fn;
sr.stack_top = Z_KERNEL_STACK_BUFFER(stack) + sz;
sr.stack_top = K_KERNEL_STACK_BUFFER(stack) + sz;
sr.arg = arg;
sr.vecbase = vb;
sr.alive = &alive_flag;
appcpu_top = Z_KERNEL_STACK_BUFFER(stack) + sz;
appcpu_top = K_KERNEL_STACK_BUFFER(stack) + sz;
start_rec = &sr;