29#ifndef _LOS_PRIQUEUE_PRI_H
30#define _LOS_PRIQUEUE_PRI_H
46#define OS_PRIORITY_QUEUE_NUM 32
47#define PRIQUEUE_PRIOR0_BIT 0x80000000U
80 PriQueue *priQueue = &g_priQueue[ArchCurrCpuid()];
#define STATIC
Definition common_def.h:57
#define INLINE
Definition common_def.h:65
#define LOSCFG_KERNEL_CORE_NUM
Definition los_config.h:258
LOS_DL_LIST * OsPriQueueTop(VOID)
#define OS_PRIORITY_QUEUE_NUM
Definition los_priqueue_pri.h:46
STATIC INLINE VOID OsPriQueueEnqueueProtect(LOS_DL_LIST *queueNode, UINT32 priority, PriQueueHeadTail mode)
Definition los_priqueue_pri.h:98
VOID OsPriQueueEnqueue(LOS_DL_LIST *priqueueItem, UINT32 priority, PriQueueHeadTail mode)
STATIC INLINE BOOL OsPriQueueDequeueProtect(LOS_DL_LIST *priqueueItem)
Definition los_priqueue_pri.h:103
#define PRIQUEUE_PRIOR0_BIT
Definition los_priqueue_pri.h:47
PriQueueHeadTail
Definition los_priqueue_pri.h:40
@ PRI_QUEUE_TAIL
Definition los_priqueue_pri.h:42
@ PRI_QUEUE_HEAD
Definition los_priqueue_pri.h:41
BOOL OsPriQueueIsEmpty(UINT32 priority)
VOID OsPriQueueInit(VOID)
VOID OsPriQueueDequeue(LOS_DL_LIST *priqueueItem)
signed int INT32
Definition los_typedef.h:55
#define VOID
Definition los_typedef.h:88
#define TRUE
Definition los_typedef.h:98
unsigned int UINT32
Definition los_typedef.h:52
size_t BOOL
Definition los_typedef.h:83
Definition los_spinlock.h:78
Definition los_task_base.h:131
UINT16 priority
Definition los_task_base.h:139