Home
last modified time | relevance | path

Searched refs:TaskContext (Results 1 – 25 of 43) sorted by relevance

12

/kernel/liteos_m/arch/arm/cortex-m4/gcc/
Dlos_context.c77 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
141 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
142 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
152 VOID HalUserTaskStackInit(TaskContext *context, UINTPTR taskEntry, UINTPTR stack) in HalUserTaskStackInit()
Dlos_arch_context.h102 } TaskContext; typedef
144 extern VOID HalUserTaskStackInit(TaskContext *context, UINTPTR taskEntry, UINTPTR stack);
/kernel/liteos_m/arch/arm/cortex-m4/iar/
Dlos_context.c80 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
144 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
145 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_a/arch/arm/arm/src/
Dlos_hw.c77TaskContext *taskContext = (TaskContext *)(((UINTPTR)topStack + stackSize) - sizeof(TaskContext)); in OsTaskStackInit()
113 cloneStack = (VOID *)((UINTPTR)sigcb->sigContext - sizeof(TaskContext)); in OsUserCloneParentStack()
115 cloneStack = (VOID *)(((UINTPTR)parentTopOfStack + parentStackSize) - sizeof(TaskContext)); in OsUserCloneParentStack()
118 (VOID)memcpy_s(childStack, sizeof(TaskContext), cloneStack, sizeof(TaskContext)); in OsUserCloneParentStack()
119 ((TaskContext *)childStack)->R0 = 0; in OsUserCloneParentStack()
122 LITE_OS_SEC_TEXT_INIT VOID OsUserTaskStackInit(TaskContext *context, UINTPTR taskEntry, UINTPTR sta… in OsUserTaskStackInit()
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/non_secure/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
145 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
146 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/non_secure/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
145 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
146 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/non_secure/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
145 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
146 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/arm/cortex-m7/gcc/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
142 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
143 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/arm/cortex-m33/iar/NTZ/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
142 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
143 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/non_secure/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
145 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
146 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/arm/cortex-m33/gcc/NTZ/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
143 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
144 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/arm/cortex-m7/iar/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
142 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
143 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/arm/cortex-m55/gcc/NTZ/
Dlos_context.c77 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
145 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
146 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/arm/cortex-m55/iar/NTZ/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
142 TaskContext *context = (TaskContext *)((UINTPTR)stackPointer - sizeof(TaskContext)); in ArchSignalContextInit()
143 (VOID)memset_s((VOID *)context, sizeof(TaskContext), 0, sizeof(TaskContext)); in ArchSignalContextInit()
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_context.c114 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
117 result = memcpy_s(context, sizeof(TaskContext), g_stackDefault, sizeof(TaskContext)); in ArchTskStackInit()
Dlos_arch_context.h63 } TaskContext; typedef
/kernel/liteos_m/arch/risc-v/nuclei/gcc/
Dlos_context.c48 TaskContext *context = NULL; in ArchTskStackInit()
52 context = (TaskContext *)(stk - sizeof(TaskContext)); in ArchTskStackInit()
54 for (index = 1; index < sizeof(TaskContext)/ sizeof(STACK_TYPE); index ++) { in ArchTskStackInit()
Dlos_arch_context.h83 } TaskContext; typedef
/kernel/liteos_m/arch/arm/arm9/gcc/
Dlos_context.c78 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
Dlos_arch_context.h76 } TaskContext; typedef
/kernel/liteos_m/arch/arm/cortex-m3/keil/
Dlos_context.c79 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
/kernel/liteos_m/arch/csky/v2/gcc/
Dlos_context.c82 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
Dlos_arch_context.h82 } TaskContext; typedef
/kernel/liteos_m/arch/risc-v/riscv32/gcc/
Dlos_context.c84 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in ArchTskStackInit()
/kernel/liteos_a/arch/arm/arm/src/include/
Dlos_hw_pri.h80 } TaskContext; typedef
106 extern VOID OsUserTaskStackInit(TaskContext *context, UINTPTR taskEntry, UINTPTR stack);

12