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 ;------------------------------------------------------------------------------
20 ;------------------------------------------------------------------------------
23 ; InternalSyncIncrement (
24 ; IN volatile UINT32 *Value
26 ;------------------------------------------------------------------------------
27 global ASM_PFX(InternalSyncIncrement)
28 ASM_PFX(InternalSyncIncrement):
31 lock xadd dword [ecx], eax