VirtualBox

source: vbox/trunk/src/VBox/Runtime/win64/ASMAtomicBitClear.asm@ 5028

Last change on this file since 5028 was 4071, checked in by vboxsync, 18 years ago

Biggest check-in ever. New source code headers for all (C) innotek files.

File size: 1.2 KB
Line 
1;; @file
2; innotek Portable Runtime - ASMAtomicBitClear().
3;
4
5;
6; Copyright (C) 2006-2007 innotek GmbH
7;
8; This file is part of VirtualBox Open Source Edition (OSE), as
9; available from http://www.virtualbox.org. This file is free software;
10; you can redistribute it and/or modify it under the terms of the GNU
11; General Public License as published by the Free Software Foundation,
12; in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
13; distribution. VirtualBox OSE is distributed in the hope that it will
14; be useful, but WITHOUT ANY WARRANTY of any kind.
15
16;*******************************************************************************
17;* Header Files *
18;*******************************************************************************
19%include "iprt/asmdefs.mac"
20
21BEGINCODE
22
23;;
24; Atomically clears a bit in a bitmap.
25;
26; @param rcx pvBitmap Pointer to the bitmap.
27; @param edx iBit The bit to toggle set.
28; @remark No memory barrier, take care on smp.
29;
30BEGINPROC_EXPORTED ASMAtomicBitClear
31 lock btr [rcx], edx
32 ret
33ENDPROC ASMAtomicBitClear
34
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette