31 IN volatile UINT16 *Value,
32 IN UINT16 CompareValue,
33 IN UINT16 ExchangeValue
36 return *Value != CompareValue ? *Value :
37 ((*Value = ExchangeValue), CompareValue);
62 IN volatile UINT32 *Value,
63 IN UINT32 CompareValue,
64 IN UINT32 ExchangeValue
67 return *Value != CompareValue ? *Value :
68 ((*Value = ExchangeValue), CompareValue);
90 IN volatile UINT64 *Value,
91 IN UINT64 CompareValue,
92 IN UINT64 ExchangeValue
95 return *Value != CompareValue ? *Value :
96 ((*Value = ExchangeValue), CompareValue);
115 IN volatile UINT32 *Value
137 IN volatile UINT32 *Value
UINT32 EFIAPI InternalSyncDecrement(IN volatile UINT32 *Value)
UINT32 EFIAPI InternalSyncIncrement(IN volatile UINT32 *Value)
UINT64 EFIAPI InternalSyncCompareExchange64(IN volatile UINT64 *Value, IN UINT64 CompareValue, IN UINT64 ExchangeValue)
UINT32 EFIAPI InternalSyncCompareExchange32(IN volatile UINT32 *Value, IN UINT32 CompareValue, IN UINT32 ExchangeValue)
UINT16 EFIAPI InternalSyncCompareExchange16(IN volatile UINT16 *Value, IN UINT16 CompareValue, IN UINT16 ExchangeValue)