Home
last modified time | relevance | path

Searched refs:stackSize (Results 1 – 14 of 14) sorted by relevance

/device/board/openvalley/niobeu4/liteos_m/target/src/
Dtarget_startup.c89 if ((p->stackSize <= 0) || (p->stackSize >= MIN_STACK_SIZE)) { in TaskCreateExtensionHook()
92 p->stackSize = MIN_STACK_SIZE; in TaskCreateExtensionHook()
93 topOfStack = (UINTPTR)LOS_MemAllocAlign(OS_TASK_STACK_ADDR, p->stackSize, in TaskCreateExtensionHook()
95 p->stackPointer = ArchTskStackInit(p->taskID, p->stackSize, (VOID*)topOfStack); in TaskCreateExtensionHook()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
Dpthread_attr.c209 int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stackSize) in pthread_attr_setstacksize() argument
212 if ((attr == NULL) || (stackSize < PTHREAD_STACK_MIN)) { in pthread_attr_setstacksize()
217 attr->stacksize = stackSize; in pthread_attr_setstacksize()
222 int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stackSize) in pthread_attr_getstacksize() argument
225 if ((attr == NULL) || (stackSize == NULL) || (!attr->stacksize_set)) { in pthread_attr_getstacksize()
229 *stackSize = attr->stacksize; in pthread_attr_getstacksize()
/device/board/openvalley/niobeu4/liteos_m/arch/
Dlos_context.c51 LITE_OS_SEC_TEXT_INIT VOID *ArchTskStackInit(UINT32 taskID, UINT32 stackSize, VOID *topStack) in ArchTskStackInit() argument
53 vPortStoreTaskSettings((void *)topStack, stackSize, taskID); in ArchTskStackInit()
54 return (void *)pxPortInitialiseStack((uint8_t *)topStack + stackSize - 1, in ArchTskStackInit()
/device/soc/beken/bk7235/liteos_m/third_party_adapter/arch/
Dlos_context.c45 LITE_OS_SEC_TEXT_INIT VOID *__wrap_ArchTskStackInit(UINT32 taskID, UINT32 stackSize, VOID *topStack) in __wrap_ArchTskStackInit() argument
47 TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext)); in __wrap_ArchTskStackInit()
/device/soc/st/stm32f407zg/uniproton/board/
Dboard.c180 taskParam1.stackSize = 0x800; in TestTask()
186 taskParam2.stackSize = 0x800; in TestTask()
/device/soc/esp/esp32/components/pthread/
Dpthread.c1237 int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stackSize) in pthread_attr_setstacksize() argument
1240 if ((attr == NULL) || (stackSize < PTHREAD_STACK_MIN)) { in pthread_attr_setstacksize()
1244 attr->stacksize = stackSize; in pthread_attr_setstacksize()
1248 int pthread_attr_setstack(pthread_attr_t *attr, void *stackAddr, size_t stackSize) in pthread_attr_setstack() argument
1250 if ((attr == NULL) || (stackAddr == NULL) || (stackSize < PTHREAD_STACK_MIN)) { in pthread_attr_setstack()
1254 attr->stacksize = stackSize; in pthread_attr_setstack()
1259 int pthread_attr_getstack(const pthread_attr_t *attr, void **stackAddr, size_t *stackSize) in pthread_attr_getstack() argument
1261 if ((attr == NULL) || (stackAddr == NULL) || (stackSize == NULL)) { in pthread_attr_getstack()
1266 *stackSize = attr->stacksize; in pthread_attr_getstack()
1270 int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stackSize) in pthread_attr_getstacksize() argument
[all …]
/device/soc/st/stm32f407zg/uniproton/hals/cmsis/
Dcmsis_uniproton.c157 stTskInitParam.stackSize = attr->stack_size; in osThreadNew()
159 stTskInitParam.stackSize = attr->stack_size; in osThreadNew()
161 stTskInitParam.stackSize = OS_TSK_DEFAULT_STACK_SIZE; in osThreadNew()
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/wifiiot_app/src/
Dblackbox_adapter_impl.c338 hi_u32 stackSize = sysErrInfo->os_info.task.stack[1] - in SaveCallBack() local
353 pData = hi_malloc(HI_MOD_ID_SAL_DFX, stackSize); in SaveCallBack()
359 if (hi_flash_read(addr + size - stackSize, stackSize, in SaveCallBack()
369 for (i = 0; i < stackSize / sizeof(hi_u32); ++i) { in SaveCallBack()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/base/include/
Dlos_task_pri.h283 UINT32 stackSize; /**< Task stack size */ member
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/rtos/liteos/liteos_m/
Dboard.c196 *stackEnd = (UINTPTR)taskCB->topOfStack + taskCB->stackSize; in OsStackAddrGet()
217 *stackEnd = (UINTPTR)taskCB->topOfStack + taskCB->stackSize; in OsStackAddrGet()
/device/soc/st/stm32f407zg/uniproton/board/lwip/
Dlwip.c101 taskParam.stackSize = 0x800; in LwipDhcpCreate()
/device/soc/hisilicon/common/platform/hieth-sf/src/
Dinterface.c181 .stackSize = ETH_STACKSIZE, in CreateEthIrqThread()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis/
Dcmsis_liteos2.c424 return pstTaskCB->stackSize; in osThreadGetStackSize()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/rtos/liteos/liteos_m/kal/cmsis/
Dcmsis_liteos2.c399 return pstTaskCB->stackSize; in osThreadGetStackSize()