29#ifndef _LOS_SWTMR_PRI_H
30#define _LOS_SWTMR_PRI_H
40#ifdef LOSCFG_BASE_CORE_SWTMR
43 OS_SWTMR_STATUS_UNUSED,
44 OS_SWTMR_STATUS_DELETING,
45 OS_SWTMR_STATUS_CREATED,
46 OS_SWTMR_STATUS_TICKING
65#ifdef LOSCFG_KERNEL_SMP
74typedef SwtmrHandlerItem *SwtmrHandlerItemPtr;
76extern LosSwtmrCB *g_osSwtmrCBArray;
82#ifdef LOSCFG_BASE_CORE_SYS_RES_CHECK
83#define OS_SWT_FROM_SWTID(swtmrId) ((LosSwtmrCB *)g_osSwtmrCBArray + ((swtmrId) % KERNEL_SWTMR_LIMIT))
85#define OS_SWT_FROM_SWTID(swtmrId) ((LosSwtmrCB *)g_osSwtmrCBArray + swtmrId)
94#ifdef LOSCFG_EXC_INTERACTION
97#ifdef LOSCFG_DEBUG_SWTMR
98#define OS_ALL_SWTMR_MASK 0xffffffff
#define LOSCFG_KERNEL_CORE_NUM
Definition los_config.h:258
void(* SWTMR_PROC_FUNC)(UINTPTR arg)
Define the type of a callback function that handles software timer timeout.
Definition los_swtmr.h:267
unsigned short UINT16
Definition los_typedef.h:51
#define VOID
Definition los_typedef.h:88
unsigned char UINT8
Definition los_typedef.h:50
unsigned int UINTPTR
Definition los_typedef.h:74
unsigned int UINT32
Definition los_typedef.h:52
size_t BOOL
Definition los_typedef.h:83
Definition los_sortlink_pri.h:112
Definition los_sortlink_pri.h:107
Definition los_spinlock.h:78