TianoCore EDK2 master
Loading...
Searching...
No Matches
InterlockedDecrementMsc.c File Reference

Go to the source code of this file.

Functions

long _InterlockedDecrement (long *lpAddend)
 
UINT32 EFIAPI InternalSyncDecrement (IN volatile UINT32 *Value)
 

Detailed Description

InterlockedDecrement function

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file InterlockedDecrementMsc.c.

Function Documentation

◆ _InterlockedDecrement()

long _InterlockedDecrement ( long *  lpAddend)

Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.

◆ InternalSyncDecrement()

UINT32 EFIAPI InternalSyncDecrement ( IN volatile UINT32 *  Value)

Performs an atomic decrement of an 32-bit unsigned integer.

Performs an atomic decrement of the 32-bit unsigned integer specified by Value and returns the decrement value. The decrement operation must be performed using MP safe mechanisms. The state of the return value is not guaranteed to be MP safe.

Parameters
ValueA pointer to the 32-bit value to decrement.
Returns
The decrement value.

Definition at line 35 of file InterlockedDecrementMsc.c.