hardware
[Kernel]


数据结构

struct   tagTskContext
  Define the type of a task context control block. 更多...

宏定义

#define  EMPTY_STACK   0xCACA
  The initialization value of stack space.
#define  osTaskTrap()   __asm(" TRAP #31")
  Trigger a task.
#define  LOS_CHECK_SCHEDULE   ((!g_usLosTaskLock))
  Check task schedule.
#define  OS_SYSTICK_CURRENT_REG   0xE000E018
  SysTick current value register.

类型定义

typedef struct tagTskContext  TSK_CONTEXT_S
  Define the type of a task context control block.

函数

VOID *  osTskStackInit (UINT32 uwTaskID, UINT32 uwStackSize, VOID *pTopStack)
  : Task stack initialization.
VOID  osSchedule (VOID)
  : Task scheduling Function.
VOID  LOS_Schedule (VOID)
  : Function to determine whether task scheduling is required.
VOID  osEnterSleep (VOID)
  : The M3 wait interrupt instruction.