Home
last modified time | relevance | path

Searched refs:intSave (Results 1 – 25 of 219) sorted by relevance

123456789

/kernel/liteos_m/arch/risc-v/nuclei/gcc/
Dlos_arch_atomic.h47 UINT32 intSave; in ArchAtomicRead() local
49 intSave = LOS_IntLock(); in ArchAtomicRead()
56 LOS_IntRestore(intSave); in ArchAtomicRead()
64 UINT32 intSave; in ArchAtomicSet() local
66 intSave = LOS_IntLock(); in ArchAtomicSet()
72 LOS_IntRestore(intSave); in ArchAtomicSet()
78 UINT32 intSave; in ArchAtomicAdd() local
80 intSave = LOS_IntLock(); in ArchAtomicAdd()
88 LOS_IntRestore(intSave); in ArchAtomicAdd()
96 UINT32 intSave; in ArchAtomicSub() local
[all …]
/kernel/liteos_m/arch/csky/v2/gcc/
Dlos_arch_atomic.h47 UINT32 intSave; in ArchAtomicRead() local
49 intSave = LOS_IntLock(); in ArchAtomicRead()
54 LOS_IntRestore(intSave); in ArchAtomicRead()
61 UINT32 intSave; in ArchAtomicSet() local
63 intSave = LOS_IntLock(); in ArchAtomicSet()
68 LOS_IntRestore(intSave); in ArchAtomicSet()
74 UINT32 intSave; in ArchAtomicAdd() local
76 intSave = LOS_IntLock(); in ArchAtomicAdd()
84 LOS_IntRestore(intSave); in ArchAtomicAdd()
92 UINT32 intSave; in ArchAtomicSub() local
[all …]
Dlos_interrupt.c61 UINT32 intSave; in HalGetPsr() local
62 __asm__ volatile("mfcr %0, psr" : "=r" (intSave) : : "memory"); in HalGetPsr()
63 return intSave; in HalGetPsr()
66 UINT32 HalSetVbr(UINT32 intSave) in HalSetVbr() argument
68 __asm__ volatile("mtcr %0, vbr" : : "r"(intSave) : "memory"); in HalSetVbr()
69 return intSave; in HalSetVbr()
74 UINT32 intSave; in ArchIntLock() local
78 : "=r"(intSave) in ArchIntLock()
81 return intSave; in ArchIntLock()
86 UINT32 intSave; in ArchIntUnLock() local
[all …]
/kernel/liteos_m/arch/risc-v/riscv32/gcc/
Dlos_arch_atomic.h47 UINT32 intSave; in ArchAtomicRead() local
49 intSave = LOS_IntLock(); in ArchAtomicRead()
56 LOS_IntRestore(intSave); in ArchAtomicRead()
64 UINT32 intSave; in ArchAtomicSet() local
66 intSave = LOS_IntLock(); in ArchAtomicSet()
72 LOS_IntRestore(intSave); in ArchAtomicSet()
78 UINT32 intSave; in ArchAtomicAdd() local
80 intSave = LOS_IntLock(); in ArchAtomicAdd()
88 LOS_IntRestore(intSave); in ArchAtomicAdd()
96 UINT32 intSave; in ArchAtomicSub() local
[all …]
/kernel/liteos_m/arch/arm/arm9/gcc/
Dlos_arch_atomic.h51 UINT32 intSave; in ArchAtomicSet() local
53 intSave = LOS_IntLock(); in ArchAtomicSet()
55 LOS_IntRestore(intSave); in ArchAtomicSet()
61 UINT32 intSave; in ArchAtomicAdd() local
63 intSave = LOS_IntLock(); in ArchAtomicAdd()
66 LOS_IntRestore(intSave); in ArchAtomicAdd()
74 UINT32 intSave; in ArchAtomicSub() local
76 intSave = LOS_IntLock(); in ArchAtomicSub()
79 LOS_IntRestore(intSave); in ArchAtomicSub()
107 UINT32 intSave; in ArchAtomicXchg32bits() local
[all …]
/kernel/liteos_m/components/lmk/
Dlos_lmk.c58 UINT32 intSave; in LOS_LmkOpsNodeRegister() local
65 intSave = LOS_IntLock(); in LOS_LmkOpsNodeRegister()
67 LOS_IntRestore(intSave); in LOS_LmkOpsNodeRegister()
72 LOS_IntRestore(intSave); in LOS_LmkOpsNodeRegister()
80 LOS_IntRestore(intSave); in LOS_LmkOpsNodeRegister()
88 LOS_IntRestore(intSave); in LOS_LmkOpsNodeRegister()
100 LOS_IntRestore(intSave); in LOS_LmkOpsNodeRegister()
106 UINT32 intSave; in LOS_LmkOpsNodeUnregister() local
112 intSave = LOS_IntLock(); in LOS_LmkOpsNodeUnregister()
114 LOS_IntRestore(intSave); in LOS_LmkOpsNodeUnregister()
[all …]
/kernel/uniproton/src/core/kernel/timer/swtmr/
Dprt_swtmr_minor.c50 uintptr_t intSave; in OsSwTmrGetRemainTick() local
52 intSave = OsIntLock(); in OsSwTmrGetRemainTick()
55 OsIntRestore(intSave); in OsSwTmrGetRemainTick()
58 OsIntRestore(intSave); in OsSwTmrGetRemainTick()
66 OsIntRestore(intSave); in OsSwTmrGetRemainTick()
77 uintptr_t intSave; in OsSwTmrStop() local
79 intSave = OsIntLock(); in OsSwTmrStop()
99 OsIntRestore(intSave); in OsSwTmrStop()
121 uintptr_t intSave; in OsSwTmrStartTimer() local
129 intSave = OsSwtmrIqrSplLock(swtmr); in OsSwTmrStartTimer()
[all …]
/kernel/liteos_m/components/signal/
Dlos_signal.c114 UINT32 intSave; in SignalHandle() local
117 intSave = LOS_IntLock(); in SignalHandle()
120 LOS_IntRestore(intSave); in SignalHandle()
131 LOS_IntRestore(intSave); in SignalHandle()
136 intSave = LOS_IntLock(); in SignalHandle()
142 LOS_IntRestore(intSave); in SignalHandle()
163 UINT32 intSave; in SignalSend() local
167 intSave = LOS_IntLock(); in SignalSend()
170 LOS_IntRestore(intSave); in SignalSend()
180 LOS_IntRestore(intSave); in SignalSend()
[all …]
/kernel/uniproton/src/core/kernel/task/
Dprt_amp_task_minor.c22 uintptr_t intSave; in PRT_TaskSuspend() local
35 intSave = OsIntLock(); in PRT_TaskSuspend()
38 OsIntRestore(intSave); in PRT_TaskSuspend()
45 OsIntRestore(intSave); in PRT_TaskSuspend()
51 OsIntRestore(intSave); in PRT_TaskSuspend()
65 OsTskScheduleFastPs(intSave); in PRT_TaskSuspend()
68 OsIntRestore(intSave); in PRT_TaskSuspend()
77 uintptr_t intSave; in PRT_TaskResume() local
86 intSave = OsIntLock(); in PRT_TaskResume()
89 OsIntRestore(intSave); in PRT_TaskResume()
[all …]
Dprt_task_minor.c96 uintptr_t intSave; in PRT_TaskDelay() local
99 intSave = OsIntLock(); in PRT_TaskDelay()
101 OsIntRestore(intSave); in PRT_TaskDelay()
108 OsIntRestore(intSave); in PRT_TaskDelay()
113 OsIntRestore(intSave); in PRT_TaskDelay()
121 OsTskScheduleFastPs(intSave); in PRT_TaskDelay()
122 OsIntRestore(intSave); in PRT_TaskDelay()
132 OsIntRestore(intSave); in PRT_TaskDelay()
142 uintptr_t intSave; in PRT_TaskLock() local
144 intSave = OsIntLock(); in PRT_TaskLock()
[all …]
/kernel/liteos_m/kernel/src/
Dlos_event.c53 UINT32 intSave; in LOS_EventPoll() local
58 intSave = LOS_IntLock(); in LOS_EventPoll()
71 LOS_IntRestore(intSave); in LOS_EventPoll()
100 UINT32 intSave; in LOS_EventRead() local
114 intSave = LOS_IntLock(); in LOS_EventRead()
119 LOS_IntRestore(intSave); in LOS_EventRead()
124 LOS_IntRestore(intSave); in LOS_EventRead()
131 LOS_IntRestore(intSave); in LOS_EventRead()
134 intSave = LOS_IntLock(); in LOS_EventRead()
137 LOS_IntRestore(intSave); in LOS_EventRead()
[all …]
Dlos_mux.c90 UINT32 intSave; in LOS_MuxCreate() local
100 intSave = LOS_IntLock(); in LOS_MuxCreate()
102 LOS_IntRestore(intSave); in LOS_MuxCreate()
115 LOS_IntRestore(intSave); in LOS_MuxCreate()
131 UINT32 intSave; in LOS_MuxDelete() local
141 intSave = LOS_IntLock(); in LOS_MuxDelete()
143 LOS_IntRestore(intSave); in LOS_MuxDelete()
148 LOS_IntRestore(intSave); in LOS_MuxDelete()
157 LOS_IntRestore(intSave); in LOS_MuxDelete()
197 UINT32 intSave; in LOS_MuxPend() local
[all …]
Dlos_task.c163 UINT32 intSave; in OsRecycleFinishedTask() local
166 intSave = LOS_IntLock(); in OsRecycleFinishedTask()
172 LOS_IntRestore(intSave); in OsRecycleFinishedTask()
175 intSave = LOS_IntLock(); in OsRecycleFinishedTask()
177 LOS_IntRestore(intSave); in OsRecycleFinishedTask()
505 UINT32 intSave = LOS_IntLock(); in LOS_NextTaskIDGet() local
507 LOS_IntRestore(intSave); in LOS_NextTaskIDGet()
610 UINT32 intSave = LOS_IntLock(); in OsTaskSwitchCheck() local
647 LOS_IntRestore(intSave); in OsTaskSwitchCheck()
782 UINT32 intSave; in LOS_TaskCreateOnly() local
[all …]
Dlos_sem.c89 UINT32 intSave; in OsSemCreate() local
103 intSave = LOS_IntLock(); in OsSemCreate()
106 LOS_IntRestore(intSave); in OsSemCreate()
118 LOS_IntRestore(intSave); in OsSemCreate()
159 UINT32 intSave; in LOS_SemDelete() local
169 intSave = LOS_IntLock(); in LOS_SemDelete()
171 LOS_IntRestore(intSave); in LOS_SemDelete()
176 LOS_IntRestore(intSave); in LOS_SemDelete()
182 LOS_IntRestore(intSave); in LOS_SemDelete()
221 UINT32 intSave; in LOS_SemPend() local
[all …]
/kernel/liteos_a/syscall/
Dprocess_syscall.c94 unsigned int intSave; in OsUserTaskSchedulerSet() local
104 SCHEDULER_LOCK(intSave); in OsUserTaskSchedulerSet()
107 SCHEDULER_UNLOCK(intSave); in OsUserTaskSchedulerSet()
119 SCHEDULER_UNLOCK(intSave); in OsUserTaskSchedulerSet()
129 SCHEDULER_UNLOCK(intSave); in OsUserTaskSchedulerSet()
149 unsigned int intSave; in SysSchedGetScheduler() local
160 SCHEDULER_LOCK(intSave); in SysSchedGetScheduler()
163 SCHEDULER_UNLOCK(intSave); in SysSchedGetScheduler()
168 SCHEDULER_UNLOCK(intSave); in SysSchedGetScheduler()
225 unsigned int intSave; in SysSchedGetParam() local
[all …]
/kernel/liteos_m/kal/posix/src/
Dpthread.c174 UINT32 intSave; in CheckForCancel() local
184 intSave = LOS_IntLock(); in CheckForCancel()
187 LOS_IntRestore(intSave); in CheckForCancel()
190 LOS_IntRestore(intSave); in CheckForCancel()
200 UINT32 intSave; in pthread_create() local
218 intSave = LOS_IntLock(); in pthread_create()
224 LOS_IntRestore(intSave); in pthread_create()
273 UINT32 intSave; in pthread_once() local
285 intSave = LOS_IntLock(); in pthread_once()
288 LOS_IntRestore(intSave); in pthread_once()
[all …]
/kernel/liteos_m/components/power/
Dlos_pm.c231 UINT32 intSave; in OsPmSuspendCheck() local
233 intSave = LOS_IntLock(); in OsPmSuspendCheck()
237 LOS_IntRestore(intSave); in OsPmSuspendCheck()
247 LOS_IntRestore(intSave); in OsPmSuspendCheck()
253 UINT32 ret, intSave; in OsPmSuspendSleep() local
266 intSave = LOS_IntLock(); in OsPmSuspendSleep()
271 intSave = LOS_IntLock(); in OsPmSuspendSleep()
297 LOS_IntRestore(intSave); in OsPmSuspendSleep()
308 UINT32 intSave; in OsPmNormalSleep()
311 intSave = LOS_IntLock(); in OsPmNormalSleep()
[all …]
/kernel/uniproton/src/arch/cpu/armv7-m/common/hwi/
Dprt_hwi.c83 uintptr_t intSave; in OsInterrupt() local
86 intSave = PRT_HwiLock(); in OsInterrupt()
94 PRT_HwiRestore(intSave); in OsInterrupt()
113 PRT_HwiRestore(intSave); in OsInterrupt()
139 uintptr_t intSave; in PRT_HwiEnable() local
145 intSave = PRT_HwiLock(); in PRT_HwiEnable()
148 PRT_HwiRestore(intSave); in PRT_HwiEnable()
158 uintptr_t intSave; in PRT_HwiClearAllPending() local
161 intSave = PRT_HwiLock(); in PRT_HwiClearAllPending()
166 PRT_HwiRestore(intSave); in PRT_HwiClearAllPending()
[all …]
/kernel/liteos_m/arch/arm/cortex-m3/keil/
Dlos_arch_atomic.h66 UINT32 intSave; in ArchAtomic64Set() local
68 intSave = LOS_IntLock(); in ArchAtomic64Set()
70 LOS_IntRestore(intSave); in ArchAtomic64Set()
76 UINT32 intSave; in ArchAtomic64Add() local
78 intSave = LOS_IntLock(); in ArchAtomic64Add()
81 LOS_IntRestore(intSave); in ArchAtomic64Add()
89 UINT32 intSave; in ArchAtomic64Sub() local
91 intSave = LOS_IntLock(); in ArchAtomic64Sub()
94 LOS_IntRestore(intSave); in ArchAtomic64Sub()
122 UINT32 intSave; in ArchAtomicXchg64bits() local
[all …]
/kernel/liteos_a/kernel/base/mp/
Dlos_spinlock.c52 UINT32 intSave = LOS_IntLock(); in LOS_SpinLock() local
54 LOS_IntRestore(intSave); in LOS_SpinLock()
63 UINT32 intSave = LOS_IntLock(); in LOS_SpinTrylock() local
65 LOS_IntRestore(intSave); in LOS_SpinTrylock()
74 intSave = LOS_IntLock(); in LOS_SpinTrylock()
76 LOS_IntRestore(intSave); in LOS_SpinTrylock()
86 UINT32 intSave; in LOS_SpinUnlock() local
90 intSave = LOS_IntLock(); in LOS_SpinUnlock()
92 LOS_IntRestore(intSave); in LOS_SpinUnlock()
98 VOID LOS_SpinLockSave(SPIN_LOCK_S *lock, UINT32 *intSave) in LOS_SpinLockSave() argument
[all …]
/kernel/liteos_a/kernel/base/core/
Dlos_task.c352 UINT32 intSave; in OsTaskResourcesToFree() local
357 SCHEDULER_LOCK(intSave); in OsTaskResourcesToFree()
362 SCHEDULER_UNLOCK(intSave); in OsTaskResourcesToFree()
387 SCHEDULER_LOCK(intSave); in OsTaskResourcesToFree()
392 SCHEDULER_UNLOCK(intSave); in OsTaskResourcesToFree()
399 UINT32 intSave; in OsTaskCBRecycleToFree() local
401 SCHEDULER_LOCK(intSave); in OsTaskCBRecycleToFree()
405 SCHEDULER_UNLOCK(intSave); in OsTaskCBRecycleToFree()
409 SCHEDULER_LOCK(intSave); in OsTaskCBRecycleToFree()
411 SCHEDULER_UNLOCK(intSave); in OsTaskCBRecycleToFree()
[all …]
/kernel/liteos_m/arch/arm/cortex-m55/iar/NTZ/
Dlos_arch_atomic.h199 UINT32 intSave; in ArchAtomic64Read() local
201 intSave = LOS_IntLock(); in ArchAtomic64Read()
203 LOS_IntRestore(intSave); in ArchAtomic64Read()
210 UINT32 intSave; in ArchAtomic64Set() local
212 intSave = LOS_IntLock(); in ArchAtomic64Set()
214 LOS_IntRestore(intSave); in ArchAtomic64Set()
220 UINT32 intSave; in ArchAtomic64Add() local
222 intSave = LOS_IntLock(); in ArchAtomic64Add()
225 LOS_IntRestore(intSave); in ArchAtomic64Add()
233 UINT32 intSave; in ArchAtomic64Sub() local
[all …]
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/non_secure/
Dlos_arch_atomic.h199 UINT32 intSave; in ArchAtomic64Read() local
201 intSave = LOS_IntLock(); in ArchAtomic64Read()
203 LOS_IntRestore(intSave); in ArchAtomic64Read()
210 UINT32 intSave; in ArchAtomic64Set() local
212 intSave = LOS_IntLock(); in ArchAtomic64Set()
214 LOS_IntRestore(intSave); in ArchAtomic64Set()
220 UINT32 intSave; in ArchAtomic64Add() local
222 intSave = LOS_IntLock(); in ArchAtomic64Add()
225 LOS_IntRestore(intSave); in ArchAtomic64Add()
233 UINT32 intSave; in ArchAtomic64Sub() local
[all …]
/kernel/liteos_m/arch/arm/cortex-m7/iar/
Dlos_arch_atomic.h199 UINT32 intSave; in ArchAtomic64Read() local
201 intSave = LOS_IntLock(); in ArchAtomic64Read()
203 LOS_IntRestore(intSave); in ArchAtomic64Read()
210 UINT32 intSave; in ArchAtomic64Set() local
212 intSave = LOS_IntLock(); in ArchAtomic64Set()
214 LOS_IntRestore(intSave); in ArchAtomic64Set()
220 UINT32 intSave; in ArchAtomic64Add() local
222 intSave = LOS_IntLock(); in ArchAtomic64Add()
225 LOS_IntRestore(intSave); in ArchAtomic64Add()
233 UINT32 intSave; in ArchAtomic64Sub() local
[all …]
/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/non_secure/
Dlos_arch_atomic.h199 UINT32 intSave; in ArchAtomic64Read() local
201 intSave = LOS_IntLock(); in ArchAtomic64Read()
203 LOS_IntRestore(intSave); in ArchAtomic64Read()
210 UINT32 intSave; in ArchAtomic64Set() local
212 intSave = LOS_IntLock(); in ArchAtomic64Set()
214 LOS_IntRestore(intSave); in ArchAtomic64Set()
220 UINT32 intSave; in ArchAtomic64Add() local
222 intSave = LOS_IntLock(); in ArchAtomic64Add()
225 LOS_IntRestore(intSave); in ArchAtomic64Add()
233 UINT32 intSave; in ArchAtomic64Sub() local
[all …]

123456789