summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.asm
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2016-11-17 10:57:53 -0800
committerMichael Kinney <michael.d.kinney@intel.com>2016-11-17 17:08:11 -0800
commit7375f3f11a70e3c7295ef7005f6723ced176ad0a (patch)
tree51260a489c5ba854ce6d3708b4a464b2c0f0b269 /MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.asm
parent8b66342c6bacc3270ca7a550ef703284eb4b95ce (diff)
downloadedk2-platforms-7375f3f11a70e3c7295ef7005f6723ced176ad0a.tar.xz
MdePkg/Include: Add volatile to SynchronizationLib parameters
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 class. Update the library class to consistently use volatile on all functions in this 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>
Diffstat (limited to 'MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.asm')
0 files changed, 0 insertions, 0 deletions