/kernel/liteos_m/components/backtrace/ |
D | los_backtrace.c | 88 *stackEnd = (UINTPTR)taskCB->topOfStack + taskCB->stackSize; in OsStackAddrGet() 89 if ((SP < (UINTPTR)taskCB->topOfStack) || (SP >= *stackEnd)) { in OsStackAddrGet() 91 … CSTACK_START_ADDR, CSTACK_END_ADDR, (UINTPTR)taskCB->topOfStack, *stackEnd, SP); in OsStackAddrGet() 109 *stackEnd = (UINTPTR)taskCB->topOfStack + taskCB->stackSize; in OsStackAddrGet() 110 if ((*stackStart < (UINTPTR)taskCB->topOfStack) || (*stackStart >= *stackEnd)) { in OsStackAddrGet() 112 taskCB->topOfStack, *stackEnd, *stackStart, taskID); in OsStackAddrGet() 176 stackTop = taskCB->topOfStack; in IsValidFP() 177 stackBottom = taskCB->topOfStack + taskCB->stackSize; in IsValidFP() 297 *stackEnd = (UINTPTR)taskCB->topOfStack + taskCB->stackSize; in OsStackAddrGet() 298 if ((SP < (UINTPTR)taskCB->topOfStack) || (SP >= *stackEnd)) { in OsStackAddrGet() [all …]
|
/kernel/liteos_m/kernel/src/ |
D | los_task.c | 146 if ((taskCB->taskStatus & OS_TASK_FLAG_STACK_FREE) && (taskCB->topOfStack != 0)) { in OsRecycleTaskResources() 148 *stackPtr = taskCB->topOfStack - OS_TASK_STACK_PROTECT_SIZE; in OsRecycleTaskResources() 150 *stackPtr = taskCB->topOfStack; in OsRecycleTaskResources() 152 taskCB->topOfStack = (UINT32)NULL; in OsRecycleTaskResources() 244 if (*(UINT32 *)(UINTPTR)OS_TCB_FROM_TID(taskID)->topOfStack == OS_TASK_MAGIC_WORD) { in OsGetTaskWaterLine() 245 … stackPtr = (UINT32 *)(UINTPTR)(OS_TCB_FROM_TID(taskID)->topOfStack + OS_TASK_STACK_TOP_OFFSET); in OsGetTaskWaterLine() 250 ((UINT32)(UINTPTR)stackPtr - OS_TCB_FROM_TID(taskID)->topOfStack); in OsGetTaskWaterLine() 374 (UINT32)(UINTPTR)taskCB->stackPointer, taskCB->topOfStack, taskCB->eventMask, semID); in OsGetAllTskInfo() 546 (UINT32)(UINTPTR)(g_losTask.newTask->stackPointer), g_losTask.newTask->topOfStack); in OsHandleNewTaskStackOverflow() 571 mpuAttr.baseAddr = g_losTask.newTask->topOfStack - OS_TASK_STACK_PROTECT_SIZE; in OsTaskStackProtect() [all …]
|
/kernel/uniproton/src/core/kernel/task/ |
D | prt_task_info.c | 65 taskInfo->topOfStack = taskCb->topOfStack; in OsTaskInfoCommonGet() 123 stackInfo->top = (uintptr_t)taskCb->topOfStack; in OsTaskStackInfoGet() 124 …stackInfo->bottom = TRUNCATE(((uintptr_t)(taskCb->topOfStack) + (taskCb->stackSize)), OS_TSK_STACK… in OsTaskStackInfoGet()
|
D | prt_task_internal.h | 57 OS_ERR_RECORD(PRT_MemFree((U32)OS_MID_TSK, (void *)taskCb->topOfStack)); in OsTskResRecycle()
|
D | prt_task_init.c | 309 taskCb->topOfStack = topStackAddr; in OsTskCreateTcbInit()
|
/kernel/liteos_m/components/debugtools/ |
D | los_stackdump.c | 78 info->taskSPTop = taskCB->topOfStack; in DumpTaskInfo() 79 info->taskSPLimit = taskCB->topOfStack + taskCB->stackSize; in DumpTaskInfo()
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_exc.c | 348 runTask->topOfStack, runTask->topOfStack + runTask->stackSize); in OsExcSysInfo() 678 stackStart = taskCB->topOfStack; in FindSuitableStack() 679 stackEnd = taskCB->topOfStack + taskCB->stackSize; in FindSuitableStack() 881 UINTPTR stackBottom = runTask->topOfStack + runTask->stackSize; in OsCallStackInfo() 887 stackPointer, runTask->topOfStack, &__text_start, &__text_end); in OsCallStackInfo() 889 while ((stackPointer > (UINT32 *)runTask->topOfStack) && (count < OS_MAX_BACKTRACE)) { in OsCallStackInfo() 893 if ((*(stackPointer - 1) > (UINT32)runTask->topOfStack) && in OsCallStackInfo() 1266 stackStart = taskCB->topOfStack; in LOS_RecordLR()
|
/kernel/liteos_a/kernel/base/sched/ |
D | los_sched.c | 346 if (!OS_STACK_MAGIC_CHECK(runTask->topOfStack)) { in TaskStackCheck() 350 if (((UINTPTR)(newTask->stackPointer) <= newTask->topOfStack) || in TaskStackCheck() 351 ((UINTPTR)(newTask->stackPointer) > (newTask->topOfStack + newTask->stackSize))) { in TaskStackCheck() 353 newTask->taskName, newTask->taskID, newTask->stackPointer, newTask->topOfStack); in TaskStackCheck()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_task.c | 321 STATIC VOID OsTaskKernelResourcesToFree(UINT32 syncSignal, UINTPTR topOfStack) in OsTaskKernelResourcesToFree() argument 325 (VOID)LOS_MemFree((VOID *)m_aucSysMem1, (VOID *)topOfStack); in OsTaskKernelResourcesToFree() 332 UINTPTR topOfStack; in OsTaskResourcesToFree() local 358 topOfStack = taskCB->topOfStack; in OsTaskResourcesToFree() 359 taskCB->topOfStack = 0; in OsTaskResourcesToFree() 364 OsTaskKernelResourcesToFree(syncSignal, topOfStack); in OsTaskResourcesToFree() 477 taskCB->topOfStack = (UINTPTR)topStack; in TaskCBBaseInit() 1083 taskInfo->uwTopOfStack = taskCB->topOfStack; in LOS_TaskInfoGet() 1094 taskInfo->uwBottomOfStack = TRUNCATE(((UINTPTR)taskCB->topOfStack + taskCB->stackSize), in LOS_TaskInfoGet()
|
/kernel/uniproton/src/arch/cpu/armv7-m/common/exc/ |
D | prt_exc.c | 77 …excInfo->stackBottom = TRUNCATE((taskInfo.topOfStack + taskInfo.stackSize), OS_TSK_STACK_ADDR_ALIG… in OsExcGetThreadInfo()
|
/kernel/liteos_a/kernel/base/misc/ |
D | task_shellcmd.c | 354 … (VOID)OsStackWaterLineGet((const UINTPTR *)((UINTPTR)taskCB->topOfStack + taskCB->stackSize), in TaskWaterLineGet() 355 … (const UINTPTR *)taskCB->topOfStack, &taskWaterLine[taskCB->taskID]); in TaskWaterLineGet() 488 … SHOW("%#12x%#12x%11s%#11x", taskCB->stackPointer, taskCB->topOfStack, pendReason, lockID); in AllTaskInfoDataShow()
|
/kernel/uniproton/src/core/kernel/include/ |
D | prt_task_external.h | 56 uintptr_t topOfStack; member
|
/kernel/uniproton/src/include/uapi/ |
D | prt_task.h | 816 uintptr_t topOfStack; member
|
/kernel/liteos_m/kernel/include/ |
D | los_task.h | 1484 UINT32 topOfStack; /**< Task stack top */ member
|
/kernel/liteos_m/arch/arm/arm9/gcc/ |
D | los_interrupt.c | 367 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|
/kernel/liteos_m/components/signal/ |
D | los_signal.c | 196 task->stackPointer = ArchSignalContextInit(task->stackPointer, (VOID *)task->topOfStack, in SignalSend()
|
/kernel/liteos_m/arch/xtensa/lx6/gcc/ |
D | los_interrupt.c | 415 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|
/kernel/liteos_m/arch/csky/v2/gcc/ |
D | los_interrupt.c | 440 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|
/kernel/liteos_m/arch/arm/cortex-m4/iar/ |
D | los_interrupt.c | 471 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/non_secure/ |
D | los_interrupt.c | 460 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|
/kernel/liteos_m/arch/arm/cortex-m33/iar/NTZ/ |
D | los_interrupt.c | 470 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|
/kernel/liteos_m/arch/arm/cortex-m33/gcc/NTZ/ |
D | los_interrupt.c | 460 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/non_secure/ |
D | los_interrupt.c | 460 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|
/kernel/liteos_m/arch/arm/cortex-m55/iar/NTZ/ |
D | los_interrupt.c | 470 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|
/kernel/liteos_m/arch/arm/cortex-m55/gcc/NTZ/ |
D | los_interrupt.c | 468 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
|