mirror of https://github.com/acidanthera/audk.git
4cee954ea8
The SpinLock functions in the SynchronicationLib use volatile parameters to keep compiler from optimizing these functions too much. The volatile keyword is missing from the Interlocked*() functions in this same library instance. Update the library instance to consistently use volatile on all functions in the SynchronizationLib class. Cc: Liming Gao <liming.gao@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Andrew Fish <afish@apple.com> Cc: Jeff Fan <jeff.fan@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com> |
||
---|---|---|
.. | ||
GccInline.c | ||
InterlockedCompareExchange16.asm | ||
InterlockedCompareExchange16.c | ||
InterlockedCompareExchange16.nasm | ||
InterlockedCompareExchange32.asm | ||
InterlockedCompareExchange32.c | ||
InterlockedCompareExchange32.nasm | ||
InterlockedCompareExchange64.asm | ||
InterlockedCompareExchange64.c | ||
InterlockedCompareExchange64.nasm | ||
InterlockedDecrement.asm | ||
InterlockedDecrement.c | ||
InterlockedDecrement.nasm | ||
InterlockedIncrement.asm | ||
InterlockedIncrement.c | ||
InterlockedIncrement.nasm | ||
InternalGetSpinLockProperties.c |