33#ifdef LOSCFG_KERNEL_SMP
41 lock->
owner = SPINLOCK_OWNER_INIT;
42 lock->
name =
"spinlock";
56 LOCKDEP_CHECK_IN(lock);
69 LOCKDEP_CHECK_IN(lock);
87 LOCKDEP_CHECK_OUT(lock);
103 LOCKDEP_CHECK_IN(lock);
105 LOCKDEP_RECORD(lock);
110 LOCKDEP_CHECK_OUT(lock);
STATIC INLINE VOID LOS_IntRestore(UINT32 intSave)
Restore interrupts. | 恢复到使用LOS_IntLock关闭所有中断之前的状态
STATIC INLINE UINT32 LOS_IntLock(VOID)
Disable all interrupts. | 关闭当前处理器所有中断响应
VOID LOS_Schedule(VOID)
Trigger active task scheduling.
STATIC INLINE BOOL OsSchedUnlockResch(VOID)
STATIC INLINE VOID OsSchedLock(VOID)
VOID LOS_SpinUnlockRestore(SPIN_LOCK_S *lock, UINT32 intSave)
INT32 LOS_SpinTrylock(SPIN_LOCK_S *lock)
BOOL LOS_SpinHeld(const SPIN_LOCK_S *lock)
VOID LOS_SpinLock(SPIN_LOCK_S *lock)
VOID LOS_SpinLockSave(SPIN_LOCK_S *lock, UINT32 *intSave)
VOID LOS_SpinInit(SPIN_LOCK_S *lock)
VOID LOS_SpinUnlock(SPIN_LOCK_S *lock)
VOID ArchSpinLock(size_t *lock)
VOID ArchSpinUnlock(size_t *lock)
INT32 ArchSpinTrylock(size_t *lock)