This file provides InitTaskContext() and SysTick_Handler(). More...
Go to the source code of this file.
Functions | |
| OS_STK * | InitTaskContext (FUNCPtr task, void *param, OS_STK *pstk) |
| Initial task context. | |
| void | SysTick_Handler (void) |
| System tick interrupt handler. | |
Variables | |
| U64 | OSTickCnt = 0 |
This file provides InitTaskContext() and SysTick_Handler().
Definition in file arch.c.
| OS_STK* InitTaskContext | ( | FUNCPtr | task, |
| void * | param, | ||
| OS_STK * | pstk | ||
| ) |
Initial task context.
| [in] | task | Entry point of task. |
| [in] | param | The parameter pass to task. |
| [in] | pstk | The pointer to stack top. |
| [out] | None |
| Returns | location of new stack top. |
This function is called to initialize the stack frame of the task being created.
| void SysTick_Handler | ( | void | ) |