TianoCore EDK2
master
Loading...
Searching...
No Matches
InterlockedCompareExchange32.c
Go to the documentation of this file.
1
26
UINT32
27
EFIAPI
28
InternalSyncCompareExchange32
(
29
IN
volatile
UINT32 *Value,
30
IN
UINT32 CompareValue,
31
IN
UINT32 ExchangeValue
32
)
33
{
34
_asm {
35
mov ecx, Value
36
mov eax, CompareValue
37
mov edx, ExchangeValue
38
lock cmpxchg [ecx], edx
39
}
40
}
InternalSyncCompareExchange32
UINT32 EFIAPI InternalSyncCompareExchange32(IN volatile UINT32 *Value, IN UINT32 CompareValue, IN UINT32 ExchangeValue)
Definition:
InterlockedCompareExchange32.c:28
IN
#define IN
Definition:
Base.h:279
MdePkg
Library
BaseSynchronizationLib
Ia32
InterlockedCompareExchange32.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6