1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
4 ; SPDX-License-Identifier: BSD-2-Clause-Patent
8 ; InterlockedCompareExchange64.Asm
12 ; InterlockedCompareExchange64 function
16 ;------------------------------------------------------------------------------
20 ;------------------------------------------------------------------------------
23 ; InternalSyncCompareExchange64 (
24 ; IN volatile UINT64 *Value,
25 ; IN UINT64 CompareValue,
26 ; IN UINT64 ExchangeValue
28 ;------------------------------------------------------------------------------
29 global ASM_PFX(InternalSyncCompareExchange64)
30 ASM_PFX(InternalSyncCompareExchange64):