/kernel/liteos_a/arch/arm/arm/include/ |
D | arm.h | 39 STATIC INLINE UINT32 OsArmReadSctlr(VOID) in OsArmReadSctlr() 46 STATIC INLINE VOID OsArmWriteSctlr(UINT32 val) in OsArmWriteSctlr() 52 STATIC INLINE UINT32 OsArmReadActlr(VOID) in OsArmReadActlr() 59 STATIC INLINE VOID OsArmWriteActlr(UINT32 val) in OsArmWriteActlr() 65 STATIC INLINE UINT32 OsArmReadCpacr(VOID) in OsArmReadCpacr() 72 STATIC INLINE VOID OsArmWriteCpacr(UINT32 val) in OsArmWriteCpacr() 78 STATIC INLINE UINT32 OsArmReadTtbr(VOID) in OsArmReadTtbr() 85 STATIC INLINE VOID OsArmWriteTtbr(UINT32 val) in OsArmWriteTtbr() 91 STATIC INLINE UINT32 OsArmReadTtbr0(VOID) in OsArmReadTtbr0() 98 STATIC INLINE VOID OsArmWriteTtbr0(UINT32 val) in OsArmWriteTtbr0() [all …]
|
D | los_pte_ops.h | 50 STATIC INLINE VOID OsSavePte1(PTE_T *pte1Ptr, PTE_T pte1) in OsSavePte1() 57 STATIC INLINE ADDR_T OsTruncPte1(ADDR_T addr) in OsTruncPte1() 62 STATIC INLINE UINT32 OsGetPte1Index(vaddr_t va) in OsGetPte1Index() 67 STATIC INLINE VOID OsClearPte1(PTE_T *pte1Ptr) in OsClearPte1() 72 STATIC INLINE PADDR_T OsGetPte1Paddr(PADDR_T PhysTtb, vaddr_t va) in OsGetPte1Paddr() 77 STATIC INLINE PTE_T *OsGetPte1Ptr(PTE_T *pte1BasePtr, vaddr_t va) in OsGetPte1Ptr() 82 STATIC INLINE PTE_T OsGetPte1(PTE_T *pte1BasePtr, vaddr_t va) in OsGetPte1() 87 STATIC INLINE BOOL OsIsPte1PageTable(PTE_T pte1) in OsIsPte1PageTable() 92 STATIC INLINE BOOL OsIsPte1Invalid(PTE_T pte1) in OsIsPte1Invalid() 97 STATIC INLINE BOOL OsIsPte1Section(PTE_T pte1) in OsIsPte1Section() [all …]
|
D | los_atomic.h | 69 STATIC INLINE INT32 LOS_AtomicRead(const Atomic *v) in LOS_AtomicRead() 93 STATIC INLINE VOID LOS_AtomicSet(Atomic *v, INT32 setVal) in LOS_AtomicSet() 119 STATIC INLINE INT32 LOS_AtomicAdd(Atomic *v, INT32 addVal) in LOS_AtomicAdd() 157 STATIC INLINE INT32 LOS_AtomicSub(Atomic *v, INT32 subVal) in LOS_AtomicSub() 193 STATIC INLINE VOID LOS_AtomicInc(Atomic *v) in LOS_AtomicInc() 227 STATIC INLINE INT32 LOS_AtomicIncRet(Atomic *v) in LOS_AtomicIncRet() 263 STATIC INLINE VOID LOS_AtomicDec(Atomic *v) in LOS_AtomicDec() 297 STATIC INLINE INT32 LOS_AtomicDecRet(Atomic *v) in LOS_AtomicDecRet() 332 STATIC INLINE INT64 LOS_Atomic64Read(const Atomic64 *v) in LOS_Atomic64Read() 365 STATIC INLINE VOID LOS_Atomic64Set(Atomic64 *v, INT64 setVal) in LOS_Atomic64Set() [all …]
|
/kernel/liteos_a/kernel/base/sched/ |
D | los_idle.c | 34 STATIC VOID IdleDequeue(SchedRunqueue *rq, LosTaskCB *taskCB); 35 STATIC VOID IdleEnqueue(SchedRunqueue *rq, LosTaskCB *taskCB); 36 STATIC UINT32 IdleWait(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 ticks); 37 STATIC VOID IdleWake(LosTaskCB *resumedTask); 38 STATIC UINT32 IdleSchedParamGet(const LosTaskCB *taskCB, SchedParam *param); 39 STATIC VOID IdleYield(LosTaskCB *runTask); 40 STATIC VOID IdleStartToRun(SchedRunqueue *rq, LosTaskCB *taskCB); 41 STATIC UINT32 IdleResume(LosTaskCB *taskCB, BOOL *needSched); 42 STATIC UINT64 IdleTimeSliceGet(const LosTaskCB *taskCB); 43 STATIC VOID IdleTimeSliceUpdate(SchedRunqueue *rq, LosTaskCB *taskCB, UINT64 currTime); [all …]
|
/kernel/liteos_m/components/trace/cnv/ |
D | trace_cnv.c | 42 STATIC VOID LOS_TraceMemInit(VOID *pool, UINT32 size) in LOS_TraceMemInit() 47 STATIC VOID LOS_TraceMemAlloc(VOID *pool, VOID *ptr, UINT32 size) in LOS_TraceMemAlloc() 52 STATIC VOID LOS_TraceMemFree(VOID *pool, VOID *ptr) in LOS_TraceMemFree() 57 STATIC VOID LOS_TraceMemRealloc(VOID *pool, VOID *ptr, UINT32 size) in LOS_TraceMemRealloc() 62 STATIC VOID LOS_TraceMemAllocAlign(VOID *pool, VOID *ptr, UINT32 size, UINT32 boundary) in LOS_TraceMemAllocAlign() 67 STATIC VOID LOS_TraceEventInit(PEVENT_CB_S eventCB) in LOS_TraceEventInit() 72 STATIC VOID LOS_TraceEventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout) in LOS_TraceEventRead() 77 STATIC VOID LOS_TraceEventWrite(PEVENT_CB_S eventCB, UINT32 events) in LOS_TraceEventWrite() 82 STATIC VOID LOS_TraceEventClear(PEVENT_CB_S eventCB, UINT32 events) in LOS_TraceEventClear() 87 STATIC VOID LOS_TraceEventDestroy(PEVENT_CB_S eventCB) in LOS_TraceEventDestroy() [all …]
|
/kernel/liteos_a/kernel/extended/trace/cnv/ |
D | trace_cnv.c | 43 STATIC VOID LOS_TraceMemInit(VOID *pool, UINT32 size) in LOS_TraceMemInit() 48 STATIC VOID LOS_TraceMemAlloc(VOID *pool, VOID *ptr, UINT32 size) in LOS_TraceMemAlloc() 53 STATIC VOID LOS_TraceMemFree(VOID *pool, VOID *ptr) in LOS_TraceMemFree() 58 STATIC VOID LOS_TraceMemRealloc(VOID *pool, VOID *ptr, UINT32 size) in LOS_TraceMemRealloc() 63 STATIC VOID LOS_TraceMemAllocAlign(VOID *pool, VOID *ptr, UINT32 size, UINT32 boundary) in LOS_TraceMemAllocAlign() 68 STATIC VOID LOS_TraceEventInit(PEVENT_CB_S eventCB) in LOS_TraceEventInit() 73 STATIC VOID LOS_TraceEventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout) in LOS_TraceEventRead() 78 STATIC VOID LOS_TraceEventWrite(PEVENT_CB_S eventCB, UINT32 events) in LOS_TraceEventWrite() 83 STATIC VOID LOS_TraceEventClear(PEVENT_CB_S eventCB, UINT32 events) in LOS_TraceEventClear() 88 STATIC VOID LOS_TraceEventDestroy(PEVENT_CB_S eventCB) in LOS_TraceEventDestroy() [all …]
|
/kernel/liteos_a/kernel/common/ |
D | los_magickey.c | 40 STATIC VOID OsMagicHelp(VOID); 41 STATIC VOID OsMagicTaskShow(VOID); 42 STATIC VOID OsMagicPanic(VOID); 43 STATIC VOID OsMagicMemCheck(VOID); 45 STATIC MagicKeyOp g_magicMemCheckOp = { 51 STATIC MagicKeyOp g_magicPanicOp = { 57 STATIC MagicKeyOp g_magicTaskShowOp = { 63 STATIC MagicKeyOp g_magicHelpOp = { 79 STATIC MagicKeyOp *g_magicOpTable[MAGIC_KEY_NUM] = { 87 STATIC VOID OsMagicHelp(VOID) in OsMagicHelp() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/non_secure/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/arm9/gcc/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 49 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 58 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 71 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 84 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 89 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 94 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 99 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 104 STATIC INLINE INT32 ArchAtomicXchg32bits(Atomic *v, INT32 val) in ArchAtomicXchg32bits() 117 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(Atomic *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m4/iar/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m7/iar/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/non_secure/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/xtensa/lx6/gcc/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 87 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 104 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 109 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 114 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 119 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 142 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 178 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m55/iar/NTZ/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m33/iar/NTZ/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m7/gcc/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/risc-v/riscv32/gcc/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 61 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 75 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 93 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 111 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 116 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 121 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 126 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 149 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 185 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m33/gcc/NTZ/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/non_secure/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m55/gcc/NTZ/ |
D | los_arch_atomic.h | 43 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 55 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 68 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 85 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 102 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 107 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 112 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 117 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 140 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 175 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m4/gcc/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/risc-v/nuclei/gcc/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 61 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 75 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 93 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 111 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 116 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 121 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 126 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 149 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 185 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
D | los_timer.c | 45 STATIC HWI_PROC_FUNC g_sysTickHandler = (HWI_PROC_FUNC)NULL; 49 STATIC UINT32 SysTickStart(HWI_PROC_FUNC handler); 50 STATIC UINT64 SysTickReload(UINT64 nextResponseTime); 51 STATIC UINT64 SysTickCycleGet(UINT32 *period); 52 STATIC VOID SysTickLock(VOID); 53 STATIC VOID SysTickUnlock(VOID); 55 STATIC ArchTickTimer g_archTickTimer = { 67 STATIC UINT32 SysTickStart(HWI_PROC_FUNC handler) in SysTickStart() 99 STATIC UINT64 SysTickReload(UINT64 nextResponseTime) in SysTickReload() 105 STATIC UINT64 SysTickCycleGet(UINT32 *period) in SysTickCycleGet() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/non_secure/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/csky/v2/gcc/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 59 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 71 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 89 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 107 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 112 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 117 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 122 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 145 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 180 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|