Searched refs:sp_limit (Results 1 – 1 of 1) sorted by relevance
249 uint64_t sp, sp_limit, guard_start; in z_arm64_stack_corruption_check() local252 sp_limit = arch_curr_cpu()->arch.current_stack_limit; in z_arm64_stack_corruption_check()253 guard_start = sp_limit - Z_ARM64_STACK_GUARD_SIZE; in z_arm64_stack_corruption_check()255 if ((sp != 0 && sp <= sp_limit) || (guard_start <= far && far <= sp_limit)) { in z_arm64_stack_corruption_check()267 " SP LIMIT: 0x%llx", sp, far, sp_limit); in z_arm64_stack_corruption_check()273 sp_limit = (uint64_t)_current->stack_info.start; in z_arm64_stack_corruption_check()274 guard_start = sp_limit - Z_ARM64_STACK_GUARD_SIZE; in z_arm64_stack_corruption_check()276 if (sp <= sp_limit || (guard_start <= far && far <= sp_limit)) { in z_arm64_stack_corruption_check()278 " SP LIMIT: 0x%llx", sp, far, sp_limit); in z_arm64_stack_corruption_check()