1 /* 2 * Copyright (C) 2015-2021 Alibaba Group Holding Limited 3 */ 4 5 #include <k_api.h> 6 #include <k_config.h> 7 8 #if (RHINO_CONFIG_STACK_OVF_CHECK_HW != 0) cpu_intrpt_stack_protect(void)9void cpu_intrpt_stack_protect(void) 10 { 11 } 12 task_stack_crash_warning(void)13void task_stack_crash_warning(void) 14 { 15 printf("****The task stack base has been broken !!!****\n"); 16 } 17 cpu_task_stack_protect(cpu_stack_t * base,size_t size)18void cpu_task_stack_protect(cpu_stack_t *base, size_t size) 19 { 20 21 } 22 #endif 23