TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
INT32 EFIAPI | TestAndClearBit (IN INT32 Bit, IN VOID *Address) |
Implementation of TestAndClearBit using compare-exchange primitive
Copyright (C) 2015, Linaro Ltd. Copyright (c) 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TestAndClearBit.c.
Atomically test and clear a bit.
Bit | Bit index to test in *Address |
Address | The Address to the buffer that contain the bit to test. |
Definition at line 16 of file TestAndClearBit.c.