Home
last modified time | relevance | path

Searched refs:SpinLock (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
DSynchronization.c73 OUT SPIN_LOCK *SpinLock in InitializeSpinLock() argument
76 ASSERT (SpinLock != NULL); in InitializeSpinLock()
77 *SpinLock = SPIN_LOCK_RELEASED; in InitializeSpinLock()
78 return SpinLock; in InitializeSpinLock()
104 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLock() argument
130 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
134 return SpinLock; in AcquireSpinLock()
157 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLockOrFail() argument
162 ASSERT (SpinLock != NULL); in AcquireSpinLockOrFail()
164 LockValue = *SpinLock; in AcquireSpinLockOrFail()
[all …]
DSynchronizationGcc.c71 OUT SPIN_LOCK *SpinLock in InitializeSpinLock() argument
74 ASSERT (SpinLock != NULL); in InitializeSpinLock()
77 *SpinLock = SPIN_LOCK_RELEASED; in InitializeSpinLock()
80 return SpinLock; in InitializeSpinLock()
106 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLock() argument
148 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
163 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
167 return SpinLock; in AcquireSpinLock()
190 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLockOrFail() argument
196 ASSERT (SpinLock != NULL); in AcquireSpinLockOrFail()
[all …]
DSynchronizationMsc.c74 OUT SPIN_LOCK *SpinLock in InitializeSpinLock() argument
77 ASSERT (SpinLock != NULL); in InitializeSpinLock()
80 *SpinLock = SPIN_LOCK_RELEASED; in InitializeSpinLock()
83 return SpinLock; in InitializeSpinLock()
109 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLock() argument
135 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
139 return SpinLock; in AcquireSpinLock()
162 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLockOrFail() argument
168 ASSERT (SpinLock != NULL); in AcquireSpinLockOrFail()
170 LockValue = *SpinLock; in AcquireSpinLockOrFail()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/
DSynchronization.c64 OUT SPIN_LOCK *SpinLock in InitializeSpinLock() argument
67 ASSERT (SpinLock != NULL); in InitializeSpinLock()
68 *SpinLock = SPIN_LOCK_RELEASED; in InitializeSpinLock()
69 return SpinLock; in InitializeSpinLock()
95 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLock() argument
108 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
111 } else if (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
141 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
156 return SpinLock; in AcquireSpinLock()
179 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLockOrFail() argument
[all …]
DSynchronizationGcc.c70 OUT SPIN_LOCK *SpinLock in InitializeSpinLock() argument
73 ASSERT (SpinLock != NULL); in InitializeSpinLock()
76 *SpinLock = SPIN_LOCK_RELEASED; in InitializeSpinLock()
79 return SpinLock; in InitializeSpinLock()
105 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLock() argument
118 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
121 } else if (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
151 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
166 return SpinLock; in AcquireSpinLock()
189 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLockOrFail() argument
[all …]
DSynchronizationMsc.c72 OUT SPIN_LOCK *SpinLock in InitializeSpinLock() argument
75 ASSERT (SpinLock != NULL); in InitializeSpinLock()
78 *SpinLock = SPIN_LOCK_RELEASED; in InitializeSpinLock()
81 return SpinLock; in InitializeSpinLock()
107 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLock() argument
120 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
123 } else if (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
153 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
168 return SpinLock; in AcquireSpinLock()
191 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLockOrFail() argument
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DSynchronizationLib.h66 OUT SPIN_LOCK *SpinLock
93 IN OUT SPIN_LOCK *SpinLock
117 IN OUT SPIN_LOCK *SpinLock
138 IN OUT SPIN_LOCK *SpinLock
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/
DPeiDxeSmmCpuException.c53 if (AcquireSpinLockOrFail (&ReservedVectors[ExceptionType].SpinLock)) { in CommonExceptionHandlerWorker()
75 ReleaseSpinLock (&ReservedVectors[ExceptionType].SpinLock); in CommonExceptionHandlerWorker()
157 InitializeSpinLock (&ReservedVectors[Index].SpinLock); in UpdateIdtTable()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/
DArchInterruptDefs.h33 SPIN_LOCK SpinLock; member
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/
DArchInterruptDefs.h33 SPIN_LOCK SpinLock; member
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuS3.c105 return mMsrSpinLocks[Index].SpinLock; in GetMsrSpinLockByIndex()
132 mMsrSpinLocks[Index].SpinLock = in InitMsrSpinLockByIndex()
144 InitializeSpinLock (mMsrSpinLocks[mMsrCount].SpinLock); in InitMsrSpinLockByIndex()
163 mMsrSpinLocks[Index].SpinLock = in InitMsrSpinLockByIndex()
DPiSmmCpuDxeSmm.h356 SPIN_LOCK *SpinLock; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGlueBaseLib.h2998 IN SPIN_LOCK *SpinLock
3025 IN SPIN_LOCK *SpinLock
3049 IN SPIN_LOCK *SpinLock
3070 IN SPIN_LOCK *SpinLock