TianoCore EDK2 master
Loading...
Searching...
No Matches
InterlockedCompareExchange32.c
Go to the documentation of this file.
1
13long
15 long volatile *Destination,
16 long Exchange,
17 long Comperand
18 );
19
20#pragma intrinsic(_InterlockedCompareExchange)
21
39UINT32
40EFIAPI
42 IN volatile UINT32 *Value,
43 IN UINT32 CompareValue,
44 IN UINT32 ExchangeValue
45 )
46{
47 return _InterlockedCompareExchange (Value, ExchangeValue, CompareValue);
48}
UINT32 EFIAPI InternalSyncCompareExchange32(IN volatile UINT32 *Value, IN UINT32 CompareValue, IN UINT32 ExchangeValue)
#define IN
Definition: Base.h:279
long _InterlockedCompareExchange(long volatile *Destination, long Exchange, long Comperand)