audk/MdePkg/Library/BaseSynchronizationLib
Michael Kinney 4cee954ea8 MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs
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>
2016-11-17 17:08:19 -08:00
..
AArch64 MdePkg/BaseSynchronizationLib: fix AArch64 return values 2015-10-27 11:56:57 +00:00
Arm MdePkg: BaseSynchronizationLib: fix Increment/Decrement retvals for ARM 2015-03-20 12:17:02 +00:00
Ebc
Ia32 MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
Ipf MdePkg/BaseSynchronizationLib: Add spin lock alignment for IA32/x64 2016-04-05 14:07:15 +08:00
X64 MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
BaseSynchronizationLib.inf MdePkg BaseSynchronizationLib: Convert X64/InterlockedIncrement.asm to NASM 2016-06-28 09:51:51 +08:00
BaseSynchronizationLib.uni MdePkg: Convert all .uni files to utf-8 2015-12-15 04:53:50 +00:00
BaseSynchronizationLibInternals.h MdePkg/BaseSynchronizationLib: Add spin lock alignment for IA32/x64 2016-04-05 14:07:15 +08:00
Synchronization.c MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
SynchronizationGcc.c MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00
SynchronizationMsc.c MdePkg/BaseSynchronizationLib: Add volatile Interlocked*() APIs 2016-11-17 17:08:19 -08:00