1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #include <toolchain.h> /* compiler specific configurations */
- #include <kernel_structs.h>
- #include <toolchain.h>
- #include <linker/sections.h>
- #include <kernel.h>
- #include <app_memory/app_memdomain.h>
- void _StackCheckHandler(void)
- {
-
- z_except_reason(K_ERR_STACK_CHK_FAIL);
- CODE_UNREACHABLE;
- }
- #ifdef CONFIG_USERSPACE
- K_APP_DMEM(z_libc_partition) uintptr_t __stack_chk_guard;
- #else
- __act_s2_sleep_data uintptr_t __stack_chk_guard;
- #endif
- FUNC_ALIAS(_StackCheckHandler, __stack_chk_fail, void);
|