Home
last modified time | relevance | path

Searched refs:topOfStack (Results 1 – 25 of 35) sorted by relevance

12

/kernel/liteos_m/components/backtrace/
Dlos_backtrace.c88 *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/
Dlos_task.c146 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/
Dprt_task_info.c65 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()
Dprt_task_internal.h57 OS_ERR_RECORD(PRT_MemFree((U32)OS_MID_TSK, (void *)taskCb->topOfStack)); in OsTskResRecycle()
Dprt_task_init.c309 taskCb->topOfStack = topStackAddr; in OsTskCreateTcbInit()
/kernel/liteos_m/components/debugtools/
Dlos_stackdump.c78 info->taskSPTop = taskCB->topOfStack; in DumpTaskInfo()
79 info->taskSPLimit = taskCB->topOfStack + taskCB->stackSize; in DumpTaskInfo()
/kernel/liteos_a/arch/arm/arm/src/
Dlos_exc.c348 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/
Dlos_sched.c346 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/
Dlos_task.c321 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/
Dprt_exc.c77 …excInfo->stackBottom = TRUNCATE((taskInfo.topOfStack + taskInfo.stackSize), OS_TSK_STACK_ADDR_ALIG… in OsExcGetThreadInfo()
/kernel/liteos_a/kernel/base/misc/
Dtask_shellcmd.c354 … (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/
Dprt_task_external.h56 uintptr_t topOfStack; member
/kernel/uniproton/src/include/uapi/
Dprt_task.h816 uintptr_t topOfStack; member
/kernel/liteos_m/kernel/include/
Dlos_task.h1484 UINT32 topOfStack; /**< Task stack top */ member
/kernel/liteos_m/arch/arm/arm9/gcc/
Dlos_interrupt.c367 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
/kernel/liteos_m/components/signal/
Dlos_signal.c196 task->stackPointer = ArchSignalContextInit(task->stackPointer, (VOID *)task->topOfStack, in SignalSend()
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_interrupt.c415 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
/kernel/liteos_m/arch/csky/v2/gcc/
Dlos_interrupt.c440 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
/kernel/liteos_m/arch/arm/cortex-m4/iar/
Dlos_interrupt.c471 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/non_secure/
Dlos_interrupt.c460 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
/kernel/liteos_m/arch/arm/cortex-m33/iar/NTZ/
Dlos_interrupt.c470 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
/kernel/liteos_m/arch/arm/cortex-m33/gcc/NTZ/
Dlos_interrupt.c460 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/non_secure/
Dlos_interrupt.c460 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
/kernel/liteos_m/arch/arm/cortex-m55/iar/NTZ/
Dlos_interrupt.c470 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()
/kernel/liteos_m/arch/arm/cortex-m55/gcc/NTZ/
Dlos_interrupt.c468 PRINTK("Task ST = 0x%x\n", taskCB->topOfStack); in OsExcCurTaskInfo()

12