1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
4 ; SPDX-License-Identifier: BSD-2-Clause-Patent
8 ; InterlockedIncrement.Asm
12 ; InterlockedIncrement function
16 ;------------------------------------------------------------------------------
21 ;------------------------------------------------------------------------------
24 ; InternalSyncIncrement (
25 ; IN volatile UINT32 *Value
27 ;------------------------------------------------------------------------------
28 global ASM_PFX(InternalSyncIncrement)
29 ASM_PFX(InternalSyncIncrement):
31 lock xadd dword [rcx], eax