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

@ -257,7 +257,7 @@ static int cmd_kernel_stacks(const struct shell *sh,
for (int i = 0; i < num_cpus; i++) {
size_t unused;
const uint8_t *buf = Z_KERNEL_STACK_BUFFER(z_interrupt_stacks[i]);
const uint8_t *buf = K_KERNEL_STACK_BUFFER(z_interrupt_stacks[i]);
size_t size = K_KERNEL_STACK_SIZEOF(z_interrupt_stacks[i]);
int err = z_stack_space_get(buf, size, &unused);