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
137 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
152 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
156 return SpinLock; in AcquireSpinLock()
179 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLockOrFail() argument
184 ASSERT (SpinLock != NULL); in AcquireSpinLockOrFail()
[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
149 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
164 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
168 return SpinLock; in AcquireSpinLock()
191 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLockOrFail() argument
197 ASSERT (SpinLock != NULL); in AcquireSpinLockOrFail()
[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
147 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
162 while (!AcquireSpinLockOrFail (SpinLock)) { in AcquireSpinLock()
166 return SpinLock; in AcquireSpinLock()
189 IN OUT SPIN_LOCK *SpinLock in AcquireSpinLockOrFail() argument
195 ASSERT (SpinLock != NULL); in AcquireSpinLockOrFail()
[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/
DDxeSmmCpuException.c63 if (AcquireSpinLockOrFail (&mReservedVectors[ExceptionType].SpinLock)) { in CommonExceptionHandler()
85 ReleaseSpinLock (&mReservedVectors[ExceptionType].SpinLock); in CommonExceptionHandler()
163 InitializeSpinLock (&mReservedVectors[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.c80 return &mMsrSpinLocks[Index].SpinLock; in GetMsrSpinLockByIndex()
108 InitializeSpinLock (&mMsrSpinLocks[mMsrCount].SpinLock); in InitMsrSpinLockByIndex()
DPiSmmCpuDxeSmm.h326 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