VOID* osTskStackInit ( UINT32  uwTaskID,
UINT32  uwStackSize,
VOID *  pTopStack  
)

: Task stack initialization.

Description:
This API is used to initialize the task stack.
注意:
:
  • None.
参数:
参数名称 描述
uwTaskID  [IN] Type::UINT32: TaskID.
uwStackSize  [IN] Type::UINT32: Total size of the stack.
pTopStack  [IN] Type::VOID *: Top of task's stack.
返回值:
返回值 描述
  pstContext Type::TSK_CONTEXT_S *.
Dependency:
  • los_hw.h: the header file that contains the API declaration.
参见:
None.
自从:
Huawei LiteOS V100R001C00